Crash with low video bitrate/no audio

Archive of historical bug reports.
Please use the GitHub link above to report issues.
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
Dukers
Posts: 43
Joined: Sat Jun 27, 2009 1:39 am

Crash with low video bitrate/no audio

Post by Dukers »

WORKS:

Code: Select all

handbrakecli -v -2 -E lame -B 128 -i Sample.wmv -o Out.mkv >log_1000.txt 2>&1

Code: Select all

[14:46:40] hb_init: checking cpu count
[14:46:40] hb_init: starting libhb thread
HandBrake svn3562 (2010100201) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening Sample.wmv...
[14:46:40] hb_scan: path=Sample.wmv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening Sample.wmv/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(Sample.wmv) failed (0x1832698)
[14:46:40] bd: not a bd - trying as a stream/file instead
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
[14:46:40] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'Sample.wmv':
  Metadata:
    WM/Genre        : muvee
    WMFSDKVersion   : 11.0.6002.18049
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:16.89, start: 5.000000, bitrate: 7208 kb/s
    Stream #0.0(cze): Audio: wmapro, 48000 Hz, stereo, flt, 256 kb/s
    Stream #0.1(eng): Video: vc1, yuv420p, 1280x720, 7000 kb/s, 30 tbr, 1k tbn, 1k tbc
[14:46:40] scan: decoding previews for title 1
Scanning title 1...
[14:46:40] scan: 10 previews, 1280x720, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[14:46:40] scan: title (0) job->width:1280, job->height:720
[14:46:40] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: Sample.wmv
  + duration: 00:00:16
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 30.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:16
  + audio tracks:
    + 1, Czech (WMAPRO) (2.0 ch) (iso639-2: ces)
  + subtitle tracks:
[14:46:40] 2 job(s) to process
[14:46:40] starting job
[14:46:40] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[14:46:40] sync: expecting 536 video frames
[14:46:40] job configuration:
[14:46:40]  * source
[14:46:40]    + Sample.wmv
[14:46:40]    + title 1, chapter(s) 1 to 1
[14:46:40]    + container: asf
[14:46:40]    + data rate: 7208 kbps
[14:46:40]  * destination
[14:46:40]    + Out.mkv
[14:46:40]    + container: Matroska (.mkv)
[14:46:40]  * video track
[14:46:40]    + decoder: vc1
[14:46:40]      + bitrate 7000 kbps
[14:46:40]    + frame rate: same as source (around 30.000 fps)
[14:46:40]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[14:46:40]    + encoder: FFmpeg
[14:46:40]      + bitrate: 1000 kbps, pass: 1
[14:46:40]  * audio track 0
[14:46:40]    + decoder: Czech (WMAPRO) (2.0 ch) (track 1, id 0)
[14:46:40]    + mixdown: Stereo
[14:46:40]    + encoder: lame
[14:46:40]      + bitrate: 128 kbps, samplerate: 48000 Hz
[14:46:40] enclame: opening libmp3lame
[14:46:40] reader: first SCR 450000 id 0 DTS 450000

Encoding: task 1 of 2, 0.00 %[14:46:41] sync: first pts is 5040

Encoding: task 1 of 2, 3.73 %
Encoding: task 1 of 2, 3.73 %
Encoding: task 1 of 2, 6.34 %
Encoding: task 1 of 2, 9.51 %
Encoding: task 1 of 2, 10.63 %
Encoding: task 1 of 2, 13.62 %
Encoding: task 1 of 2, 15.67 %
Encoding: task 1 of 2, 18.47 %
Encoding: task 1 of 2, 21.27 %
Encoding: task 1 of 2, 24.07 %
Encoding: task 1 of 2, 27.24 %
Encoding: task 1 of 2, 28.73 %
Encoding: task 1 of 2, 30.60 %
Encoding: task 1 of 2, 35.63 %
Encoding: task 1 of 2, 37.31 %
Encoding: task 1 of 2, 38.81 %
Encoding: task 1 of 2, 43.84 %
Encoding: task 1 of 2, 46.83 %
Encoding: task 1 of 2, 47.95 % (65.13 fps, avg 60.49 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 50.93 % (65.13 fps, avg 60.49 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 53.92 % (65.13 fps, avg 60.49 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 56.53 % (65.13 fps, avg 60.49 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 59.51 % (65.13 fps, avg 60.49 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 64.93 % (66.62 fps, avg 61.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 67.72 % (66.62 fps, avg 61.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 70.52 % (66.62 fps, avg 61.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 73.32 % (66.62 fps, avg 61.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 76.31 % (69.46 fps, avg 62.85 fps, ETA 00h00m02s)
Encoding: task 1 of 2, 79.48 % (69.46 fps, avg 62.85 fps, ETA 00h00m02s)
Encoding: task 1 of 2, 82.65 % (69.46 fps, avg 62.85 fps, ETA 00h00m02s)
Encoding: task 1 of 2, 85.07 % (69.46 fps, avg 62.85 fps, ETA 00h00m02s)[14:46:48] reader: done. 1 scr changes

Encoding: task 1 of 2, 86.94 % (69.46 fps, avg 62.85 fps, ETA 00h00m02s)
Encoding: task 1 of 2, 88.25 % (67.23 fps, avg 63.42 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 91.23 % (67.23 fps, avg 63.42 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 93.47 % (67.23 fps, avg 63.42 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 93.47 % (67.23 fps, avg 63.42 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 93.47 % (67.23 fps, avg 63.42 fps, ETA 00h00m01s)[14:46:49] work: average encoding speed for job is 63.416622 fps
[14:46:49] sync: got 502 frames, 536 expected

Encoding: task 1 of 2, 93.47 % (67.23 fps, avg 63.42 fps, ETA 00h00m01s)[14:46:49] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[14:46:49] render: lost time: 0 (0 frames)
[14:46:49] render: gained time: 0 (0 frames) (0 not accounted for)
[14:46:49] wmapro-decoder done: 0 frames, 0 decoder errors, 0 drops
[14:46:49] starting job
[14:46:49] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[14:46:49] sync: expecting 502 video frames
[14:46:49] job configuration:
[14:46:49]  * source
[14:46:49]    + Sample.wmv
[14:46:49]    + title 1, chapter(s) 1 to 1
[14:46:49]    + container: asf
[14:46:49]    + data rate: 7208 kbps
[14:46:49]  * destination
[14:46:49]    + Out.mkv
[14:46:49]    + container: Matroska (.mkv)
[14:46:49]  * video track
[14:46:49]    + decoder: vc1
[14:46:49]      + bitrate 7000 kbps
[14:46:49]    + frame rate: same as source (around 30.000 fps)
[14:46:49]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[14:46:49]    + encoder: FFmpeg
[14:46:49]      + bitrate: 1000 kbps, pass: 2
[14:46:49]  * audio track 0
[14:46:49]    + decoder: Czech (WMAPRO) (2.0 ch) (track 1, id 0)
[14:46:49]    + mixdown: Stereo
[14:46:49]    + encoder: lame
[14:46:49]      + bitrate: 128 kbps, samplerate: 48000 Hz
[14:46:49] encavcodec: truncating framerate 12000 / 359513
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2650970] insufficient thread locking around avcodec_open/close()
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2650970] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 2 times
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2650970] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2650970] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2650970] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2650970] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2650970] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2650970] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2650970] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[14:46:49] enclame: opening libmp3lame
[NULL @ 0x264de50] insufficient thread locking around avcodec_open/close()
[14:46:49] reader: first SCR 450000 id 0 DTS 450000

Encoding: task 2 of 2, 0.00 %[14:46:49] sync: first pts is 5040

Encoding: task 2 of 2, 1.59 %
Encoding: task 2 of 2, 4.58 %
Encoding: task 2 of 2, 7.77 %
Encoding: task 2 of 2, 10.96 %
Encoding: task 2 of 2, 13.94 %
Encoding: task 2 of 2, 17.73 %
Encoding: task 2 of 2, 20.92 %
Encoding: task 2 of 2, 22.11 %
Encoding: task 2 of 2, 25.30 %
Encoding: task 2 of 2, 27.89 %
Encoding: task 2 of 2, 30.88 %
Encoding: task 2 of 2, 32.27 %
Encoding: task 2 of 2, 35.46 %
Encoding: task 2 of 2, 38.05 %
Encoding: task 2 of 2, 41.04 %
Encoding: task 2 of 2, 45.22 %
Encoding: task 2 of 2, 46.02 %
Encoding: task 2 of 2, 49.20 %
Encoding: task 2 of 2, 52.39 %
Encoding: task 2 of 2, 55.38 % (64.90 fps, avg 65.22 fps, ETA 00h00m04s)
Encoding: task 2 of 2, 58.57 % (63.88 fps, avg 65.51 fps, ETA 00h00m03s)
Encoding: task 2 of 2, 60.96 % (63.88 fps, avg 65.51 fps, ETA 00h00m03s)
Encoding: task 2 of 2, 63.94 % (63.88 fps, avg 65.51 fps, ETA 00h00m03s)
Encoding: task 2 of 2, 67.33 % (63.88 fps, avg 65.51 fps, ETA 00h00m03s)
Encoding: task 2 of 2, 70.32 % (63.88 fps, avg 65.51 fps, ETA 00h00m03s)
Encoding: task 2 of 2, 72.11 % (67.60 fps, avg 66.93 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 75.30 % (67.60 fps, avg 66.93 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 78.69 % (67.60 fps, avg 66.93 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 82.07 % (67.60 fps, avg 66.93 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 84.86 % (67.60 fps, avg 66.93 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 87.45 % (67.63 fps, avg 66.44 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 89.44 % (67.63 fps, avg 66.44 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 91.43 % (67.63 fps, avg 66.44 fps, ETA 00h00m01s)[14:46:56] reader: done. 1 scr changes

Encoding: task 2 of 2, 97.21 % (67.63 fps, avg 66.44 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 99.80 % (67.63 fps, avg 66.44 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 99.80 % (67.63 fps, avg 66.44 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 99.80 % (67.63 fps, avg 66.44 fps, ETA 00h00m01s)[14:46:57] work: average encoding speed for job is 66.438461 fps
[14:46:57] sync: got 502 frames, 502 expected

Encoding: task 2 of 2, 99.80 % (67.63 fps, avg 66.44 fps, ETA 00h00m01s)[14:46:57] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[14:46:57] render: lost time: 0 (0 frames)
[14:46:57] render: gained time: 0 (0 frames) (0 not accounted for)
[14:46:57] wmapro-decoder done: 0 frames, 0 decoder errors, 0 drops
[14:46:57] mux: track 0, 502 frames, 1844869 bytes, 879.06 kbps, fifo 8
[14:46:57] mux: track 1, 694 frames, 268656 bytes, 128.01 kbps, fifo 128
[14:46:57] libhb: work result = 0

Rip done!
HandBrake has exited.
CRASHES:

Code: Select all

handbrakecli -v -2 -a none -i Sample.wmv -o Out.mkv >log_1000_no_audio.txt 2>&1

Code: Select all

[14:48:05] hb_init: checking cpu count
[14:48:05] hb_init: starting libhb thread
HandBrake svn3562 (2010100201) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening Sample.wmv...
[14:48:05] hb_scan: path=Sample.wmv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening Sample.wmv/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(Sample.wmv) failed (0x1832678)
[14:48:05] bd: not a bd - trying as a stream/file instead
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
[14:48:05] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'Sample.wmv':
  Metadata:
    WM/Genre        : muvee
    WMFSDKVersion   : 11.0.6002.18049
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:16.89, start: 5.000000, bitrate: 7208 kb/s
    Stream #0.0(cze): Audio: wmapro, 48000 Hz, stereo, flt, 256 kb/s
    Stream #0.1(eng): Video: vc1, yuv420p, 1280x720, 7000 kb/s, 30 tbr, 1k tbn, 1k tbc
[14:48:05] scan: decoding previews for title 1
Scanning title 1...
[14:48:06] scan: 10 previews, 1280x720, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[14:48:06] scan: title (0) job->width:1280, job->height:720
[14:48:06] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: Sample.wmv
  + duration: 00:00:16
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 30.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:16
  + audio tracks:
    + 1, Czech (WMAPRO) (2.0 ch) (iso639-2: ces)
  + subtitle tracks:
[14:48:06] 2 job(s) to process
[14:48:06] starting job
[14:48:06] sync: expecting 536 video frames
[14:48:06] job configuration:
[14:48:06]  * source
[14:48:06]    + Sample.wmv
[14:48:06]    + title 1, chapter(s) 1 to 1
[14:48:06]    + container: asf
[14:48:06]    + data rate: 7208 kbps
[14:48:06]  * destination
[14:48:06]    + Out.mkv
[14:48:06]    + container: Matroska (.mkv)
[14:48:06]  * video track
[14:48:06]    + decoder: vc1
[14:48:06]      + bitrate 7000 kbps
[14:48:06]    + frame rate: same as source (around 30.000 fps)
[14:48:06]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[14:48:06]    + encoder: FFmpeg
[14:48:06]      + bitrate: 1000 kbps, pass: 1
[14:48:06] reader: first SCR 450000 id 1 DTS 455040

Encoding: task 1 of 2, 0.00 %
Encoding: task 1 of 2, 3.54 %
Encoding: task 1 of 2, 6.34 %
Encoding: task 1 of 2, 9.33 %
Encoding: task 1 of 2, 12.31 %
Encoding: task 1 of 2, 14.55 %
Encoding: task 1 of 2, 17.54 %
Encoding: task 1 of 2, 20.52 %
Encoding: task 1 of 2, 23.69 %
Encoding: task 1 of 2, 26.87 %
Encoding: task 1 of 2, 30.41 %
Encoding: task 1 of 2, 31.16 %
Encoding: task 1 of 2, 34.14 %
Encoding: task 1 of 2, 37.50 %
Encoding: task 1 of 2, 40.67 %
Encoding: task 1 of 2, 43.84 %
Encoding: task 1 of 2, 47.20 %
Encoding: task 1 of 2, 50.37 %
Encoding: task 1 of 2, 53.36 %
Encoding: task 1 of 2, 56.16 % (68.97 fps, avg 69.28 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 58.96 % (73.83 fps, avg 71.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 61.75 % (73.83 fps, avg 71.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 64.55 % (73.83 fps, avg 71.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 67.35 % (73.83 fps, avg 71.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 70.15 % (73.83 fps, avg 71.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 72.95 % (73.83 fps, avg 71.61 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 74.63 % (74.38 fps, avg 72.55 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 77.05 % (74.38 fps, avg 72.55 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 79.85 % (74.38 fps, avg 72.55 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 82.84 % (74.38 fps, avg 72.55 fps, ETA 00h00m01s)[14:48:12] reader: done. 1 scr changes

Encoding: task 1 of 2, 85.63 % (74.38 fps, avg 72.55 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 88.25 % (72.61 fps, avg 70.99 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 91.04 % (72.61 fps, avg 70.99 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 93.47 % (72.61 fps, avg 70.99 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 93.47 % (72.61 fps, avg 70.99 fps, ETA 00h00m01s)[14:48:13] work: average encoding speed for job is 70.987656 fps

Encoding: task 1 of 2, 93.47 % (72.61 fps, avg 70.99 fps, ETA 00h00m01s)[14:48:13] sync: got 502 frames, 536 expected
[14:48:13] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[14:48:13] render: lost time: 0 (0 frames)
[14:48:13] render: gained time: 0 (0 frames) (0 not accounted for)
[14:48:13] starting job
[14:48:13] sync: expecting 502 video frames
[14:48:13] job configuration:
[14:48:13]  * source
[14:48:13]    + Sample.wmv
[14:48:13]    + title 1, chapter(s) 1 to 1
[14:48:13]    + container: asf
[14:48:13]    + data rate: 7208 kbps
[14:48:13]  * destination
[14:48:13]    + Out.mkv
[14:48:13]    + container: Matroska (.mkv)
[14:48:13]  * video track
[14:48:13]    + decoder: vc1
[14:48:13]      + bitrate 7000 kbps
[14:48:13]    + frame rate: same as source (around 30.000 fps)
[14:48:13]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[14:48:13]    + encoder: FFmpeg
[14:48:13]      + bitrate: 1000 kbps, pass: 2
[14:48:13] encavcodec: truncating framerate 25000 / 751497
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 2 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 3 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896440] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Las t   m eLsassatg em ersespaegaet erde p4e attiemde s4
 times
    Last message repeated 1 times
    Last message repeated 1 times
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x18383d0] insufficient thread locking around avcodec_open/close()
[14:48:13] hb_work_encavcodec_init: avcodec_open failed
[14:48:13] reader: first SCR 450000 id 1 DTS 455040

Encoding: task 2 of 2, 0.00 %
Encoding: task 2 of 2, 1.00 %ERROR: encavcodec: codec context has uninitialized codec; skipping frame

Encoding: task 2 of 2, 4.18 %
Encoding: task 2 of 2, 7.37 %
Encoding: task 2 of 2, 10.56 %
Encoding: task 2 of 2, 13.55 %
Encoding: task 2 of 2, 16.73 %
Encoding: task 2 of 2, 19.72 %ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 90 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame

Encoding: task 2 of 2, 22.71 %
Encoding: task 2 of 2, 25.70 %
Encoding: task 2 of 2, 31.67 %
Encoding: task 2 of 2, 34.66 %
Encoding: task 2 of 2, 37.65 %ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 91 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame

Encoding: task 2 of 2, 40.64 %
Encoding: task 2 of 2, 43.63 %
Encoding: task 2 of 2, 46.61 %
Encoding: task 2 of 2, 52.59 %
Encoding: task 2 of 2, 55.58 %ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 90 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame

Encoding: task 2 of 2, 58.57 %
Encoding: task 2 of 2, 61.55 %
Encoding: task 2 of 2, 64.54 %
Encoding: task 2 of 2, 67.53 %
Encoding: task 2 of 2, 70.52 % (81.08 fps, avg 81.39 fps, ETA 00h00m02s)ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 90 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame

Encoding: task 2 of 2, 76.49 % (85.01 fps, avg 82.37 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 79.48 % (85.01 fps, avg 82.37 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 82.47 % (85.01 fps, avg 82.37 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 85.46 % (85.01 fps, avg 82.37 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 88.45 % (85.01 fps, avg 82.37 fps, ETA 00h00m01s)[14:48:19] reader: done. 1 scr changes

Encoding: task 2 of 2, 91.43 % (85.69 fps, avg 82.61 fps, ETA 00h00m00s)ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 90 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame

Encoding: task 2 of 2, 94.42 % (85.69 fps, avg 82.61 fps, ETA 00h00m00s)
Encoding: task 2 of 2, 97.41 % (85.69 fps, avg 82.61 fps, ETA 00h00m00s)[14:48:20] work: average encoding speed for job is 82.606277 fps

Muxing: this may take awhile...[14:48:20] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[14:48:20] sync: got 502 frames, 502 expected
[14:48:20] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[14:48:20] render: lost time: 0 (0 frames)
[14:48:20] render: gained time: 0 (0 frames) (0 not accounted for)
Raising the video bitrate appears to solve the problem...

WORKS:

Code: Select all

handbrakecli -v -2 -b 2000 -a none -i Sample.wmv -o Out.mkv >log_2000_no_audio.txt 2>&1

Code: Select all

[14:54:19] hb_init: checking cpu count
[14:54:19] hb_init: starting libhb thread
HandBrake svn3562 (2010100201) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening Sample.wmv...
[14:54:19] hb_scan: path=Sample.wmv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening Sample.wmv/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(Sample.wmv) failed (0x18326a8)
[14:54:19] bd: not a bd - trying as a stream/file instead
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
[14:54:19] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'Sample.wmv':
  Metadata:
    WM/Genre        : muvee
    WMFSDKVersion   : 11.0.6002.18049
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:16.89, start: 5.000000, bitrate: 7208 kb/s
    Stream #0.0(cze): Audio: wmapro, 48000 Hz, stereo, flt, 256 kb/s
    Stream #0.1(eng): Video: vc1, yuv420p, 1280x720, 7000 kb/s, 30 tbr, 1k tbn, 1k tbc
[14:54:19] scan: decoding previews for title 1
Scanning title 1...
[14:54:19] scan: 10 previews, 1280x720, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[14:54:19] scan: title (0) job->width:1280, job->height:720
[14:54:19] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: Sample.wmv
  + duration: 00:00:16
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 30.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:16
  + audio tracks:
    + 1, Czech (WMAPRO) (2.0 ch) (iso639-2: ces)
  + subtitle tracks:
[14:54:19] 2 job(s) to process
[14:54:19] starting job
[14:54:19] sync: expecting 536 video frames
[14:54:19] job configuration:
[14:54:19]  * source
[14:54:19]    + Sample.wmv
[14:54:19]    + title 1, chapter(s) 1 to 1
[14:54:19]    + container: asf
[14:54:19]    + data rate: 7208 kbps
[14:54:19]  * destination
[14:54:19]    + Out.mkv
[14:54:19]    + container: Matroska (.mkv)
[14:54:19]  * video track
[14:54:19]    + decoder: vc1
[14:54:19]      + bitrate 7000 kbps
[14:54:19]    + frame rate: same as source (around 30.000 fps)
[14:54:19]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[14:54:19]    + encoder: FFmpeg
[14:54:19]      + bitrate: 2000 kbps, pass: 1
[14:54:19] reader: first SCR 450000 id 1 DTS 455040

Encoding: task 1 of 2, 0.00 %
Encoding: task 1 of 2, 3.54 %
Encoding: task 1 of 2, 3.54 %
Encoding: task 1 of 2, 6.16 %
Encoding: task 1 of 2, 8.96 %
Encoding: task 1 of 2, 11.94 %
Encoding: task 1 of 2, 15.11 %
Encoding: task 1 of 2, 17.91 %
Encoding: task 1 of 2, 20.71 %
Encoding: task 1 of 2, 23.51 %
Encoding: task 1 of 2, 26.49 %
Encoding: task 1 of 2, 26.49 %
Encoding: task 1 of 2, 29.29 %
Encoding: task 1 of 2, 29.66 %
Encoding: task 1 of 2, 32.09 %
Encoding: task 1 of 2, 33.02 %
Encoding: task 1 of 2, 38.43 %
Encoding: task 1 of 2, 39.74 %
Encoding: task 1 of 2, 41.23 %
Encoding: task 1 of 2, 44.22 %
Encoding: task 1 of 2, 48.13 %
Encoding: task 1 of 2, 49.44 % (63.29 fps, avg 63.59 fps, ETA 00h00m05s)
Encoding: task 1 of 2, 52.43 % (61.69 fps, avg 61.98 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 55.60 % (61.69 fps, avg 61.98 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 57.65 % (61.69 fps, avg 61.98 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 60.63 % (61.69 fps, avg 61.98 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 63.25 % (61.69 fps, avg 61.98 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 63.62 % (61.69 fps, avg 61.98 fps, ETA 00h00m04s)
Encoding: task 1 of 2, 67.35 % (62.19 fps, avg 63.42 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 71.08 % (62.19 fps, avg 63.42 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 71.83 % (62.19 fps, avg 63.42 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 74.25 % (62.19 fps, avg 63.42 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 76.87 % (62.19 fps, avg 63.42 fps, ETA 00h00m03s)
Encoding: task 1 of 2, 79.29 % (63.09 fps, avg 63.34 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 80.41 % (63.09 fps, avg 63.34 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 83.21 % (63.09 fps, avg 63.34 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 86.01 % (63.09 fps, avg 63.34 fps, ETA 00h00m01s)[14:54:27] reader: done. 1 scr changes

Encoding: task 1 of 2, 88.81 % (63.09 fps, avg 63.34 fps, ETA 00h00m01s)
Encoding: task 1 of 2, 91.42 % (64.15 fps, avg 62.92 fps, ETA 00h00m00s)
Encoding: task 1 of 2, 93.47 % (64.15 fps, avg 62.92 fps, ETA 00h00m00s)
Encoding: task 1 of 2, 93.47 % (64.15 fps, avg 62.92 fps, ETA 00h00m00s)[14:54:27] work: average encoding speed for job is 62.920460 fps
[14:54:27] sync: got 502 frames, 536 expected
[14:54:27] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[14:54:27] render: lost time: 0 (0 frames)
[14:54:27] render: gained time: 0 (0 frames) (0 not accounted for)

Encoding: task 1 of 2, 93.47 % (64.15 fps, avg 62.92 fps, ETA 00h00m00s)[14:54:28] starting job
[14:54:28] sync: expecting 502 video frames
[14:54:28] job configuration:
[14:54:28]  * source
[14:54:28]    + Sample.wmv
[14:54:28]    + title 1, chapter(s) 1 to 1
[14:54:28]    + container: asf
[14:54:28]    + data rate: 7208 kbps
[14:54:28]  * destination
[14:54:28]    + Out.mkv
[14:54:28]    + container: Matroska (.mkv)
[14:54:28]  * video track
[14:54:28]    + decoder: vc1
[14:54:28]      + bitrate 7000 kbps
[14:54:28]    + frame rate: same as source (around 30.000 fps)
[14:54:28]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[14:54:28]    + encoder: FFmpeg
[14:54:28]      + bitrate: 2000 kbps, pass: 2
[14:54:28] encavcodec: truncating framerate 25000 / 751497
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 2 times
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1896470] insufficient thread locking around avcodec_open/close()
[NULL @ 0x23fbb80] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
[14:54:28] reader: first SCR 450000 id 1 DTS 455040

Encoding: task 2 of 2, 0.00 %
Encoding: task 2 of 2, 1.00 %
Encoding: task 2 of 2, 4.18 %
Encoding: task 2 of 2, 7.17 %
Encoding: task 2 of 2, 10.16 %
Encoding: task 2 of 2, 16.53 %
Encoding: task 2 of 2, 19.72 %
Encoding: task 2 of 2, 23.11 %
Encoding: task 2 of 2, 26.10 %
Encoding: task 2 of 2, 29.28 %
Encoding: task 2 of 2, 31.47 %
Encoding: task 2 of 2, 34.86 %
Encoding: task 2 of 2, 37.65 %
Encoding: task 2 of 2, 39.24 %
Encoding: task 2 of 2, 42.23 %
Encoding: task 2 of 2, 46.02 %
Encoding: task 2 of 2, 50.20 %
Encoding: task 2 of 2, 50.80 %
Encoding: task 2 of 2, 53.78 %
Encoding: task 2 of 2, 56.97 %
Encoding: task 2 of 2, 59.96 % (68.06 fps, avg 68.38 fps, ETA 00h00m04s)
Encoding: task 2 of 2, 62.95 % (67.09 fps, avg 70.12 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 65.94 % (67.09 fps, avg 70.12 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 68.92 % (67.09 fps, avg 70.12 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 71.91 % (67.09 fps, avg 70.12 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 74.90 % (67.09 fps, avg 70.12 fps, ETA 00h00m02s)
Encoding: task 2 of 2, 77.89 % (69.75 fps, avg 70.34 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 80.68 % (69.75 fps, avg 70.34 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 82.87 % (69.75 fps, avg 70.34 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 86.25 % (69.75 fps, avg 70.34 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 86.65 % (69.75 fps, avg 70.34 fps, ETA 00h00m01s)
Encoding: task 2 of 2, 89.84 % (66.83 fps, avg 67.58 fps, ETA 00h00m00s)[14:54:35] reader: done. 1 scr changes

Encoding: task 2 of 2, 93.03 % (66.83 fps, avg 67.58 fps, ETA 00h00m00s)
Encoding: task 2 of 2, 95.42 % (66.83 fps, avg 67.58 fps, ETA 00h00m00s)
Encoding: task 2 of 2, 97.81 % (66.83 fps, avg 67.58 fps, ETA 00h00m00s)
Encoding: task 2 of 2, 99.80 % (66.83 fps, avg 67.58 fps, ETA 00h00m00s)
Encoding: task 2 of 2, 99.80 % (66.83 fps, avg 67.58 fps, ETA 00h00m00s)[14:54:36] work: average encoding speed for job is 67.575943 fps
[14:54:36] mux: track 0, 502 frames, 4065127 bytes, 1943.49 kbps, fifo 8

Muxing: this may take awhile...[14:54:36] sync: got 502 frames, 502 expected
[14:54:36] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[14:54:36] render: lost time: 0 (0 frames)
[14:54:36] render: gained time: 0 (0 frames) (0 not accounted for)
[14:54:36] libhb: work result = 0

Rip done!
HandBrake has exited.
HandbrakeCLI svn3562, Windows 7 Pro x64
User avatar
Rodeo
HandBrake Team
Posts: 12714
Joined: Tue Mar 03, 2009 8:55 pm

Re: Crash with low video bitrate/no audio

Post by Rodeo »

Would be nice if you redirected stdout (progress) and stderr (log) to different files, and only posted the stderr output.
Dukers
Posts: 43
Joined: Sat Jun 27, 2009 1:39 am

Re: Crash with low video bitrate/no audio

Post by Dukers »

Sure.

WORKS:

Code: Select all

handbrakecli -v -2 -E lame -B 128 -i Sample.wmv -o Out.mkv >NUL 2>error_1000.txt

Code: Select all

[15:25:58] hb_init: checking cpu count
[15:25:58] hb_init: starting libhb thread
HandBrake svn3562 (2010100201) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening Sample.wmv...
[15:25:58] hb_scan: path=Sample.wmv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening Sample.wmv/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(Sample.wmv) failed (0x1a62698)
[15:25:58] bd: not a bd - trying as a stream/file instead
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
[15:25:58] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'Sample.wmv':
  Metadata:
    WM/Genre        : muvee
    WMFSDKVersion   : 11.0.6002.18049
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:16.89, start: 5.000000, bitrate: 7208 kb/s
    Stream #0.0(cze): Audio: wmapro, 48000 Hz, stereo, flt, 256 kb/s
    Stream #0.1(eng): Video: vc1, yuv420p, 1280x720, 7000 kb/s, 30 tbr, 1k tbn, 1k tbc
[15:25:58] scan: decoding previews for title 1
Scanning title 1...
[15:25:58] scan: 10 previews, 1280x720, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[15:25:58] scan: title (0) job->width:1280, job->height:720
[15:25:58] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: Sample.wmv
  + duration: 00:00:16
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 30.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:16
  + audio tracks:
    + 1, Czech (WMAPRO) (2.0 ch) (iso639-2: ces)
  + subtitle tracks:
[15:25:58] 2 job(s) to process
[15:25:58] starting job
[15:25:58] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[15:25:58] sync: expecting 536 video frames
[15:25:58] job configuration:
[15:25:58]  * source
[15:25:58]    + Sample.wmv
[15:25:58]    + title 1, chapter(s) 1 to 1
[15:25:58]    + container: asf
[15:25:58]    + data rate: 7208 kbps
[15:25:58]  * destination
[15:25:58]    + Out.mkv
[15:25:58]    + container: Matroska (.mkv)
[15:25:58]  * video track
[15:25:58]    + decoder: vc1
[15:25:58]      + bitrate 7000 kbps
[15:25:58]    + frame rate: same as source (around 30.000 fps)
[15:25:58]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[15:25:58]    + encoder: FFmpeg
[15:25:58]      + bitrate: 1000 kbps, pass: 1
[15:25:58]  * audio track 0
[15:25:58]    + decoder: Czech (WMAPRO) (2.0 ch) (track 1, id 0)
[15:25:58]    + mixdown: Stereo
[15:25:58]    + encoder: lame
[15:25:58]      + bitrate: 128 kbps, samplerate: 48000 Hz
[15:25:58] enclame: opening libmp3lame
[15:25:58] reader: first SCR 450000 id 0 DTS 450000
[15:25:58] sync: first pts is 5040
[15:26:05] reader: done. 1 scr changes
[15:26:06] work: average encoding speed for job is 65.282791 fps
[15:26:07] sync: got 502 frames, 536 expected
[15:26:07] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[15:26:07] render: lost time: 0 (0 frames)
[15:26:07] render: gained time: 0 (0 frames) (0 not accounted for)
[15:26:07] wmapro-decoder done: 0 frames, 0 decoder errors, 0 drops
[15:26:07] starting job
[15:26:07] work: sanitizing track 0 mixdown Dolby Pro Logic II to Stereo
[15:26:07] sync: expecting 502 video frames
[15:26:07] job configuration:
[15:26:07]  * source
[15:26:07]    + Sample.wmv
[15:26:07]    + title 1, chapter(s) 1 to 1
[15:26:07]    + container: asf
[15:26:07]    + data rate: 7208 kbps
[15:26:07]  * destination
[15:26:07]    + Out.mkv
[15:26:07]    + container: Matroska (.mkv)
[15:26:07]  * video track
[15:26:07]    + decoder: vc1
[15:26:07]      + bitrate 7000 kbps
[15:26:07]    + frame rate: same as source (around 30.000 fps)
[15:26:07]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[15:26:07]    + encoder: FFmpeg
[15:26:07]      + bitrate: 1000 kbps, pass: 2
[15:26:07]  * audio track 0
[15:26:07]    + decoder: Czech (WMAPRO) (2.0 ch) (track 1, id 0)
[15:26:07]    + mixdown: Stereo
[15:26:07]    + encoder: lame
[15:26:07]      + bitrate: 128 kbps, samplerate: 48000 Hz
[15:26:07] encavcodec: truncating framerate 12000 / 359513
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 2 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 3 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x1a71d50] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2857a70] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
[15:26:07] enclame: opening libmp3lame
[15:26:07] reader: first SCR 450000 id 0 DTS 450000
[15:26:07] sync: first pts is 5040
[15:26:14] reader: done. 1 scr changes
[15:26:15] work: average encoding speed for job is 67.237167 fps
[15:26:15] sync: got 502 frames, 502 expected
[15:26:15] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[15:26:15] render: lost time: 0 (0 frames)
[15:26:15] render: gained time: 0 (0 frames) (0 not accounted for)
[15:26:15] wmapro-decoder done: 0 frames, 0 decoder errors, 0 drops
[15:26:15] mux: track 0, 502 frames, 1844869 bytes, 879.06 kbps, fifo 8
[15:26:15] mux: track 1, 694 frames, 268656 bytes, 128.01 kbps, fifo 128
[15:26:15] libhb: work result = 0

Rip done!
HandBrake has exited.
CRASHES:

Code: Select all

handbrakecli -v -2 -a none -i Sample.wmv -o Out.mkv >NUL 2>error_1000_no_audio.txt

Code: Select all

[15:27:11] hb_init: checking cpu count
[15:27:11] hb_init: starting libhb thread
HandBrake svn3562 (2010100201) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening Sample.wmv...
[15:27:11] hb_scan: path=Sample.wmv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening Sample.wmv/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(Sample.wmv) failed (0x19f2678)
[15:27:11] bd: not a bd - trying as a stream/file instead
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
[15:27:11] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'Sample.wmv':
  Metadata:
    WM/Genre        : muvee
    WMFSDKVersion   : 11.0.6002.18049
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:16.89, start: 5.000000, bitrate: 7208 kb/s
    Stream #0.0(cze): Audio: wmapro, 48000 Hz, stereo, flt, 256 kb/s
    Stream #0.1(eng): Video: vc1, yuv420p, 1280x720, 7000 kb/s, 30 tbr, 1k tbn, 1k tbc
[15:27:11] scan: decoding previews for title 1
Scanning title 1...
[15:27:11] scan: 10 previews, 1280x720, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[15:27:11] scan: title (0) job->width:1280, job->height:720
[15:27:11] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: Sample.wmv
  + duration: 00:00:16
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 30.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:16
  + audio tracks:
    + 1, Czech (WMAPRO) (2.0 ch) (iso639-2: ces)
  + subtitle tracks:
[15:27:11] 2 job(s) to process
[15:27:11] starting job
[15:27:11] sync: expecting 536 video frames
[15:27:11] job configuration:
[15:27:11]  * source
[15:27:11]    + Sample.wmv
[15:27:11]    + title 1, chapter(s) 1 to 1
[15:27:11]    + container: asf
[15:27:11]    + data rate: 7208 kbps
[15:27:11]  * destination
[15:27:11]    + Out.mkv
[15:27:11]    + container: Matroska (.mkv)
[15:27:11]  * video track
[15:27:11]    + decoder: vc1
[15:27:11]      + bitrate 7000 kbps
[15:27:11]    + frame rate: same as source (around 30.000 fps)
[15:27:11]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[15:27:11]    + encoder: FFmpeg
[15:27:11]      + bitrate: 1000 kbps, pass: 1
[15:27:11] reader: first SCR 450000 id 1 DTS 455040
[15:27:18] reader: done. 1 scr changes
[15:27:19] work: average encoding speed for job is 73.406105 fps
[15:27:19] sync: got 502 frames, 536 expected
[15:27:19] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[15:27:19] render: lost time: 0 (0 frames)
[15:27:19] render: gained time: 0 (0 frames) (0 not accounted for)
[15:27:19] starting job
[15:27:19] sync: expecting 502 video frames
[15:27:19] job configuration:
[15:27:19]  * source
[15:27:19]    + Sample.wmv
[15:27:19]    + title 1, chapter(s) 1 to 1
[15:27:19]    + container: asf
[15:27:19]    + data rate: 7208 kbps
[15:27:19]  * destination
[15:27:19]    + Out.mkv
[15:27:19]    + container: Matroska (.mkv)
[15:27:19]  * video track
[15:27:19]    + decoder: vc1
[15:27:19]      + bitrate 7000 kbps
[15:27:19]    + frame rate: same as source (around 30.000 fps)
[15:27:19]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[15:27:19]    + encoder: FFmpeg
[15:27:19]      + bitrate: 1000 kbps, pass: 2
[15:27:19] encavcodec: truncating framerate 25000 / 751497
[NULL @ 0x19f83d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
[NULL @ 0x19f83d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 2 times
[NULL @ 0x19f83d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x19f83d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x19f83d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x19f83d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x19f83d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x19f83d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x19f83d0] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeate d   4  Ltaismte sm
e[mpeg4 @ 0x271f010] [lavc rc] Error: bitrate too low for this video with these parameters.
ssage repeat[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
ed 4 times
    Last message repeated 1 times
[NULL @ 0x2505130] insufficient thread locking around avcodec_open/close()
[15:27:19] hb_work_encavcodec_init: avcodec_open failed
[15:27:19] reader: first SCR 450000 id 1 DTS 455040
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 90 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 90 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 90 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 92 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
[15:27:25] reader: done. 1 scr changes
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
ERROR: Last error repeated 90 times
ERROR: encavcodec: codec context has uninitialized codec; skipping frame
[15:27:25] work: average encoding speed for job is 84.609772 fps
[15:27:25] mux: track 0, 0 frames, 0 bytes, 0.00 kbps, fifo 8
[15:27:25] sync: got 502 frames, 502 expected
[15:27:25] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[15:27:25] render: lost time: 0 (0 frames)
[15:27:25] render: gained time: 0 (0 frames) (0 not accounted for)
WORKS:

Code: Select all

handbrakecli -v -2 -b 2000 -a none -i Sample.wmv -o Out.mkv >NUL 2>error_2000_no_audio.txt

Code: Select all

[15:28:19] hb_init: checking cpu count
[15:28:19] hb_init: starting libhb thread
HandBrake svn3562 (2010100201) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening Sample.wmv...
[15:28:19] hb_scan: path=Sample.wmv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening Sample.wmv/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(Sample.wmv) failed (0x18326a8)
[15:28:19] bd: not a bd - trying as a stream/file instead
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
[15:28:19] dvd: not a dvd - trying as a stream/file instead
Input #0, asf, from 'Sample.wmv':
  Metadata:
    WM/Genre        : muvee
    WMFSDKVersion   : 11.0.6002.18049
    WMFSDKNeeded    : 0.0.0.0000
    IsVBR           : 0
  Duration: 00:00:16.89, start: 5.000000, bitrate: 7208 kb/s
    Stream #0.0(cze): Audio: wmapro, 48000 Hz, stereo, flt, 256 kb/s
    Stream #0.1(eng): Video: vc1, yuv420p, 1280x720, 7000 kb/s, 30 tbr, 1k tbn, 1k tbc
[15:28:19] scan: decoding previews for title 1
Scanning title 1...
[15:28:20] scan: 10 previews, 1280x720, 30.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[15:28:20] scan: title (0) job->width:1280, job->height:720
[15:28:20] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: Sample.wmv
  + duration: 00:00:16
  + size: 1280x720, pixel aspect: 1/1, display aspect: 1.78, 30.000 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:00:16
  + audio tracks:
    + 1, Czech (WMAPRO) (2.0 ch) (iso639-2: ces)
  + subtitle tracks:
[15:28:20] 2 job(s) to process
[15:28:20] starting job
[15:28:20] sync: expecting 536 video frames
[15:28:20] job configuration:
[15:28:20]  * source
[15:28:20]    + Sample.wmv
[15:28:20]    + title 1, chapter(s) 1 to 1
[15:28:20]    + container: asf
[15:28:20]    + data rate: 7208 kbps
[15:28:20]  * destination
[15:28:20]    + Out.mkv
[15:28:20]    + container: Matroska (.mkv)
[15:28:20]  * video track
[15:28:20]    + decoder: vc1
[15:28:20]      + bitrate 7000 kbps
[15:28:20]    + frame rate: same as source (around 30.000 fps)
[15:28:20]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[15:28:20]    + encoder: FFmpeg
[15:28:20]      + bitrate: 2000 kbps, pass: 1
[15:28:20] reader: first SCR 450000 id 1 DTS 455040
[15:28:27] reader: done. 1 scr changes
[15:28:28] work: average encoding speed for job is 66.874031 fps
[15:28:28] sync: got 502 frames, 536 expected
[15:28:28] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[15:28:28] render: lost time: 0 (0 frames)
[15:28:28] render: gained time: 0 (0 frames) (0 not accounted for)
[15:28:28] starting job
[15:28:28] sync: expecting 502 video frames
[15:28:28] job configuration:
[15:28:28]  * source
[15:28:28]    + Sample.wmv
[15:28:28]    + title 1, chapter(s) 1 to 1
[15:28:28]    + container: asf
[15:28:28]    + data rate: 7208 kbps
[15:28:28]  * destination
[15:28:28]    + Out.mkv
[15:28:28]    + container: Matroska (.mkv)
[15:28:28]  * video track
[15:28:28]    + decoder: vc1
[15:28:28]      + bitrate 7000 kbps
[15:28:28]    + frame rate: same as source (around 30.000 fps)
[15:28:28]    + dimensions: 1280 * 720 -> 1280 * 720, crop 0/0/0/0
[15:28:28]    + encoder: FFmpeg
[15:28:28]      + bitrate: 2000 kbps, pass: 2
[15:28:28] encavcodec: truncating framerate 25000 / 751497
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 2 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 5 times
    Last message repeated 5 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
    Last message repeated 2 times
    Last message repeated 3 times
    Last message repeated 4 times
    Last message repeated 4 times
[NULL @ 0x2b10730] insufficient thread locking around avcodec_open/close()
[NULL @ 0x2b10b00] insufficient thread locking around avcodec_open/close()
    Last message repeated 1 times
[15:28:28] reader: first SCR 450000 id 1 DTS 455040
[15:28:35] reader: done. 1 scr changes
[15:28:36] work: average encoding speed for job is 65.677635 fps
[15:28:36] mux: track 0, 502 frames, 4065127 bytes, 1943.49 kbps, fifo 8
[15:28:36] sync: got 502 frames, 502 expected
[15:28:36] vc1-decoder done: 502 frames, 0 decoder errors, 0 drops
[15:28:36] render: lost time: 0 (0 frames)
[15:28:36] render: gained time: 0 (0 frames) (0 not accounted for)
[15:28:36] libhb: work result = 0

Rip done!
HandBrake has exited.
User avatar
Rodeo
HandBrake Team
Posts: 12714
Joined: Tue Mar 03, 2009 8:55 pm

Re: Crash with low video bitrate/no audio

Post by Rodeo »

Thanks, much more readable. This stands out:
Dukers wrote:

Code: Select all

[mpeg4 @ 0x271f010] [lavc rc] Error: bitrate too low for this video with these parameters.
Dukers
Posts: 43
Joined: Sat Jun 27, 2009 1:39 am

Re: Crash with low video bitrate/no audio

Post by Dukers »

Strange thing is that it works with audio.

And the message "insufficient thread locking around avcodec_open/close()" means anything?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5585
Joined: Sat Feb 09, 2008 7:21 pm

Re: Crash with low video bitrate/no audio

Post by JohnAStebbins »

And the message "insufficient thread locking around avcodec_open/close()" means anything?
It means something, but is not the source of your crash. I just fixed the thread locking issue http://trac.handbrake.fr/changeset/3563

The crash seems to be due to ffmpeg failing to converge on QPs during the first pass that will satisfy the requested bitrate. It just can't seem to handle that low a bitrate for your hidef content. Admittedly we shouldn't crash, but the alternative is to just log the error and fail to generate an output file. Not a whole lot better from the users perspective.

EDIT: I'm testing with a sample I found from mplayers samples library. I can't reproduce the phenomenon where it works if I add audio. For me it fails with and without audio.
Dukers
Posts: 43
Joined: Sat Jun 27, 2009 1:39 am

Re: Crash with low video bitrate/no audio

Post by Dukers »

JohnAStebbins wrote:
And the message "insufficient thread locking around avcodec_open/close()" means anything?
It means something, but is not the source of your crash. I just fixed the thread locking issue http://trac.handbrake.fr/changeset/3563
Good.
JohnAStebbins wrote:Admittedly we shouldn't crash, but the alternative is to just log the error and fail to generate an output file. Not a whole lot better from the users perspective.
At least a little better.
JohnAStebbins wrote:EDIT: I'm testing with a sample I found from mplayers samples library. I can't reproduce the phenomenon where it works if I add audio. For me it fails with and without audio.
If you want, I can send you the sample I used.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5585
Joined: Sat Feb 09, 2008 7:21 pm

Re: Crash with low video bitrate/no audio

Post by JohnAStebbins »

If you want, I can send you the sample I used.
A small sample would be appreciated.
Dukers
Posts: 43
Joined: Sat Jun 27, 2009 1:39 am

Re: Crash with low video bitrate/no audio

Post by Dukers »

I found another crash with ffmpeg (HB svn3678). Use target size and put a low value, which causes a very low bitrate (1 MB, for example, in my 1:45 min video).

Code: Select all

HandBrakeCLI -v -S 1 -E lame -B 112 -i input.mp4 -o output.mkv
stderr

Code: Select all

[14:53:13] hb_init: checking cpu count
[14:53:13] hb_init: starting libhb thread
HandBrake svn3678 (2010111501) - MinGW i386 - http://handbrake.fr
2 CPUs detected
Opening input.mp4...
[14:53:13] hb_scan: path=input.mp4, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening input.mp4/BDMV/index.bdmv
libbluray/bluray.c:960: nav_get_title_list(input.mp4) failed (0x19b26f8)
[14:53:13] bd: not a bd - trying as a stream/file instead
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
[14:53:13] dvd: not a dvd - trying as a stream/file instead
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : edge 1.7.2
  Duration: 00:01:45.96, start: 0.000000, bitrate: 823 kb/s
    Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 121 kb/s
    Stream #0.1(und): Video: h264, yuv420p, 720x400, 697 kb/s, 24.99 fps, 25 tbr, 25 tbn, 50 tbc
[14:53:13] scan: decoding previews for title 1
Scanning title 1...
Scanning title 1...
[14:53:14] scan: 10 previews, 720x400, 24.991 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 1:1
[14:53:14] scan: title (0) job->width:720, job->height:400
[14:53:14] libhb: scan thread found 1 valid title(s)
+ title 1:
  + stream: input.mp4
  + duration: 00:01:45
  + size: 720x400, pixel aspect: 1/1, display aspect: 1.80, 24.991 fps
  + autocrop: 0/0/0/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:01:45
  + audio tracks:
    + 1, Unknown (AAC) (2.0 ch) (iso639-2: und)
  + subtitle tracks:
Calculated bitrate: 0 kbps
[14:53:14] 1 job(s) to process
[14:53:14] starting job
[14:53:14] sync: expecting 2672 video frames
[14:53:14] job configuration:
[14:53:14]  * source
[14:53:14]    + input.mp4
[14:53:14]    + title 1, chapter(s) 1 to 1
[14:53:14]    + container: mov,mp4,m4a,3gp,3g2,mj2
[14:53:14]    + data rate: 823 kbps
[14:53:14]  * destination
[14:53:14]    + output.mkv
[14:53:14]    + container: Matroska (.mkv)
[14:53:14]  * video track
[14:53:14]    + decoder: h264
[14:53:14]      + bitrate 697 kbps
[14:53:14]    + frame rate: same as source (around 24.991 fps)
[14:53:14]    + dimensions: 720 * 400 -> 720 * 400, crop 0/0/0/0
[14:53:14]    + encoder: FFmpeg
[14:53:14]      + bitrate: 0 kbps, pass: 0
[14:53:14]  * audio track 0
[14:53:14]    + decoder: Unknown (AAC) (2.0 ch) (track 1, id 0)
[14:53:14]    + mixdown: Stereo
[14:53:14]    + encoder: lame
[14:53:14]      + bitrate: 112 kbps, samplerate: 44100 Hz
[14:53:14] encavcodec: truncating framerate 45017 / 1125000
[14:53:14] enclame: opening libmp3lame
[14:53:14] reader: first SCR 7200 id 1 DTS 0
[14:53:14] sync: first pts is 7200
Assertion failed: q>0.0, file libavcodec/ratecontrol.c, line 764

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
x264 and theora works, HB doesn't crash. I know that bitrate is insane, but isn't possible put some kind of check to make HB abort the encode in such cases?

Test clip: http://www.dailymotion.com/video/xcl2jf ... _lifestyle

EDIT: forgot verbose output...
mduell
Veteran User
Posts: 7364
Joined: Sat Apr 21, 2007 8:54 pm

Re: Crash with low video bitrate/no audio

Post by mduell »

That's not low bitrate, it's no bitrate. The audio alone would be more than 1MB.
Dukers
Posts: 43
Joined: Sat Jun 27, 2009 1:39 am

Re: Crash with low video bitrate/no audio

Post by Dukers »

mduell wrote:That's not low bitrate, it's no bitrate. The audio alone would be more than 1MB.
You're right. But x264 and Theora in the same situation doesn't crash, despite HB showing "Calculated bitrate: 0 kbps".
Post Reply