1. an mkv @ 1280 resolution, shooting for ~1.0-1.5 GB(ish)
2. an mp4 for my daughter's iPod Classic and her Droid 4, shooting for ~500MB(ish)
I think I have the video part down reasonably well (at least good enough for me). For the 1280 resolution, it's primary use is for viewing on laptops and/or "non-theater" home systems. I take a Passport 1.5 TB and my laptop with me on deployments, so although I want to minimize storage size, I don't want crappy quality as I can sometimes hook it up to a flatscreen TV in the dayroom. I use the High Profile base setting, with RF22 (bluray) or RF20 (standard). For my daughter's iPod, I use the iPod Legacy setting, with RF22 also, regardless of the source, with the idea of minimizing storage size for purposes of portability for her.
What is confusing me is the audio part. This page is quite helpful, but at the same time rather confusing (not the brightest bulb, I admit).
I'm kinda lost as to what to use. If I understand things properly
1. the 6-channel 'discrete' requires special hardware. I don't want to have to use anything other than an HDMI cable, so even though this minimizes file size, this might not be useful
2. "pass-thru" will result in the largest filesize when Handbraking, other than an original DTS-HD/TrueHD
3. aac audio codec is required for the iPod.
Assuming all of the above are correct, here are some questions (I apologize, i really have read a ton on it, but I'm not the brightest bulb, and deciphering through the arguments gets confusing)
1. AC3 vs. AAC. Is there a specific time to use AC3, or should I just stick with aac? If so, ffmpeg or faac for the codec? Which 'mixdown' is best for minimizing filesize for an ipod and/or a laptop which will most likely be played with headphones?
2. I had been using the basic stereo setting as the mixdown for the iPod with the hopes that it was minimizing the filesize. does this make sense
3. Obviously the smaller the samplerate and bitrate, the smaller the filesize, but are there any general guidelines with how much is "too much"?
4. Several of the BluRays have several audio choices. For example, I'm looking at the X-Men Origins: Wolverine BD, and it gives me the following choices in makeMKV:
- DTS-HD Lossless
- DTS 3/2+1
- DD 3/2+1
I assume that whatever I choose here would result in the audio tracks available to Handbrake. Is there ever a reason to include the DD for my 'base' mkv so that it will be available to me in handbrake for future transcoding?
anyway, the rules say "post logs", so here are some logs
Batman Begins, handbraked for my daughter's iPod, using a BluRay MKV source:
Code: Select all
HandBrake 0.9.8 2012071700
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
Ram: 8091 MB, Screen: 1920x1080
Temp Dir: C:\Users\Rob\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Rob\AppData\Roaming\HandBrake\HandBrake\0.9.8.4861
-------------------------------------------
CLI Query: -i "C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv" -t 1 -c 1 -o "C:\Users\Rob\My Movies\handbrake\Batman Begins (2005) iPLeg.640_RF22.faac.STER.24.32.iP5G.mp4" -f mp4 -I -w 640 -l 272 -e x264 -q 22 --vfr -a 2 -E faac -B 32 -6 stereo -R 24 -D 0 --gain=0 --audio-copy-mask none --audio-fallback ffac3 -x level=30:bframes=0:weightp=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 --verbose=1
User Query: False
[11:46:55] hb_init: starting libhb thread
HandBrake 0.9.8 (2012071700) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv...
[11:46:55] hb_scan: path=C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv) failed (000000000034EDA0)
[11:46:55] 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
[11:46:55] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv':
Metadata:
title : Batman Begins (2005) [FULL BD] 1920.TrueHD
Duration: 02:20:02.99, start: 0.000000, bitrate: 640 kb/s
Stream #0.0(eng): Video: vc1 (Advanced), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(eng): Audio: truehd, 48000 Hz, 5.1, s32 (default)
Metadata:
title : 5.1
Stream #0.2(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
Metadata:
title : 3/2+1
Stream #0.3(eng): Subtitle: pgssub (default)
[11:46:55] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17006
[11:46:55] scan: decoding previews for title 1
[11:46:55] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
[11:46:55] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 128/152/0/0, aspect 16:9, PAR 1:1
[11:46:55] scan: title (0) job->width:1920, job->height:800
[11:46:55] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv
+ duration: 02:20:02
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 128/152/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 02:20:02
+ audio tracks:
+ 1, English (truehd) (5.1 ch) (iso639-2: eng)
+ 2, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
+ subtitle tracks:
[11:46:55] 1 job(s) to process
[11:46:55] starting job
[11:46:55] work: sanitizing track 1 audio bitrate 32 to 64
[11:46:55] sync: expecting 201470 video frames
[11:46:55] job configuration:
[11:46:55] * source
[11:46:55] + C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv
[11:46:55] + title 1, chapter(s) 1 to 1
[11:46:55] + container: matroska,webm
[11:46:55] + data rate: 640 kbps
[11:46:55] * destination
[11:46:55] + C:\Users\Rob\My Movies\handbrake\Batman Begins (2005) iPLeg.640_RF22.faac.STER.24.32.iP5G.mp4
[11:46:55] + container: MPEG-4 (.mp4 and .m4v)
[11:46:55] + compatibility atom for iPod 5G
[11:46:55] * video track
[11:46:55] + decoder: vc1
[11:46:55] + frame rate: same as source (around 23.976 fps)
[11:46:55] + dimensions: 1920 * 1080 -> 640 * 272, crop 128/152/0/0, mod 0
[11:46:55] + encoder: H.264 (x264)
[11:46:55] + options: level=30:bframes=0:weightp=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
[11:46:55] + quality: 22.00 (RF)
[11:46:55] * audio track 1
[11:46:55] + decoder: English (AC3) (5.1 ch) (track 2, id 0x2)
[11:46:55] + bitrate: 640 kbps, samplerate: 48000 Hz
[11:46:55] + mixdown: Stereo
[11:46:55] + encoder: AAC (faac)
[11:46:55] + bitrate: 64 kbps, samplerate: 24000 Hz
[11:46:55] reader: first SCR 0 id 0x0 DTS 0
[11:46:55] encx264: min-keyint: 24, keyint: 240
[11:46:55] encx264: Encoding at constant RF 22.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264 [info]: profile Constrained Baseline, level 3.0
[11:46:56] sync: adding 83 ms of silence to audio 0x2 start 7470, next 0
[12:35:16] reader: done. 1 scr changes
[12:35:17] work: average encoding speed for job is 69.439842 fps
[12:35:18] sync: got 201467 frames, 201470 expected
[12:35:18] vc1-decoder done: 201467 frames, 0 decoder errors, 0 drops
[12:35:18] render: lost time: 0 (0 frames)
[12:35:18] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:5841 Avg QP:20.99 size: 9069 PSNR Mean Y:45.63 U:49.02 V:50.11 Avg:46.44 Global:45.26
x264 [info]: frame P:195626 Avg QP:23.70 size: 2218 PSNR Mean Y:43.33 U:48.89 V:49.48 Avg:44.26 Global:43.39
x264 [info]: mb I I16..4: 49.3% 0.0% 50.7%
x264 [info]: mb P I16..4: 5.9% 0.0% 3.2% P16..4: 41.0% 12.2% 0.6% 0.0% 0.2% skip:36.9%
x264 [info]: coded y,uvDC,uvAC intra: 37.3% 38.4% 10.5% inter: 11.6% 6.1% 0.3%
x264 [info]: i16 v,h,dc,p: 40% 24% 16% 20%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 19% 20% 6% 7% 7% 6% 6% 5%
x264 [info]: i8c dc,h,v,p: 60% 17% 19% 4%
x264 [info]: SSIM Mean Y:0.9811369 (17.244db)
x264 [info]: PSNR Mean Y:43.396 U:48.898 V:49.501 Avg:44.327 Global:43.432 kb/s:463.51
[12:35:22] mux: track 0, 201467 frames, 486742394 bytes, 463.40 kbps, fifo 8192
[12:35:22] mux: track 1, 196946 frames, 67158775 bytes, 63.94 kbps, fifo 8192
[12:35:22] libhb: work result = 0
Encode done!
HandBrake has exited.
Code: Select all
HandBrake 0.9.8 2012071700
OS: Microsoft Windows NT 6.1.7601 Service Pack 1
CPU: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz
Ram: 8091 MB, Screen: 1920x1080
Temp Dir: C:\Users\Rob\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\Rob\AppData\Roaming\HandBrake\HandBrake\0.9.8.4861
-------------------------------------------
CLI Query: -i "C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv" -t 1 -c 1 -o "C:\Users\Rob\My Movies\handbrake\Batman Begins (2005) 1280.RF22.ac3ff.SURR.48.96" -f mkv --decomb -w 1280 --loose-anamorphic -e x264 -q 22 --vfr -a 1 -E ffac3 -B 96 -6 dpl1 -R 48 -D 0 --gain=0 --audio-copy-mask none --audio-fallback ffac3 -x b-adapt=2:rc-lookahead=50 --verbose=1
User Query: False
[15:17:23] hb_init: starting libhb thread
HandBrake 0.9.8 (2012071700) - MinGW x86_64 - http://handbrake.fr
8 CPUs detected
Opening C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv...
[15:17:23] hb_scan: path=C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv, title_index=1
libbluray/bdnav/index_parse.c:157: indx_parse(): error opening C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv/BDMV/index.bdmv
libbluray/bluray.c:1471: nav_get_title_list(C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv) failed (000000000034E8C0)
[15:17:23] 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:17:23] dvd: not a dvd - trying as a stream/file instead
Input #0, matroska,webm, from 'C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv':
Metadata:
title : Batman Begins (2005) [FULL BD] 1920.TrueHD
Duration: 02:20:02.99, start: 0.000000, bitrate: 640 kb/s
Stream #0.0(eng): Video: vc1 (Advanced), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(eng): Audio: truehd, 48000 Hz, 5.1, s32 (default)
Metadata:
title : 5.1
Stream #0.2(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s
Metadata:
title : 3/2+1
Stream #0.3(eng): Subtitle: pgssub (default)
[15:17:24] add_ffmpeg_subtitle: unknown subtitle stream type: 0x17006
[15:17:24] scan: decoding previews for title 1
Scanning title 1...
Scanning title 1...
[15:17:24] scan: audio 0x2: AC-3, rate=48000Hz, bitrate=640000 English (AC3) (5.1 ch)
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
[15:17:25] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 128/152/0/0, aspect 16:9, PAR 1:1
[15:17:25] scan: title (0) job->width:1920, job->height:800
Scanning title 1...
[15:17:25] libhb: scan thread found 1 valid title(s)
+ title 1:
+ stream: C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv
+ duration: 02:20:02
+ size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
+ autocrop: 128/152/0/0
+ chapters:
+ 1: cells 0->0, 0 blocks, duration 02:20:02
+ audio tracks:
+ 1, English (truehd) (5.1 ch) (iso639-2: eng)
+ 2, English (AC3) (5.1 ch) (iso639-2: eng), 48000Hz, 640000bps
+ subtitle tracks:
[15:17:25] 1 job(s) to process
[15:17:25] starting job
[15:17:25] sync: expecting 201470 video frames
[15:17:25] job configuration:
[15:17:25] * source
[15:17:25] + C:\Users\Rob\My Movies\makeMKV\Batman Begins (2005) [FULL BD] 1920.TrueHD.mkv
[15:17:25] + title 1, chapter(s) 1 to 1
[15:17:25] + container: matroska,webm
[15:17:25] + data rate: 640 kbps
[15:17:25] * destination
[15:17:25] + C:\Users\Rob\My Movies\handbrake\Batman Begins (2005) 1280.RF22.ac3ff.SURR.48.96
[15:17:25] + container: Matroska (.mkv)
[15:17:25] * video track
[15:17:25] + decoder: vc1
[15:17:25] + frame rate: same as source (around 23.976 fps)
[15:17:25] + loose anamorphic
[15:17:25] + storage dimensions: 1920 * 1080 -> 1280 * 528, crop 128/152/0/0, mod 0
[15:17:25] + pixel aspect ratio: 99 / 100
[15:17:25] + display dimensions: 1267 * 528
[15:17:25] + filter
[15:17:25] + Decomb (default settings)
[15:17:25] + encoder: H.264 (x264)
[15:17:25] + options: b-adapt=2:rc-lookahead=50
[15:17:25] + quality: 22.00 (RF)
[15:17:25] * audio track 1
[15:17:25] + decoder: English (truehd) (5.1 ch) (track 1, id 0x1)
[15:17:25] + mixdown: Dolby Surround
[15:17:25] + encoder: AC3 (ffmpeg)
[15:17:25] + bitrate: 96 kbps, samplerate: 48000 Hz
[15:17:25] reader: first SCR 0 id 0x0 DTS 0
[15:17:25] yadif thread started for segment 0
[15:17:25] yadif thread started for segment 1
[15:17:25] yadif thread started for segment 2
[15:17:25] yadif thread started for segment 3
[15:17:25] yadif thread started for segment 4
[15:17:25] yadif thread started for segment 5
[15:17:25] yadif thread started for segment 6
[15:17:25] yadif thread started for segment 7
[15:17:25] decomb thread started for segment 0
[15:17:25] decomb thread started for segment 1
[15:17:25] decomb thread started for segment 2
[15:17:25] decomb thread started for segment 3
[15:17:25] decomb thread started for segment 4
[15:17:25] decomb thread started for segment 5
[15:17:25] decomb thread started for segment 6
[15:17:25] decomb thread started for segment 7
[15:17:25] encx264: min-keyint: 24, keyint: 240
[15:17:25] encx264: encoding with stored aspect 99/100
[15:17:25] encx264: Encoding at constant RF 22.000000
x264 [warning]: --psnr used with psy on: results will be invalid!
x264 [warning]: --tune psnr should be used if attempting to benchmark psnr!
x264 [info]: using SAR=99/100
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX
x264 [info]: profile High, level 3.1
[15:17:26] sync: video time didn't advance - dropped 2 frames (delta 41 ms, current 0, next 3780, dur 3780)
[17:22:23] reader: done. 1 scr changes
[17:22:26] work: average encoding speed for job is 26.865631 fps
[17:22:26] sync: got 201465 frames, 201470 expected
[17:22:26] vc1-decoder done: 201467 frames, 0 decoder errors, 0 drops
[17:22:26] render: lost time: 0 (0 frames)
[17:22:26] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:2612 Avg QP:18.83 size: 36514 PSNR Mean Y:47.26 U:49.74 V:51.73 Avg:47.99 Global:47.66
x264 [info]: frame P:60847 Avg QP:21.85 size: 9870 PSNR Mean Y:46.33 U:50.62 V:52.35 Avg:47.16 Global:46.33
x264 [info]: frame B:138005 Avg QP:23.58 size: 3827 PSNR Mean Y:45.25 U:49.79 V:51.52 Avg:46.14 Global:45.59
x264 [info]: consecutive B-frames: 4.1% 6.7% 21.0% 68.2%
x264 [info]: mb I I16..4: 17.1% 67.3% 15.6%
x264 [info]: mb P I16..4: 4.2% 11.3% 1.4% P16..4: 37.4% 9.3% 6.2% 0.0% 0.0% skip:30.3%
x264 [info]: mb B I16..4: 0.4% 1.4% 0.2% B16..8: 41.3% 3.2% 0.5% direct: 1.8% skip:51.2% L0:43.8% L1:52.9% BI: 3.3%
x264 [info]: 8x8 transform intra:67.5% inter:86.4%
x264 [info]: coded y,uvDC,uvAC intra: 52.6% 59.4% 19.0% inter: 12.3% 15.7% 0.2%
x264 [info]: i16 v,h,dc,p: 36% 18% 6% 40%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 17% 19% 6% 8% 8% 8% 7% 7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 20% 13% 6% 9% 8% 8% 5% 5%
x264 [info]: i8c dc,h,v,p: 57% 19% 20% 5%
x264 [info]: Weighted P-Frames: Y:3.6% UV:1.1%
x264 [info]: ref P L0: 58.6% 12.7% 19.3% 9.0% 0.3%
x264 [info]: ref B L0: 84.6% 12.3% 3.1%
x264 [info]: ref B L1: 93.1% 6.9%
x264 [info]: SSIM Mean Y:0.9834515 (17.812db)
x264 [info]: PSNR Mean Y:45.601 U:50.036 V:51.772 Avg:46.475 Global:45.820 kb/s:1165.40
[17:22:26] truehd-decoder done: 0 frames, 0 decoder errors, 0 drops
[17:22:26] mux: track 0, 201464 frames, 1223956963 bytes, 1165.28 kbps, fifo 8192
[17:22:26] mux: track 1, 262590 frames, 100834560 bytes, 96.00 kbps, fifo 8192
[17:22:26] decomb: deinterlaced 0 | blended 2 | unfiltered 201462 | total 201464
[17:22:26] libhb: work result = 0
Encode done!
HandBrake has exited.