Note: AppleTV only supports 30 fps video sources @ 960x540 resolution. While iTunes supports the native HD resolution.
Syntax:
Code: Select all
./HandBrakeCLI -i /Volumes/Encode/TheTonightShow.mpg -o /Volumes/New\ Downloads/HD_Video.m4v -w 960 -l 540 -m -F -q 0.65 -Q -e x264 -r 29.97 --deinterlace="1" -E facc -B 384 -R 44.1 -6 6ch -v -x keyint=300:keyint-min=30:bframes=6:ref=3:mixed-refs=1:subq=5:me=umh:no-fast-pskip=1:trellis=0:no-dct-decimate=1:vbv-maxrate=4900:vbv-bufsize=2500
Code: Select all
[15:47:30] hb_init: checking cpu count
[15:47:30] hb_init: starting libhb thread
[15:47:30] thread 1804200 started ("libhb")
HandBrake 0.9.0 (2007081900) - http://handbrake.m0k.org/
2 CPUs detected
Opening /Volumes/Encode/TheTonightShow.mpg...
[15:47:30] hb_scan: path=/Volumes/Encode/TheTonightShow.mpg, title_index=1
[15:47:30] thread 1804600 started ("scan")
[15:47:30] scan: trying to open with libdvdread
ERROR: dvd: DVDOpen failed (/Volumes/Encode/TheTonightShow.mpg)[15:47:30] scan: trying to open as MPEG-2 Stream
[15:47:30] scan: decoding previews for title 0
[15:47:30] scan: preview 1
[15:47:30] scan: AC3, rate=48000Hz, bitrate=384000
[15:47:30] scan: preview 2
[15:47:30] scan: preview 3
[15:47:30] scan: preview 4
Scanning title 0...
[15:47:30] scan: preview 5
[15:47:30] scan: preview 6
[15:47:30] scan: preview 7
[15:47:31] scan: preview 8
Scanning title 0...
[15:47:31] scan: preview 9
[15:47:31] scan: preview 10
[15:47:31] scan: 1920x1088, 29.970 fps, autocrop = 0/0/0/0
[15:47:31] hb_stream_update_audio: id=80bd, lang=Unknown (AC3) (5.1 ch), 3cc=und, rate = 48000, bitrate = 384000, flags = 0x17 (23)
[15:47:31] scan: title (0) job->width:1920, job->height:1088
[15:47:31] thread 1804600 exited ("scan")
[15:47:31] thread 1804600 joined ("scan")
[15:47:31] libhb: scan thread found 1 valid title(s)
+ title 0:
+ vts 0, ttn 0, cells 0->0 (0 blocks)
+ duration: 00:00:49
+ size: 1920x1088, aspect: 1.78, 29.970 fps
+ autocrop: 0/0/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 00:00:49
+ audio tracks:
+ 1, Unknown (AC3) (5.1 ch), 48000Hz, 384000bps
+ subtitle tracks:
Applying the following x264 options: keyint=300:keyint-min=30:bframes=6:ref=3:mixed-refs=1:subq=5:me=umh:no-fast-pskip=1:trellis=0:no-dct-decimate=1:vbv-maxrate=4900:vbv-bufsize=2500
[15:47:31] thread 1804600 started ("work")
[15:47:31] 1 job(s) to process
[15:47:31] starting job
[15:47:31] + device /Volumes/Encode/TheTonightShow.mpg
[15:47:31] + title 0, chapter(s) 1 to 1
[15:47:31] + 1920x1088 -> 960x540, crop 0/0/0/0
[15:47:31] + grayscale off
[15:47:31] + filters
[15:47:31] + Deinterlace (ffmpeg or yadif/mcdeint) (1)
[15:47:31] + 29.970 fps, video quality 0.65
[15:47:31] + PixelRatio: 0, width:960, height: 540
[15:47:31] + encoder x264
[15:47:31] + audio 384 kbps, 44100 Hz
[15:47:31] + encoder faac
[15:47:31] + 80bd, Unknown (AC3) (5.1 ch)
[15:47:31] + Requested mixdown: 6-channel discrete (HB_AMIXDOWN_6CH)
[15:47:31] + Actual mixdown: 6-channel discrete (HB_AMIXDOWN_6CH)
[15:47:31] thread 1806a00 started ("reader")
[15:47:31] + output: /Volumes/New Downloads/HD_Video.m4v
ERROR: dvd: DVDOpen failed (/Volumes/Encode/TheTonightShow.mpg)[15:47:31] thread 1807400 started ("muxer")
[15:47:31] thread 1816a00 started ("MPEG-2 decoder (libmpeg2)")
[15:47:31] thread 1c5d200 started ("Renderer")
[15:47:31] encx264: Encoding at constant RF 17.850002
[15:47:31] encx264: opening libx264 (pass 0)
x264 [warning]: width or height not divisible by 16 (960x540), compression will suffer.
x264 [info]: using cpu capabilities: MMX MMXEXT SSE SSE2
[15:47:31] thread 1ca9e00 started ("H.264/AVC encoder (libx264)")
No accelerated IMDCT transform found
[15:47:31] thread 1ca9a00 started ("AC3 decoder")
[15:47:31] thread 1cbc800 started ("AAC encoder (libfaac)")
[15:47:31] sync: expecting 1499 video frames
[15:47:31] sync: first pts is 13206
Encoding: task 1 of 1, 92.19 % (4.23 fps, avg 4.38 fps, ETA 00h00m26s)[15:52:47] reader: done
[15:52:47] thread 1806a00 exited ("reader")
Encoding: task 1 of 1, 98.67 % (4.50 fps, avg 4.38 fps, ETA 00h00m05s)[15:53:09] sync: got 1480 frames, 1499 expected
Encoding: task 1 of 1, 98.73 % (4.50 fps, avg 4.38 fps, ETA 00h00m05s)[15:53:16] thread 1ca9e00 exited ("H.264/AVC encoder (libx264)")
[15:53:16] thread 1ca9a00 exited ("AC3 decoder")
[15:53:16] thread 1816a00 exited ("MPEG-2 decoder (libmpeg2)")
[15:53:16] thread 1cbc800 exited ("AAC encoder (libfaac)")
[15:53:16] thread 1816a00 joined ("MPEG-2 decoder (libmpeg2)")
[15:53:16] mux: file size, 18758853 bytes
[15:53:16] mux: track 0, 17542918 bytes, 2859.34 kbps
[15:53:16] mux: track 1, 1176680 bytes, 191.79 kbps
[15:53:16] mux: overhead, 10.96 bytes per frame
[15:53:16] thread 1807400 exited ("muxer")
[15:53:16] thread 1c5d200 exited ("Renderer")
[15:53:16] thread 1c5d200 joined ("Renderer")
[15:53:16] fifo_close: trashing 1 buffer(s)
[15:53:16] thread 1ca9e00 joined ("H.264/AVC encoder (libx264)")
x264 [info]: slice I:8 Avg QP:18.12 size: 96039 PSNR Mean Y:45.01 U:47.50 V:47.27 Avg:45.66 Global:45.42
x264 [info]: slice P:436 Avg QP:19.27 size: 25043 PSNR Mean Y:43.99 U:46.80 V:46.44 Avg:44.70 Global:44.62
x264 [info]: slice B:1027 Avg QP:21.40 size: 5701 PSNR Mean Y:43.30 U:46.70 V:46.33 Avg:44.13 Global:44.06
x264 [info]: mb I I16..4: 14.8% 0.0% 85.2%
x264 [info]: mb P I16..4: 2.5% 0.0% 3.0% P16..4: 56.2% 25.0% 10.7% 0.0% 0.0% skip: 2.5%
x264 [info]: mb B I16..4: 0.1% 0.0% 0.5% B16..8: 17.0% 2.0% 4.3% direct: 8.5% skip:67.6%
x264 [info]: ref P 79.1% 11.7% 9.1%
x264 [info]: ref B 88.6% 7.2% 4.2%
x264 [info]: SSIM Mean Y:0.9811665
x264 [info]: PSNR Mean Y:43.514 U:46.734 V:46.365 Avg:44.306 Global:44.226 kb/s:2859.25
[15:53:16] thread 1ca9a00 joined ("AC3 decoder")
[15:53:16] thread 1cbc800 joined ("AAC encoder (libfaac)")
[15:53:16] thread 1806a00 joined ("reader")
[15:53:16] thread 1807400 joined ("muxer")
[15:53:16] fifo_close: trashing 0 buffer(s)
[15:53:16] fifo_close: trashing 0 buffer(s)
[15:53:16] fifo_close: trashing 0 buffer(s)
[15:53:16] fifo_close: trashing 1 buffer(s)
[15:53:16] fifo_close: trashing 0 buffer(s)
[15:53:16] Freed 4 buffers of size 512
[15:53:16] Freed 2 buffers of size 1024
[15:53:16] Freed 2048 buffers of size 2048
[15:53:16] Freed 0 buffers of size 4096
[15:53:16] Freed 13 buffers of size 8192
Muxing: 0.00 %[15:53:16] Freed 0 buffers of size 16384
[15:53:16] Freed 0 buffers of size 32768
[15:53:17] Freed 137 buffers of size 3133440
[15:53:17] Allocated 433750016 bytes of buffers on this pass and Freed 433586176 bytes, 163840 bytes leaked
[15:53:17] fifo_close: trashing 0 buffer(s)
[15:53:17] fifo_close: trashing 0 buffer(s)
[15:53:17] fifo_close: trashing 0 buffer(s)
[15:53:17] fifo_close: trashing 20 buffer(s)
[15:53:17] thread 1804600 exited ("work")
[15:53:17] thread 1804600 joined ("work")
[15:53:17] libhb: work result = 0
Rip done!
[15:53:17] thread 1804200 exited ("libhb")
[15:53:17] thread 1804200 joined ("libhb")
HandBrake has exited.
- Original MPEG Program Stream = 94MB (50secs)
Original MPEG Program Stream bitrate = 15.94 mbits/s
Converted .264 m4v = 17.9MB
Converted .264 bitrate (Video) = 2854.82 kbits/s
Converted .264 bitrate (Audio) = 192.18 kbits/s