Handbrake presets

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
dptempid
Posts: 4
Joined: Mon Aug 06, 2012 10:02 pm

Handbrake presets

Post by dptempid »

Can anyone tell my why the Handbrake presets rescale files to other odd sizes?

For example, when encoding a 1920x1080 movie, and selecting the Handbrake Apple TV preset, the output file changes to 1921x1042, or 1920x800?
See log below.

Apple TV 3 can play 1920x1080 files. Why are the dimensions of the file changed with the Handbrake preset, and not left 1080p?
This happens with the other presets as well, like iPad, and the output file is 1279x694 (instead of the standard 1280x720).

Code: Select all

HandBrake 0.9.8 2012071700
OS: Microsoft Windows NT 6.1.7600.0
CPU: Intel(R) Core(TM)2 Duo CPU     T9550  @ 2.66GHz
Ram: 8186 MB, Screen: 1920x1080
Temp Dir: C:\Users\David\AppData\Local\Temp\
Install Dir: C:\Program Files (x86)\Handbrake
Data Dir: C:\Users\David\AppData\Roaming\HandBrake\HandBrake\0.9.8.4861

-------------------------------------------
CLI Query:  -i D:\ -t 1 -c 1-33 -o "C:\Users\David\Desktop\Apple TV\Hulk 1080p.m4v"  -f mp4 -4  --decomb="7:2:6:9:1:80" -w 1920 --loose-anamorphic  --modulus 2 -e x264 -q 20 -r 30 --pfr  -a 1,1 -E faac,ffac3 -B 160,0 -6 dpl2,auto -R Auto,Auto -D 0,0 --gain=0,0 --audio-copy-mask none --audio-fallback ffac3 --markers="C:\Users\David\AppData\Local\Temp\Hulk 1080p-1-chapters.csv" -x b-adapt=2 --verbose=1
User Query: False

[10:05:19] hb_init: starting libhb thread
HandBrake 0.9.8 (2012071700) - MinGW x86_64 - http://handbrake.fr
2 CPUs detected
Opening D:\...
[10:05:19] hb_scan: path=D:\, title_index=1
[10:05:19] scan: BD has 28 title(s)
[10:05:19] bd: scanning title 1
[10:05:19] bd: playlist 00000.MPLS
[10:05:19] bd: duration is 02:18:13 (8293285 ms)
[10:05:19] bd: video id=0x1011, stream type=VC-1, format 1080p
[10:05:19] bd: aspect = 1.77778
[10:05:19] bd: audio id=0x711100, lang=English (DTS), 3cc=eng
[10:05:19] bd: audio id=0x1100, lang=English (DTS-HD MA), 3cc=eng
[10:05:19] bd: audio id=0x1101, lang=Espanol (DTS), 3cc=spa
[10:05:19] bd: audio id=0x1102, lang=Francais (DTS), 3cc=fra
[10:05:19] bd: audio id=0x1103, lang=Japanese (DTS), 3cc=jpn
[10:05:19] bd: audio id=0x1104, lang=Francais (DTS), 3cc=fra
[10:05:19] bd: audio id=0x1105, lang=Deutsch (DTS), 3cc=deu
[10:05:19] bd: audio id=0x1106, lang=Italiano (DTS), 3cc=ita
[10:05:19] bd: audio id=0x1107, lang=Espanol (DTS), 3cc=spa
[10:05:19] bd: audio id=0x1108, lang=English (AC3), 3cc=eng
[10:05:19] bd: chap 1 packet=960, 260301 ms
[10:05:19] bd: chap 2 packet=1208061120, 421379 ms
[10:05:19] bd: chap 3 packet=3233679552, 153611 ms
[10:05:19] bd: chap 4 packet=3963161472, 209083 ms
[10:05:19] bd: chap 5 packet=4885650240, 168585 ms
[10:05:19] bd: chap 6 packet=5657028672, 157699 ms
[10:05:19] bd: chap 7 packet=6358268352, 386344 ms
[10:05:19] bd: chap 8 packet=8194132032, 200950 ms
[10:05:19] bd: chap 9 packet=9163669248, 265181 ms
[10:05:19] bd: chap 10 packet=10354878144, 141808 ms
[10:05:19] bd: chap 11 packet=11066414592, 348014 ms
[10:05:19] bd: chap 12 packet=12736084032, 228186 ms
[10:05:19] bd: chap 13 packet=13751433600, 310143 ms
[10:05:19] bd: chap 14 packet=15163314240, 208833 ms
[10:05:19] bd: chap 15 packet=16140835392, 133216 ms
[10:05:19] bd: chap 16 packet=16834705344, 681597 ms
[10:05:19] bd: chap 17 packet=20011659840, 295795 ms
[10:05:19] bd: chap 18 packet=21424939200, 183683 ms
[10:05:19] bd: chap 19 packet=22300884288, 340298 ms
[10:05:19] bd: chap 20 packet=23864138496, 146229 ms
[10:05:19] bd: chap 21 packet=24586086720, 283574 ms
[10:05:19] bd: chap 22 packet=25857695616, 250166 ms
[10:05:19] bd: chap 23 packet=27146196096, 327660 ms
[10:05:19] bd: chap 24 packet=28782048576, 328411 ms
[10:05:19] bd: chap 25 packet=30356638080, 158324 ms
[10:05:19] bd: chap 26 packet=31135574016, 347972 ms
[10:05:19] bd: chap 27 packet=32809541760, 438855 ms
[10:05:19] bd: chap 28 packet=34864262592, 278403 ms
[10:05:19] bd: chap 29 packet=36219195072, 57057 ms
[10:05:19] bd: chap 30 packet=36482422080, 155989 ms
[10:05:19] bd: chap 31 packet=37190137536, 94260 ms
[10:05:19] bd: chap 32 packet=37635641664, 331414 ms
[10:05:19] bd: chap 33 packet=39018578112, 250 ms
[10:05:19] bd: title 1 has 33 chapters
[10:05:19] scan: decoding previews for title 1
[10:05:19] scan: title angle(s) 1
[10:05:19] scan: audio 0x711100: DCA, rate=48000Hz, bitrate=1536000 English (DTS) (5.1 ch)
[10:05:19] scan: audio 0x1101: DCA, rate=48000Hz, bitrate=768000 Espanol (DTS) (5.1 ch)
[10:05:19] scan: audio 0x1102: DCA, rate=48000Hz, bitrate=768000 Francais (DTS) (5.1 ch)
[10:05:19] scan: audio 0x1103: DCA, rate=48000Hz, bitrate=768000 Japanese (DTS) (5.1 ch)
[10:05:19] scan: audio 0x1104: DCA, rate=48000Hz, bitrate=768000 Francais (DTS) (5.1 ch)
[10:05:19] scan: audio 0x1105: DCA, rate=48000Hz, bitrate=768000 Deutsch (DTS) (5.1 ch)
[10:05:19] scan: audio 0x1106: DCA, rate=48000Hz, bitrate=768000 Italiano (DTS) (5.1 ch)
[10:05:19] scan: audio 0x1107: DCA, rate=48000Hz, bitrate=768000 Espanol (DTS) (5.1 ch)
[10:05:19] scan: audio 0x1100: dca, rate=48000Hz, bitrate=1536000 English (DTS-HD MA) (5.1 ch)
[10:05:19] scan: audio 0x1108: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (Dolby Surround)
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
Scanning title 1...
[10:05:20] scan: 10 previews, 1920x1080, 23.976 fps, autocrop = 16/24/2/0, aspect 16:9, PAR 1:1
[10:05:20] stream: 4 good frames, 0 errors (0%)
[10:05:20] scan: title (0) job->width:1920, job->height:1040
[10:05:20] libhb: scan thread found 1 valid title(s)
+ title 1:
  + playlist: 00000.MPLS
  + duration: 02:18:13
  + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 23.976 fps
  + autocrop: 16/24/2/0
  + chapters:
    + 1: cells 0->0, 0 blocks, duration 00:04:20
    + 2: cells 0->0, 0 blocks, duration 00:07:01
    + 3: cells 0->0, 0 blocks, duration 00:02:34
    + 4: cells 0->0, 0 blocks, duration 00:03:29
    + 5: cells 0->0, 0 blocks, duration 00:02:49
    + 6: cells 0->0, 0 blocks, duration 00:02:38
    + 7: cells 0->0, 0 blocks, duration 00:06:26
    + 8: cells 0->0, 0 blocks, duration 00:03:21
    + 9: cells 0->0, 0 blocks, duration 00:04:25
    + 10: cells 0->0, 0 blocks, duration 00:02:22
    + 11: cells 0->0, 0 blocks, duration 00:05:48
    + 12: cells 0->0, 0 blocks, duration 00:03:48
    + 13: cells 0->0, 0 blocks, duration 00:05:10
    + 14: cells 0->0, 0 blocks, duration 00:03:29
    + 15: cells 0->0, 0 blocks, duration 00:02:13
    + 16: cells 0->0, 0 blocks, duration 00:11:22
    + 17: cells 0->0, 0 blocks, duration 00:04:56
    + 18: cells 0->0, 0 blocks, duration 00:03:04
    + 19: cells 0->0, 0 blocks, duration 00:05:40
    + 20: cells 0->0, 0 blocks, duration 00:02:26
    + 21: cells 0->0, 0 blocks, duration 00:04:44
    + 22: cells 0->0, 0 blocks, duration 00:04:10
    + 23: cells 0->0, 0 blocks, duration 00:05:28
    + 24: cells 0->0, 0 blocks, duration 00:05:28
    + 25: cells 0->0, 0 blocks, duration 00:02:38
    + 26: cells 0->0, 0 blocks, duration 00:05:48
    + 27: cells 0->0, 0 blocks, duration 00:07:19
    + 28: cells 0->0, 0 blocks, duration 00:04:38
    + 29: cells 0->0, 0 blocks, duration 00:00:57
    + 30: cells 0->0, 0 blocks, duration 00:02:36
    + 31: cells 0->0, 0 blocks, duration 00:01:34
    + 32: cells 0->0, 0 blocks, duration 00:05:31
    + 33: cells 0->0, 0 blocks, duration 00:00:00
  + audio tracks:
    + 1, English (DTS) (5.1 ch) (iso639-2: eng), 48000Hz, 1536000bps
    + 2, English (DTS-HD MA) (5.1 ch) (iso639-2: eng)
    + 3, Espanol (DTS) (5.1 ch) (iso639-2: spa), 48000Hz, 768000bps
    + 4, Francais (DTS) (5.1 ch) (iso639-2: fra), 48000Hz, 768000bps
    + 5, Japanese (DTS) (5.1 ch) (iso639-2: jpn), 48000Hz, 768000bps
    + 6, Francais (DTS) (5.1 ch) (iso639-2: fra), 48000Hz, 768000bps
    + 7, Deutsch (DTS) (5.1 ch) (iso639-2: deu), 48000Hz, 768000bps
    + 8, Italiano (DTS) (5.1 ch) (iso639-2: ita), 48000Hz, 768000bps
    + 9, Espanol (DTS) (5.1 ch) (iso639-2: spa), 48000Hz, 768000bps
    + 10, English (AC3) (Dolby Surround) (iso639-2: eng), 48000Hz, 192000bps
  + subtitle tracks:
Reading chapter markers from file C:\Users\David\AppData\Local\Temp\Hulk 1080p-1-chapters.csv
[10:05:20] 1 job(s) to process
[10:05:20] starting job
[10:05:20] work: mixdown not specified, track 2 setting mixdown 6-channel discrete
[10:05:20] work: bitrate not specified, track 2 setting bitrate 640
[10:05:20] sync: expecting 198840 video frames
[10:05:20] job configuration:
[10:05:20]  * source
[10:05:20]    + D:\
[10:05:20]    + title 1, chapter(s) 1 to 33
[10:05:20]  * destination
[10:05:20]    + C:\Users\David\Desktop\Apple TV\Hulk 1080p.m4v
[10:05:20]    + container: MPEG-4 (.mp4 and .m4v)
[10:05:20]      + 64-bit formatting
[10:05:20]      + chapter markers
[10:05:20]  * video track
[10:05:20]    + decoder: vc1
[10:05:20]      + bitrate 200 kbps
[10:05:20]    + frame rate: 23.976 fps -> peak rate limited to 30.000 fps
[10:05:20]    + loose anamorphic
[10:05:20]      + storage dimensions: 1920 * 1080 -> 1920 * 1040, crop 16/24/2/0, mod 2
[10:05:20]      + pixel aspect ratio: 959 / 960
[10:05:20]      + display dimensions: 1918 * 1040
[10:05:20]    + filter
[10:05:20]      + Decomb (7:2:6:9:1:80)
[10:05:20]    + encoder: H.264 (x264)
[10:05:20]      + options: b-adapt=2
[10:05:20]      + quality: 20.00 (RF)
[10:05:20]  * audio track 1
[10:05:20]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x711100)
[10:05:20]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[10:05:20]    + mixdown: Dolby Pro Logic II
[10:05:20]    + encoder: AAC (faac)
[10:05:20]      + bitrate: 160 kbps, samplerate: 48000 Hz
[10:05:20]  * audio track 2
[10:05:20]    + decoder: English (DTS) (5.1 ch) (track 1, id 0x711100)
[10:05:20]      + bitrate: 1536 kbps, samplerate: 48000 Hz
[10:05:20]    + mixdown: 6-channel discrete
[10:05:20]    + encoder: AC3 (ffmpeg)
[10:05:20]      + bitrate: 640 kbps, samplerate: 48000 Hz
[10:05:20] yadif thread started for segment 0
[10:05:20] decomb thread started for segment 0
[10:05:20] encx264: min-keyint: 24, keyint: 240
[10:05:20] encx264: encoding with stored aspect 959/960
[10:05:20] encx264: Encoding at constant RF 20.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=959/960
[10:05:20] yadif thread started for segment 1
[10:05:20] decomb thread started for segment 1
[10:05:20] reader: first SCR 1044806 id 0x1011 DTS 1044806
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
x264 [info]: profile High, level 4.0
[10:05:20] vc1: "Chapter 1" (1) at frame 0 time 3754
Stream with high frequencies VQ coding
Stream with high frequencies VQ coding
[10:05:20] sync: first pts is 3754
[10:31:00] vc1: "Chapter 2" (2) at frame 6241 time 23431133
[11:14:08] vc1: "Chapter 3" (3) at frame 16344 time 61355270
[11:28:59] vc1: "Chapter 4" (4) at frame 20027 time 75180331
[11:47:38] vc1: "Chapter 5" (5) at frame 25040 time 93997880
[12:03:41] vc1: "Chapter 6" (6) at frame 29082 time 109170537
[12:18:07] vc1: "Chapter 7" (7) at frame 32863 time 123363466
[12:54:32] vc1: "Chapter 8" (8) at frame 42126 time 158134452
[13:14:50] vc1: "Chapter 9" (9) at frame 46944 time 176220020
[13:38:00] vc1: "Chapter 10" (10) at frame 53302 time 200086362
[13:51:46] vc1: "Chapter 11" (11) at frame 56702 time 212849112
[14:24:44] vc1: "Chapter 12" (12) at frame 65046 time 244170402
[14:45:10] vc1: "Chapter 13" (13) at frame 70517 time 264707168
[15:13:52] vc1: "Chapter 14" (14) at frame 77953 time 292620053
[15:33:27] vc1: "Chapter 15" (15) at frame 82960 time 311415080
[15:46:33] vc1: "Chapter 16" (16) at frame 86151 time 323393296
[16:50:25] vc1: "Chapter 17" (17) at frame 102496 time 384748340
[17:19:46] vc1: "Chapter 18" (18) at frame 109588 time 411369935
[17:37:40] vc1: "Chapter 19" (19) at frame 113992 time 427901450
[18:10:37] vc1: "Chapter 20" (20) at frame 122151 time 458528296
[18:25:14] vc1: "Chapter 21" (21) at frame 125657 time 471688943
[18:52:42] vc1: "Chapter 22" (22) at frame 132456 time 497210690
[19:17:51] vc1: "Chapter 23" (23) at frame 138454 time 519725682
[19:54:34] vc1: "Chapter 24" (24) at frame 146310 time 549215142
[20:28:20] vc1: "Chapter 25" (25) at frame 154184 time 578772170
[20:46:44] vc1: "Chapter 26" (26) at frame 157980 time 593021405
[21:21:39] vc1: "Chapter 27" (27) at frame 166323 time 624338941
[22:02:43] vc1: "Chapter 28" (28) at frame 176845 time 663835898
[22:32:25] vc1: "Chapter 29" (29) at frame 183520 time 688892180
[22:38:00] vc1: "Chapter 30" (30) at frame 184888 time 694027310
[22:53:03] vc1: "Chapter 31" (31) at frame 188628 time 708066335
[23:02:16] vc1: "Chapter 32" (32) at frame 190888 time 716549810
[23:25:36] reader: done. 3 scr changes
[23:25:39] vc1: "Chapter 33" (33) at frame 198833 time 746373353
[23:25:43] work: average encoding speed for job is 4.140563 fps
[23:25:43] sync: got 198840 frames, 198840 expected
[23:25:43] vc1-decoder done: 198840 frames, 0 decoder errors, 0 drops
[23:25:44] render: 198839 frames output, 0 dropped and 0 duped for CFR/PFR
[23:25:44] render: lost time: 0 (0 frames)
[23:25:44] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: frame I:1419  Avg QP:16.83  size:129841  PSNR Mean Y:48.71 U:51.82 V:53.36 Avg:49.63 Global:49.11
x264 [info]: frame P:61196 Avg QP:19.93  size: 49076  PSNR Mean Y:46.70 U:50.04 V:51.67 Avg:47.66 Global:47.15
x264 [info]: frame B:136224 Avg QP:21.18  size: 24333  PSNR Mean Y:45.65 U:49.47 V:51.24 Avg:46.70 Global:46.30
x264 [info]: consecutive B-frames:  2.9%  7.3% 29.9% 59.9%
x264 [info]: mb I  I16..4:  9.0% 82.4%  8.6%
x264 [info]: mb P  I16..4:  2.7% 14.8%  0.8%  P16..4: 48.0% 15.0%  7.5%  0.0%  0.0%    skip:11.2%
x264 [info]: mb B  I16..4:  0.2%  2.0%  0.1%  B16..8: 51.0%  5.6%  0.8%  direct: 6.2%  skip:34.1%  L0:44.4% L1:51.1% BI: 4.5%
x264 [info]: 8x8 transform intra:81.8% inter:79.7%
x264 [info]: coded y,uvDC,uvAC intra: 73.4% 71.7% 20.2% inter: 32.0% 35.3% 0.5%
x264 [info]: i16 v,h,dc,p: 45% 14%  5% 36%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 15% 28%  6%  7%  8%  7%  7%  7%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 18% 14%  6% 10%  9%  7%  6%  4%
x264 [info]: i8c dc,h,v,p: 55% 20% 19%  5%
x264 [info]: Weighted P-Frames: Y:4.1% UV:2.1%
x264 [info]: ref P L0: 52.0% 10.9% 24.9% 11.9%  0.3%
x264 [info]: ref B L0: 79.1% 16.7%  4.2%
x264 [info]: ref B L1: 91.6%  8.4%
x264 [info]: SSIM Mean Y:0.9807107 (17.147db)
x264 [info]: PSNR Mean Y:45.994 U:49.664 V:51.391 Avg:47.015 Global:46.560 kb/s:6272.38
[23:25:58] mux: track 0, 198839 frames, 6502239105 bytes, 6272.26 kbps, fifo 1024
[23:25:58] mux: track 1, 388749 frames, 165452636 bytes, 159.60 kbps, fifo 2048
[23:25:58] mux: track 2, 259165 frames, 663462400 bytes, 640.00 kbps, fifo 1024
[23:25:58] stream: 198840 good frames, 0 errors (0%)
[23:25:58] decomb: deinterlaced 0 | blended 6 | unfiltered 198833 | total 198839
[23:25:58] libhb: work result = 0
Encode done!
HandBrake has exited.
Last edited by Anonymous on Fri Aug 10, 2012 1:57 pm, edited 1 time in total.
Reason: Logs should be placed in between [code] [/code] blocks
jamiemlaw
Veteran User
Posts: 536
Joined: Thu Sep 17, 2009 4:52 pm

Re: Handbrake presets

Post by jamiemlaw »

HandBrake will crop any black bars from the edges of the frame, which means your output video can have smaller dimensions than the input.
dptempid
Posts: 4
Joined: Mon Aug 06, 2012 10:02 pm

Re: Handbrake presets

Post by dptempid »

Is this the reason the apple tv encoded files will not sync with iPad 3?

Is there anyway to prevent the cropping, and leave files in their original 1920x1080 format while encoding?
Deleted User 11865

Re: Handbrake presets

Post by Deleted User 11865 »

Set it to custom, 0/0/0/0 in the picture settings. Though I don't think that's causing your iTunes sync issue, it's worth a try.
dptempid
Posts: 4
Joined: Mon Aug 06, 2012 10:02 pm

Re: Handbrake presets

Post by dptempid »

Thanks. Any pros and cons of keeping files the same dimensions as the originals (1920x1080, 1280x720, etc) vs letting hand break resize and trim the black bars?

Obviously there was a reason all the handbrake presets were created the way they are, to resize the files.
Deleted User 11865

Re: Handbrake presets

Post by Deleted User 11865 »

Well, you do waste some file size encoding the black bars if you don't crop.
Post Reply