Problem trying to encode

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
chappkg12
Posts: 2
Joined: Wed Nov 24, 2010 5:46 pm

Problem trying to encode

Post by chappkg12 »

I am a very uneducated user of this product and am trying to just fumble along without any real in-depth knowledge. I am trying to encode a movie file. When I start it it runs like it should but then gets a memory exception error always about 16MB into it. "The instruction at "0x0043932e" referenced memory at "0x00000000". The memory could not be "written".

Not sure what I am doing wrong.

Code: Select all

[/scan log]

### Windows GUI 0.9.4 2009112300 
### Running: Microsoft Windows NT 5.1.2600 Service Pack 3 
###
### CPU: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz 
### Ram: 2047 MB 
### Screen: 1600x1200 
### Temp Dir: C:\Temp\ 
### Install Dir: C:\Program Files\Handbrake 
### Data Dir: C:\Documents and Settings\kc189345\Application Data\HandBrake\HandBrake\0.9.4.0 
#########################################

[10:12:16] hb_init: checking cpu count
[10:12:17] hb_init: starting libhb thread
HandBrake 0.9.4 (2009112300) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening C:\My Programs\personal\cell phone\Star_Trek_PC_EN.wmv...
[10:12:17] hb_scan: path=C:\My Programs\personal\cell phone\Star_Trek_PC_EN.wmv, title_index=0
[10:12:17] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:12:17] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'C:\My Programs\personal\cell phone\Star_Trek_PC_EN.wmv':
  Duration: 02:06:43.08, start: 5.000000, bitrate: 1404 kb/s
    Stream #0.0(eng): Audio: wmav2, 48000 Hz, stereo, s16, 96 kb/s
    Stream #0.1(eng): Video: wmv3, yuv420p, 720x300, 1300 kb/s, 24 tbr, 1k tbn, 1k tbc
[10:12:17] scan: decoding previews for title 1
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
Scanning title 1 of 1...
[10:12:18] scan: 10 previews, 720x300, 24.000 fps, autocrop = 0/0/0/0, aspect 2.40:1, PAR 1:1
[10:12:18] Title is likely interlaced or telecined (5 out of 10 previews). You should do something about that.
[10:12:18] scan: title (0) job->width:736, job->height:304
[10:12:18] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 0, ttn 0, cells 0->0 (0 blocks)
  + angle(s) 0
  + duration: 02:06:43
  + size: 720x300, pixel aspect: 1/1, display aspect: 2.40, 24.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 02:06:43
  + audio tracks:
    + 1, English (WMAV2) (iso639-2: eng)
  + subtitle tracks:
  + combing detected, may be interlaced or telecined
HandBrake has exited.

 ############ End of Log ############## [code][/scan log]

[code][/encode log]

### Windows GUI 0.9.4 2009112300 
### Running: Microsoft Windows NT 5.1.2600 Service Pack 3 
###
### CPU: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz 
### Ram: 2047 MB 
### Screen: 1600x1200 
### Temp Dir: C:\Temp\ 
### Install Dir: C:\Program Files\Handbrake 
### Data Dir: C:\Documents and Settings\kc189345\Application Data\HandBrake\HandBrake\0.9.4.0 
#########################################

### CLI Query:  -i "C:\My Programs\personal\cell phone\Star_Trek_PC_EN.wmv" -t 1 -c 1 -o "C:\My Programs\personal\cell phone\Star Trek.mp4" -f mp4 -X 720 -l 300 -e x264 -b 1500 -a 1 -E faac -6 dpl2 -R 48 -B 160 -D 0.0 -x level=30:bframes=0:cabac=0:ref=1:vbv-maxrate=1500:vbv-bufsize=2000:analyse=all:me=umh:no-fast-pskip=1:psy-rd=0,0:subq=6:8x8dct=0:trellis=0:weightb=0:mixed-refs=1 -v 1

### User Query: False

#########################################

[10:40:57] hb_init: checking cpu count
[10:40:57] hb_init: starting libhb thread
HandBrake 0.9.4 (2009112300) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening C:\My Programs\personal\cell phone\Star_Trek_PC_EN.wmv...
[10:40:57] hb_scan: path=C:\My Programs\personal\cell phone\Star_Trek_PC_EN.wmv, title_index=1
[10:40:57] scan: trying to open with libdvdread
libdvdnav: Using dvdnav version 4.1.3
libdvdread: Encrypted DVD support unavailable.
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:40:57] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'C:\My Programs\personal\cell phone\Star_Trek_PC_EN.wmv':
  Duration: 02:06:43.08, start: 5.000000, bitrate: 1404 kb/s
    Stream #0.0(eng): Audio: wmav2, 48000 Hz, stereo, s16, 96 kb/s
    Stream #0.1(eng): Video: wmv3, yuv420p, 720x300, 1300 kb/s, 24 tbr, 1k tbn, 1k tbc
[10:40:57] scan: decoding previews for title 1
[10:40:57] scan: 10 previews, 720x300, 24.000 fps, autocrop = 0/0/0/0, aspect 2.40:1, PAR 1:1
[10:40:57] Title is likely interlaced or telecined (5 out of 10 previews). You should do something about that.
[10:40:57] scan: title (0) job->width:736, job->height:304
Scanning title 1...
[10:40:57] libhb: scan thread found 1 valid title(s)
+ title 1:
  + vts 0, ttn 0, cells 0->0 (0 blocks)
  + angle(s) 0
  + duration: 02:06:43
  + size: 720x300, pixel aspect: 1/1, display aspect: 2.40, 24.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 02:06:43
  + audio tracks:
    + 1, English (WMAV2) (iso639-2: eng)
  + subtitle tracks:
  + combing detected, may be interlaced or telecined
[10:40:57] 1 job(s) to process
[10:40:57] starting job
[10:40:57] Width out of bounds, scaling down to 720
[10:40:57] New dimensions 720 * 304
[10:40:57] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[10:40:57] job configuration:
[10:40:57]  * source
[10:40:57]    + C:\My Programs\personal\cell phone\Star_Trek_PC_EN.wmv
[10:40:57]    + title 1, chapter(s) 1 to 1
[10:40:57]    + container: asf
[10:40:57]    + data rate: 1404 kbps
[10:40:57]  * destination
[10:40:57]    + C:\My Programs\personal\cell phone\Star Trek.mp4
[10:40:57]    + container: MPEG-4 (.mp4 and .m4v)
[10:40:57]  * video track
[10:40:57]    + decoder: wmv3
[10:40:57]      + bitrate 1300 kbps
[10:40:57]    + frame rate: same as source (around 24.000 fps)
[10:40:57]    + dimensions: 720 * 300 -> 720 * 304, crop 0/0/0/0
[10:40:57]    + encoder: x264
[10:40:57]      + options: level=30:bframes=0:cabac=0:ref=1:vbv-maxrate=1500:vbv-bufsize=2000:analyse=all:me=umh:no-fast-pskip=1:psy-rd=0,0:subq=6:8x8dct=0:trellis=0:weightb=0:mixed-refs=1
[10:40:57]      + bitrate: 1500 kbps, pass: 0
[10:40:57]  * audio track 0
[10:40:57]    + decoder: English (WMAV2) (track 1, id 0)
[10:40:57]    + mixdown: Stereo
[10:40:57]    + encoder: faac
[10:40:57]      + bitrate: 160 kbps, samplerate: 48000 Hz
libdvdnav: Using dvdnav version 4.1.3
[10:40:57] encx264: keyint-min: 24, keyint-max: 240
x264 [info]: libdvdread: Encrypted DVD support unavailable.
using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFileUDF:UDFFindFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[10:40:57] dvd: not a dvd - trying as a stream/file instead
[10:40:57] reader: first SCR 450000 id 1 DTS 450000
x264 [info]: profile Baseline, level 3.0
[10:40:57] sync: expecting 182497 video frames
[10:40:57] sync: adding 6355 ms of silence to audio 0  start 571950, next 0
[10:40:59] sync: adding 14336 ms of silence to audio 0  start 1869930, next 579630
overflow in spectral RLE, ignoring
[10:41:03] sync: adding 6955 ms of silence to audio 0  start 2503530, next 1877550
[10:41:18] sync: adding 26208 ms of silence to audio 0  start 4865130, next 2506350
[10:41:32] sync: adding 27819 ms of silence to audio 0  start 7376490, next 4872750
[10:41:45] sync: adding 22069 ms of silence to audio 0  start 9365580, next 7379310
[10:41:49] sync: audio 0 time went backwards 0 ms, dropped 1 frames (next 9366510, current 9366510)
[10:41:56] sync: adding 13696 ms of silence to audio 0  start 11220300, next 9987630
[10:42:03] sync: adding 12970 ms of silence to audio 0  start 12391470, next 11224110
[10:43:20] sync: 2 minute time gap in audio 0 - dropping buf  start 25635690, next 12394350
[10:43:24] sync: 2 minute time gap in audio 0 - dropping buf  start 26369100, next 12394350
[10:43:24] sync: 2 minute time gap in audio 0 - dropping buf  start 26376780, next 12394350
[10:43:29] sync: 2 minute time gap in audio 0 - dropping buf  start 27240750, next 12394350
[10:43:34] sync: 2 minute time gap in audio 0 - dropping buf  start 28113390, next 12394350
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 387072 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
x264 [error]: malloc of size 96768 failed
[10:43:40] sync: 3 minute time gap in audio 0 - dropping buf  start 30197610, next 12394350

(This repeats for several thousand lines until the end)
[code][/encode log]

User avatar
Rodeo
HandBrake Team
Posts: 12510
Joined: Tue Mar 03, 2009 8:55 pm

Re: Problem trying to encode

Post by Rodeo »

HandBrake is running out of memory. Use a nightly build (see the announcement at the top of every subforum).

chappkg12
Posts: 2
Joined: Wed Nov 24, 2010 5:46 pm

Re: Problem trying to encode

Post by chappkg12 »

Thanks for the help. I installed the latest nightly build and it worked better. I got further along then before, but still ran into the same problem and ran out of memory. Do I just do not have enough memory installed? My system has 2 GB.

User avatar
Rodeo
HandBrake Team
Posts: 12510
Joined: Tue Mar 03, 2009 8:55 pm

Re: Problem trying to encode

Post by Rodeo »

Please post a log for the nightly encode.

Also, correct formatting for code blocks:

Code: Select all

[code]Log content
[/code]

bradsm87
Posts: 14
Joined: Wed Dec 23, 2009 7:39 am

Re: Problem trying to encode

Post by bradsm87 »

I get Handbrake running out of memory still as well. Using latest nightly. When it gets to 1.5GB, that's when it dies. 32-bit apps should be able to handle more than that.

thompson
Bright Spark User
Posts: 356
Joined: Sat Dec 12, 2009 8:04 pm

Re: Problem trying to encode

Post by thompson »

Where is your activity log?

Post Reply