Apple TV Preset and Video Resolution

HandBrake for Mac 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
taco_pants
Posts: 1
Joined: Fri May 22, 2009 6:04 pm

Apple TV Preset and Video Resolution

Post by taco_pants » Sat May 23, 2009 3:51 pm

When using the Apple TV preset it shows the input resolution of 720x480 and the output resolution as 720x496. However, after encoding and importing the video into iTunes, iTunes reports the a video resolution of 662x496. Why is this?



Log Follows

Code: Select all

HandBrake Activity Log for /Users/jeremy/Desktop/1997 Michigan vs Ohio State HD.m4v: 2009-05-22 23:48:53 -0400
Handbrake Version: 0.9.3 (2008112300)

[23:48:53] macgui: Rip: Pending queue count is 0
[23:48:53] macgui: Rip: No pending jobs, so sending this one to doAddToQueue
[23:48:53] macgui: Rip: Going right to performNewQueueScan
[23:48:53] macgui: scanning specifically for title: 3
[23:48:53] macgui: performNewQueueScan currentQueueEncodeIndex is: 0
[23:48:53] hb_scan: path=/dev/disk1, title_index=3
[23:48:53] scan: trying to open with libdvdread
[23:48:56] scan: DVD has 3 title(s)
[23:48:56] scan: scanning title 3
[23:48:56] scan: opening IFO for VTS 3
[23:48:56] pgc_id: 1, pgn: 1: pgc: 0x158df300
[23:48:56] scan: vts=3, ttn=1, cells=0->4, blocks=0->2088294, 2088295 blocks
[23:48:56] scan: duration is 02:09:48 (7788000 ms)
[23:48:56] scan: checking audio 1
[23:48:56] scan: id=80bd, lang=English (AC3), 3cc=eng ext=0
[23:48:56] scan: title 3 has 5 chapters
[23:48:56] scan: chap 1 c=0->0, b=0->441095 (441096), 1665637 ms
[23:48:56] scan: chap 2 c=1->1, b=441096->1067409 (626314), 2321761 ms
[23:48:56] scan: chap 3 c=2->2, b=1067410->1582571 (515162), 1919634 ms
[23:48:56] scan: chap 4 c=3->3, b=1582572->2088290 (505719), 1880790 ms
[23:48:56] scan: chap 5 c=4->4, b=2088291->2088294 (4), 176 ms
[23:48:56] scan: aspect = 0
[23:48:56] scan: decoding previews for title 3
[23:48:56] scan: audio 0x80bd: AC-3, rate=48000Hz, bitrate=192000 English (AC3) (2.0 ch)
[23:48:59] scan: 10 previews, 720x480, 29.970 fps, autocrop = 0/0/4/10, aspect 4:3, PAR 8:9
[23:48:59] Title is likely interlaced or telecined (9 out of 10 previews). You should do something about that.
[23:48:59] scan: title (0) job->width:624, job->height:480
[23:48:59] libhb: scan thread found 1 valid title(s)
[23:48:59] macgui: ScanDone state received from fQueueEncodeLibhb
[23:48:59] macgui: processNewQueueEncode title list is: 1
[23:48:59] macgui: Preset: AppleTV
[23:48:59] macgui: processNewQueueEncode number of passes expected is: 1
[23:48:59] macgui: prepareJob audiotrack 2 is: 0
[23:48:59] macgui: prepareJob exiting
[23:48:59] 1 job(s) to process
[23:48:59] starting job
[23:48:59] job configuration:
[23:48:59]  * source
[23:48:59]    + /dev/disk1
[23:48:59]    + title 3, chapter(s) 1 to 5
[23:48:59]  * destination
[23:48:59]    + /Users/jeremy/Desktop/1997 Michigan vs Ohio State HD.m4v
[23:48:59]    + container: MPEG-4 (.mp4 and .m4v)
[23:48:59]      + 64-bit formatting
[23:48:59]      + chapter markers
[23:48:59]  * video track
[23:48:59]    + decoder: mpeg2
[23:48:59]      + bitrate 9800 kbps
[23:48:59]    + frame rate: same as source (around 29.970 fps)
[23:48:59]    + loose anamorphic
[23:48:59]      + storage dimensions: 720 * 480 -> 720 * 496, crop 0/0/4/10
[23:48:59]      + pixel aspect ratio: 331 / 360
[23:48:59]      + display dimensions: 662 * 496
[23:48:59]    + encoder: x264
[23:48:59]      + options: level=30:cabac=0:ref=3:mixed-refs=1:bframes=6:weightb=1:direct=auto:no-fast-pskip=1:me=umh:subq=7:analyse=all
[23:48:59]      + quality: 0.59
[23:48:59]  * audio track 0
[23:48:59]    + decoder: English (AC3) (2.0 ch) (track 1, id 80bd)
[23:48:59]      + bitrate: 192 kbps, samplerate: 48000 Hz
[23:48:59]    + mixdown: Stereo
[23:48:59]    + encoder: faac
[23:48:59]      + bitrate: 160 kbps, samplerate: 48000 Hz
[23:48:59]  * audio track 1
[23:48:59]    + decoder: English (AC3) (2.0 ch) (track 1, id 80bd)
[23:48:59]      + bitrate: 192 kbps, samplerate: 48000 Hz
[23:48:59]    + AC3 passthrough
[23:48:59] encx264: keyint-min: 30, keyint-max: 300
[23:48:59] encx264: encoding with stored aspect 331/360
[23:48:59] encx264: Encoding at constant RF 20.910002
x264 [info]: using SAR=331/360
x264 [warning]: MB rate (41808) > level limit (40500)
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 PHADD SSE4.1 Cache64
x264 [info]: profile Main, level 3.0
No accelerated IMDCT transform found
No accelerated IMDCT transform found
[23:48:59] sync: expecting 233436 video frames
[23:49:00] reader: first SCR 146
[23:49:00] mpeg2: "Chapter  1" (1) at frame 0 time 3003
[23:49:00] sync: first pts is 3003
[23:49:00] a52_syncinfo failed
[23:49:00] a52_syncinfo ok
[23:49:00] a52_syncinfo failed
[23:49:00] a52_syncinfo ok
[23:49:00] sync: video time didn't advance - dropped 14 frames (delta 433 ms, current 51051, next 54054, dur 3003)
[00:56:30] mpeg2: "Chapter  2" (2) at frame 49976 time 150038889
[02:34:19] mpeg2: "Chapter  3" (3) at frame 119626 time 359197839
[03:55:59] mpeg2: "Chapter  4" (4) at frame 177210 time 532122591
[05:16:55] dvd: end of cell 4 at block 2088291
[05:16:56] reader: done. 3 scr changes
[05:17:04] mpeg2: "Chapter  5" (5) at frame 233625 time 701536836
[05:17:04] sync: got 233611 frames, 233436 expected
[05:17:04] work: average encoding speed for job is 11.867833 fps
[05:17:05] mpeg2 done: 233626 frames
[05:17:05] render: lost time: 0 (0 frames)
[05:17:05] render: gained time: 0 (0 frames) (0 not accounted for)
x264 [info]: slice I:1235  Avg QP:23.91  size: 53094  PSNR Mean Y:39.56 U:46.35 V:47.11 Avg:40.88 Global:39.80
x264 [info]: slice P:128901 Avg QP:26.15  size: 25860  PSNR Mean Y:36.18 U:43.99 V:44.73 Avg:37.59 Global:37.01
x264 [info]: slice B:103476 Avg QP:29.02  size:  9878  PSNR Mean Y:34.41 U:43.64 V:44.50 Avg:35.92 Global:35.33
x264 [info]: consecutive B-frames: 11.6% 86.5%  1.4%  0.3%  0.1%  0.0%  0.0%
x264 [info]: mb I  I16..4:  8.2%  0.0% 91.8%
x264 [info]: mb P  I16..4:  1.3%  0.0% 12.6%  P16..4: 42.4% 28.1% 11.9%  1.1%  1.2%    skip: 1.5%
x264 [info]: mb B  I16..4:  0.1%  0.0%  1.0%  B16..8: 51.1%  4.6%  5.1%  direct:14.6%  skip:23.5%  L0:32.8% L1:50.8% BI:16.3%
x264 [info]: direct mvs  spatial:99.1%  temporal:0.9%
x264 [info]: ref P L0  83.1% 10.7%  6.3%
x264 [info]: ref B L0  86.5% 13.5%
x264 [info]: SSIM Mean Y:0.9438085
x264 [info]: PSNR Mean Y:35.417 U:43.845 V:44.641 Avg:36.864 Global:36.195 kb/s:4537.44
[05:17:05] libhb: work result = 0
Last edited by TedJ on Sun May 24, 2009 11:19 pm, edited 1 time in total.
Reason: Activity logs should be enclosed in [code] blocks.

TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: Apple TV Preset and Video Resolution

Post by TedJ » Sun May 24, 2009 11:21 pm

The Apple TV preset uses loose anamorphic encoding, which for NTSC 4:3 material translates to a display resolution that is smaller than the storage resolution.

lone_tree
Posts: 75
Joined: Mon May 05, 2008 10:23 pm

Re: Apple TV Preset and Video Resolution

Post by lone_tree » Wed May 27, 2009 5:49 pm

If you read the Wiki on anamorphic you'll see that your video really is the smaller resolution. Anamorphic just stretches it out when it's played on a widescreen TV. It makes storing full height (i.e. 480 pixels) video possible on DVD technology.

User avatar
Rodeo
HandBrake Team
Posts: 12202
Joined: Tue Mar 03, 2009 8:55 pm

Re: Apple TV Preset and Video Resolution

Post by Rodeo » Wed May 27, 2009 6:52 pm

lone_tree wrote:If you read the Wiki on anamorphic you'll see that your video really is the smaller resolution.
No it's not:
TedJ wrote:The Apple TV preset uses loose anamorphic encoding, which for NTSC 4:3 material translates to a display resolution that is smaller than the storage resolution.
and

Code: Select all

23:48:59]    + loose anamorphic
[23:48:59]      + storage dimensions: 720 * 480 -> 720 * 496, crop 0/0/4/10
[23:48:59]      + pixel aspect ratio: 331 / 360
[23:48:59]      + display dimensions: 662 * 496

Post Reply