AppleTV Custom Presets - 0.9.4

Discuss encoding for devices and presets.
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.
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: AppleTV Custom Presets - 0.9.4

Post by dynaflash »

Check framerate vs. resolution. if its > 24 fps and 720p it will not transfer. This is a known limitation.
milescortez

Re: AppleTV Custom Presets - 0.9.4

Post by milescortez »

dynaflash wrote:Check framerate vs. resolution. if its > 24 fps and 720p it will not transfer. This is a known limitation.
Framerate is "Same as Source" and resolution Source is 1920 x 1080 as is the Output Source. Anamorphic is "none". Does this tell you anything?
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: AppleTV Custom Presets - 0.9.4

Post by JohnAStebbins »

A scan log would tell us all. If you are using "Same as Source" for the framerate, then we need to know the framerate of the source since the output will be the same. This information will be in the scan log.
DriverJC
Posts: 9
Joined: Thu Jun 03, 2010 3:32 pm

Re: AppleTV Custom Presets - 0.9.4

Post by DriverJC »

Most HD Shows I have run into have when scanned by handbrake say the following

Code: Select all

 + size: 1920x1080, pixel aspect: 1/1, display aspect: 1.78, 29.970 fps
where is says 29.97 fps that is what you are looking for. If the fps is 29.97 or higher and the hight is above 720 the file will not be transferred to the AppleTV.

put an entry "-X 960" into your encode string to ensure that the file does not go above 720 in hight. My Code is pasted below, it streams and syncs Perfectly

Code: Select all

-e x264 -q 23.0 -a 1,1 -E ca_aac,ac3 -B 160,160 -6 dpl2,auto -R 48,Auto -D 0.0,0.0 -f mp4 -4 -X 960 -M 709 --loose-anamorphic -m -x ref=3:mixed-refs=1:bframes=3:me=hex:subq=7:b-adapt=2:8x8dct=1:weightb=0:trellis=0:weightp=0:vbv-maxrate=5000:vbv-bufsize=5000
joel
phoenixdown
Posts: 33
Joined: Sat Mar 07, 2009 3:47 pm

Re: AppleTV Custom Presets - 0.9.4

Post by phoenixdown »

milescortez:
you said you MKV -- AppleTV only supports mp4/m4v.
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: AppleTV Custom Presets - 0.9.4

Post by dynaflash »

milescortez wrote:
dynaflash wrote:Check framerate vs. resolution. if its > 24 fps and 720p it will not transfer. This is a known limitation.
Framerate is "Same as Source" and resolution Source is 1920 x 1080 as is the Output Source. Anamorphic is "none". Does this tell you anything?
Well if you wrote that correctly, the output is showing 1920 x 1080 which in no way shape or form would work on an appletv.
Masso
Posts: 1
Joined: Thu Jun 24, 2010 6:52 pm

Re: AppleTV Custom Presets - 0.9.4

Post by Masso »

heiii

okay i have just bought an apple tv, and realised that all the dvd i have rip into my macmini dont support the apple tv, because i dont have used this preset. can i do something to fix the movies i already have rip?
TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: AppleTV Custom Presets - 0.9.4

Post by TedJ »

Sorry, but there is no "quick fix" for getting these files to work on the Apple TV... you'll need to re-encode them.
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: AppleTV Custom Presets - 0.9.4

Post by dynaflash »

After much more testing I have determined that using

Code: Select all

vbv-maxrate=5500:vbv-bufsize=5500
Is probably as high as you can safely go on HD sources encoding to 1280 x 720. This testing includes the Planet Earth Birds clip, the Avatar clip as well as a clip from GI Joe which features a ton of shattering glass and is a bitrate spike monster.

Also of note I have removed

Code: Select all

weightb=0
As atv software rev 3.0 has no issues with weightb that I have found.

Sooo, fwiw I am using:

Code: Select all

ref=3:mixed-refs=1:bframes=3:me=hex:subq=7:b-adapt=2:8x8dct=1:trellis=0:weightp=0:vbv-maxrate=5500:vbv-bufsize=5500
with an rf of 22 for HD sources and 19 for SD sources.

In testing I am rarely hitting the vbv cap on all but the most stuttering source content and am getting smooth playback.
nightstrm
Veteran User
Posts: 1887
Joined: Fri Mar 23, 2007 5:43 am

Re: AppleTV Custom Presets - 0.9.4

Post by nightstrm »

Just a heads up, starting with SVN 3424, custom AppleTV presets will need to be updated to include "b-pyramid=none" to maintain compatibility. I didn't catch this at first and ended up having to re-encode a couple Bluray discs over the weekend.
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: AppleTV Custom Presets - 0.9.4

Post by dynaflash »

Good call. I forgot to update this thread.
heliocentric
Posts: 8
Joined: Fri May 29, 2009 11:27 am

Re: AppleTV Custom Presets - 0.9.4

Post by heliocentric »

so just to confirm you download the latest nightly build of handbrake, select the apple tv preset, adjust rf to 22 (for hd sources), set width to 1280 and replace the advanced options with this?

Code: Select all

b-pyramid=none:ref=3:mixed-refs=1:bframes=3:me=hex:subq=7:b-adapt=2:8x8dct=1:trellis=0:weightp=0:vbv-maxrate=5500:vbv-bufsize=5500
thanks

p.s. what anamorphic setting should i use?
Last edited by heliocentric on Sat Aug 21, 2010 9:00 am, edited 1 time in total.
Deleted User 11865

Re: AppleTV Custom Presets - 0.9.4

Post by Deleted User 11865 »

heliocentric wrote:

Code: Select all

b-pyramid=no:neref=3:mixed-refs=1:bframes=3:me=hex:subq=7:b-adapt=2:8x8dct=1:trellis=0:weightp=0:vbv-maxrate=5500:vbv-bufsize=5500
Should be b-pyramid=none:ref=3 (there's a typo in your string).
heliocentric
Posts: 8
Joined: Fri May 29, 2009 11:27 am

Re: AppleTV Custom Presets - 0.9.4

Post by heliocentric »

Rodeo wrote:
heliocentric wrote:

Code: Select all

b-pyramid=no:neref=3:mixed-refs=1:bframes=3:me=hex:subq=7:b-adapt=2:8x8dct=1:trellis=0:weightp=0:vbv-maxrate=5500:vbv-bufsize=5500
Should be b-pyramid=none:ref=3 (there's a typo in your string).
thannks :)

have now amended that.
heliocentric
Posts: 8
Joined: Fri May 29, 2009 11:27 am

Re: AppleTV Custom Presets - 0.9.4

Post by heliocentric »

heliocentric wrote:so just to confirm you download the latest nightly build of handbrake, select the apple tv preset, adjust rf to 22 (for hd sources), set width to 1280 and replace the advanced options with this?

Code: Select all

b-pyramid=none:ref=3:mixed-refs=1:bframes=3:me=hex:subq=7:b-adapt=2:8x8dct=1:trellis=0:weightp=0:vbv-maxrate=5500:vbv-bufsize=5500
thanks

p.s. what anamorphic setting should i use?
can anyone confirm i am correct with this? thanks

i also read you should use custom anamorphic to get the maxium amount of pixels in your encode
Deleted User 11865

Re: AppleTV Custom Presets - 0.9.4

Post by Deleted User 11865 »

heliocentric wrote:
heliocentric wrote:so just to confirm you download the latest nightly build of handbrake, select the apple tv preset, adjust rf to 22 (for hd sources), set width to 1280 and replace the advanced options with this?

Code: Select all

b-pyramid=none:ref=3:mixed-refs=1:bframes=3:me=hex:subq=7:b-adapt=2:8x8dct=1:trellis=0:weightp=0:vbv-maxrate=5500:vbv-bufsize=5500
thanks

p.s. what anamorphic setting should i use?
can anyone confirm i am correct with this? thanks
My mentioning of the typo implied that, aside from said typo, the x264 options are correct.
heliocentric wrote:i also read you should use custom anamorphic to get the maxium amount of pixels in your encode
You could use custom anamorphic to encode 2.35:1 and similar movies to the full 1280x720 resolution (setting the pixel aspect ratio to preserve the correct display dimensions), rather than the usual 1820x544 or 1280x528.
heliocentric
Posts: 8
Joined: Fri May 29, 2009 11:27 am

Re: AppleTV Custom Presets - 0.9.4

Post by heliocentric »

i tried enocoding a dvd with dynaflashes advanced string found on his website (mixed-refs=1:b-adapt=2:b-pyramid=none:trellis=0:weightp=0:vbv-maxrate=5500:vbv-bufsize=5500) using the latest nightly build but when i do this i get slightly blocky fades when viewed on my apple tv.

i tried the same advanced string in the normal .9.4 version and i dont get the same blocky fade...

does anyone know the reason for this?

thanks
newtonuk
Posts: 23
Joined: Tue Nov 04, 2008 10:24 pm

Re: AppleTV Custom Presets - 0.9.4

Post by newtonuk »

Okay, this might be a stupid question, but do I just select the built in Apple TV preset, change the quality slider so that RF is 19.25 and then paste the advanced string over the existing code in the Advanced String Option box?

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

Re: AppleTV Custom Presets - 0.9.4

Post by TedJ »

That's pretty much it, yes. :)
cheezmo
Posts: 5
Joined: Fri Mar 23, 2007 12:55 pm

Re: AppleTV Custom Presets - 0.9.4

Post by cheezmo »

Don't know, but I can confirm I've been seeing the same thing.
heliocentric wrote:i tried enocoding a dvd with dynaflashes advanced string found on his website (mixed-refs=1:b-adapt=2:b-pyramid=none:trellis=0:weightp=0:vbv-maxrate=5500:vbv-bufsize=5500) using the latest nightly build but when i do this i get slightly blocky fades when viewed on my apple tv.

i tried the same advanced string in the normal .9.4 version and i dont get the same blocky fade...

does anyone know the reason for this?

thanks
MrMister111
Enlightened
Posts: 100
Joined: Wed Nov 05, 2008 9:03 pm

Re: AppleTV Custom Presets - 0.9.4

Post by MrMister111 »

Read through all the post but can some confirm what dynaflash advanced string is now for the Public HB release 0.94 for AppleTV, for good balance of quality/file size please.

I have a AppleTV (1G) with s/ware v3.0.2 on my iMac with Snow Leopard 10.6.4

Cheers
Deleted User 11865

Re: AppleTV Custom Presets - 0.9.4

Post by Deleted User 11865 »

The latest advanced options strong is for a nightly, but will work in 0.9.4 as well (some options are redundant in 0.9.4).
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: AppleTV Custom Presets - 0.9.4

Post by dynaflash »

well, hb 0.9.4 is old as dirt, and does not have weightp (among other things) that said the x264 in hb 0.9.4 should just ignore the weightp in that option string.

Better yet though grab a HB nightly if you want the latest and greatest.
Deleted User 11865

Re: AppleTV Custom Presets - 0.9.4

Post by Deleted User 11865 »

dynaflash wrote:well, hb 0.9.4 is old as dirt, and does not have weightp (among other things)
Yes it does. Re-read your first post ;-)
dynaflash
Veteran User
Posts: 3820
Joined: Thu Nov 02, 2006 8:19 pm

Re: AppleTV Custom Presets - 0.9.4

Post by dynaflash »

ah, I stand corrected. memory is not what it used to be sadly :roll:
Post Reply