I am using the Apple TV preset for the HandBrakeCLI in Linux [Fedora 8] with two pass encoding. I encoded the main feature of this DVD [Over the Hedge] without any issues, but when I go to encode one of the extra features on the DVD, I get an error x264 [error]: empty stats file.
Below is the output of the command and the resultant error/seg fault.
Does anyone have any ideas on how to get around this? I've tried this same exact encode on a Intel iMac running Leopard, and HandBrake just quits unexpectedly.
I have used these same option for encoding many other DVDs without issue.
Anyone have any ideas on this?
Code: Select all
[root@intelc2d ~]# nice -n -19 HandBrakeCLI -i /dev/scd0 -o "/home/uquevedo/Movies/OVER_THE_HEDGE_76.mp4" -e x264 -b 2500 -B 160 -R 48 -E faac -f mp4 -x bframes=3:ref=1:subme=5:me=umh:no-fast-pskip=1:trellis=2:cabac=0 -m -p -v -2 -t 76
[19:22:03] hb_init: checking cpu count
[19:22:03] hb_init: starting libhb thread
[19:22:03] thread e8ab90 started ("libhb")
HandBrake 0.9.1 (2007100800) - http://handbrake.m0k.org/
2 CPUs detected
Opening /dev/scd0...
[19:22:03] hb_scan: path=/dev/scd0, title_index=76
[19:22:03] thread 188bb90 started ("scan")
[19:22:03] scan: trying to open with libdvdread
[19:22:03] scan: DVD has 78 title(s)
[19:22:03] scan: scanning title 76
[19:22:03] scan: opening IFO for VTS 24
[19:22:03] pgc_id: 5, pgn: 1: pgc: 0x95f93f8
[19:22:03] scan: vts=24, ttn=2, cells=0->0, blocks=2814->111437, 108624 blocks
[19:22:03] scan: duration is 00:04:31 (271033 ms)
[19:22:03] scan: checking audio 1
[19:22:03] scan: id=80bd, lang=English (AC3), 3cc=eng
[19:22:03] scan: checking audio 2
[19:22:03] scan: id=81bd, lang=English (AC3), 3cc=eng
[19:22:03] scan: checking audio 3
[19:22:03] scan: id=82bd, lang=Francais (AC3), 3cc=fre
[19:22:03] scan: checking audio 4
[19:22:03] scan: id=83bd, lang=Espanol (AC3), 3cc=spa
[19:22:03] scan: checking audio 5
[19:22:03] scan: id=84bd, lang=English (AC3), 3cc=eng
[19:22:03] scan: checking subtitle 1
[19:22:03] scan: id=20bd, lang=English, 3cc=eng
[19:22:03] scan: checking subtitle 2
[19:22:03] scan: id=21bd, lang=Francais, 3cc=fre
[19:22:03] scan: checking subtitle 3
[19:22:03] scan: id=22bd, lang=Espanol, 3cc=spa
[19:22:03] scan: checking subtitle 4
[19:22:03] scan: id=23bd, lang=English, 3cc=eng
[19:22:03] scan: checking subtitle 5
[19:22:03] scan: id=24bd, lang=Francais, 3cc=fre
[19:22:03] scan: checking subtitle 6
[19:22:03] scan: id=25bd, lang=Espanol, 3cc=spa
[19:22:03] scan: title 76 has 8 chapters
[19:22:03] scan: chapter 2 too short (-16776960 blocks, cells=1->1), merging
[19:22:03] scan: chapter 3 too short (-16776960 blocks, cells=1->1), merging
[19:22:03] scan: chapter 3 too short (0 blocks, cells=2->0), merging
[19:22:03] scan: chap 1 c=0->1, b=111647->111469 (-16668336), 135516 ms
[19:22:03] scan: chap 2 c=0->0, b=111810->111822 (-16668336), 135516 ms
[19:22:03] scan: aspect = 16
[19:22:03] scan: decoding previews for title 76
[19:22:03] scan: preview 1
[19:22:03] scan: AC3, rate=48000Hz, bitrate=448000
[19:22:03] scan: AC3, rate=48000Hz, bitrate=384000
[19:22:03] scan: AC3, rate=48000Hz, bitrate=192000
[19:22:03] scan: AC3, rate=48000Hz, bitrate=192000
[19:22:03] scan: AC3, rate=48000Hz, bitrate=192000
[19:22:04] scan: preview 2
[19:22:04] scan: preview 3
[19:22:04] scan: preview 4
[19:22:04] scan: preview 5
[19:22:04] scan: preview 6
[19:22:04] Title's mostly progressive NTSC, setting fps to 23.976
[19:22:04] scan: preview 7
[19:22:04] scan: preview 8
[19:22:04] scan: preview 9
[19:22:04] scan: preview 10
[19:22:04] scan: 720x480, 23.976 fps, autocrop = 0/2/4/4
[19:22:04] scan: title (0) job->width:720, job->height:400
[19:22:04] thread 188bb90 exited ("scan")
[19:22:04] thread 188bb90 joined ("scan")
[19:22:04] libhb: scan thread found 1 valid title(s)
+ title 76:
+ vts 24, ttn 2, cells 0->0 (108624 blocks)
+ duration: 00:04:31
+ size: 720x480, aspect: 1.78, 23.976 fps
+ autocrop: 0/2/4/4
+ chapters:
+ 1: cells 0->1, -16668336 blocks, duration 00:02:16
+ 2: cells 0->0, -16668336 blocks, duration 00:02:16
+ audio tracks:
+ 1, English (AC3) (5.1 ch), 48000Hz, 448000bps
+ 2, English (AC3) (Dolby Surround), 48000Hz, 192000bps
+ 3, Francais (AC3) (5.1 ch), 48000Hz, 384000bps
+ 4, Espanol (AC3) (Dolby Surround), 48000Hz, 192000bps
+ 5, English (AC3) (2.0 ch), 48000Hz, 192000bps
+ subtitle tracks:
+ 1, English (iso639-2: eng)
+ 2, Francais (iso639-2: fre)
+ 3, Espanol (iso639-2: spa)
+ 4, English (iso639-2: eng)
+ 5, Francais (iso639-2: fre)
+ 6, Espanol (iso639-2: spa)
Applying the following x264 options: bframes=3:ref=1:subme=5:me=umh:no-fast-pskip=1:trellis=2:cabac=0
[19:22:04] thread 188bb90 started ("work")
[19:22:04] 2 job(s) to process
[19:22:04] starting job
[19:22:04] + device /dev/scd0
[19:22:04] + title 76, chapter(s) 1 to 2
[19:22:04] + 720x480 -> 712x478, crop 0/2/4/4
[19:22:04] + grayscale off
[19:22:04] + filters
[19:22:04] + 23.976 fps, video bitrate 2500 kbps, pass 1
[19:22:04] + PixelRatio: 1, width:712, height: 478
[19:22:04] + encoder x264
[19:22:04] + audio 160 kbps, 48000 Hz
[19:22:04] + encoder faac
[19:22:04] thread 5a3eb90 started ("reader")
[19:22:04] + output: /home/uquevedo/Movies/OVER_THE_HEDGE_75.mp4
[19:22:04] thread 228cb90 started ("muxer")
[19:22:04] thread 2c8db90 started ("MPEG-2 decoder (libmpeg2)")
[19:22:04] thread 368eb90 started ("Renderer")
[19:22:04] encx264: encoding with stored aspect 32/27
[19:22:04] encx264: opening libx264 (pass 1)
x264 [warning]: width or height not divisible by 16 (712x478), compression will suffer.
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2
[19:22:04] thread 46a7b90 started ("H.264/AVC encoder (libx264)")
[19:22:04] sync: expecting 6522 video frames
[19:22:04] reader: end of chapter 2 reached (6)
[19:22:04] reader: done
[19:22:04] thread 5a3eb90 exited ("reader")
[19:22:04] sync: got 0 frames, 6522 expected
[19:22:04] thread 46a7b90 exited ("H.264/AVC encoder (libx264)")
[19:22:04] thread 368eb90 exited ("Renderer")
[19:22:04] thread 2c8db90 exited ("MPEG-2 decoder (libmpeg2)")
[19:22:04] thread 2c8db90 joined ("MPEG-2 decoder (libmpeg2)")
[19:22:04] thread 368eb90 joined ("Renderer")
[19:22:04] fifo_close: trashing 0 buffer(s)
[19:22:04] thread 46a7b90 joined ("H.264/AVC encoder (libx264)")
x264 [info]: final ratefactor: 16.15
[19:22:04] thread 5a3eb90 joined ("reader")
[19:22:04] thread 228cb90 exited ("muxer")
[19:22:04] thread 228cb90 joined ("muxer")
[19:22:04] fifo_close: trashing 0 buffer(s)
[19:22:04] fifo_close: trashing 0 buffer(s)
[19:22:04] fifo_close: trashing 0 buffer(s)
[19:22:04] fifo_close: trashing 0 buffer(s)
[19:22:04] fifo_close: trashing 0 buffer(s)
[19:22:04] Freed 0 buffers of size 512
[19:22:04] Freed 0 buffers of size 1024
[19:22:04] Freed 2 buffers of size 2048
[19:22:04] Freed 0 buffers of size 4096
[19:22:04] Freed 0 buffers of size 8192
[19:22:04] Freed 0 buffers of size 16384
[19:22:04] Freed 0 buffers of size 32768
[19:22:04] Freed 1 buffers of size 518400
[19:22:04] Allocated 522496 bytes of buffers on this pass and Freed 522496 bytes, 0 bytes leaked
[19:22:04] starting job
[19:22:04] + device /dev/scd0
[19:22:04] + title 76, chapter(s) 1 to 2
[19:22:04] + 720x480 -> 712x478, crop 0/2/4/4
[19:22:04] + grayscale off
[19:22:04] + filters
[19:22:04] + 23.976 fps, video bitrate 2500 kbps, pass 2
[19:22:04] + PixelRatio: 1, width:712, height: 478
[19:22:04] + encoder x264
[19:22:04] + audio 160 kbps, 48000 Hz
[19:22:04] + encoder faac
[19:22:04] + 80bd, English (AC3) (5.1 ch)
[19:22:04] + Requested mixdown: Dolby Pro Logic II (HB_AMIXDOWN_DOLBYPLII)
[19:22:04] + Actual mixdown: Dolby Pro Logic II (HB_AMIXDOWN_DOLBYPLII)
[19:22:04] thread 228cb90 started ("reader")
[19:22:04] + output: /home/uquevedo/Movies/OVER_THE_HEDGE_75.mp4
[19:22:04] thread 5a3eb90 started ("muxer")
[19:22:04] thread 46a7b90 started ("MPEG-2 decoder (libmpeg2)")
[19:22:04] thread 2c8db90 started ("Renderer")
[19:22:04] encx264: encoding with stored aspect 32/27
[19:22:04] encx264: opening libx264 (pass 2)
x264 [warning]: width or height not divisible by 16 (712x478), compression will suffer.
x264 [info]: using SAR=32/27
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2
x264 [error]: empty stats file
Segmentation fault
-Ubence