With upcoming changes to data protection and privacy laws in Europe coming into effect soon, we thought this would be a good time to remind everyone that we do have a privacy policy.
This applies to all users and visitors world-wide.

We have made a few changes to the language to make it clearer in relation to this new regulation but fundamentally, the terms and your rights are unchanged.

If you have any questions about this, please feel free to ask in the General Forum

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 » Tue Jun 08, 2010 10:08 pm

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

milescortez
Posts: 3
Joined: Fri Jun 04, 2010 1:29 am

Re: AppleTV Custom Presets - 0.9.4

Post by milescortez » Tue Jun 08, 2010 10:14 pm

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: 5098
Joined: Sat Feb 09, 2008 7:21 pm

Re: AppleTV Custom Presets - 0.9.4

Post by JohnAStebbins » Tue Jun 08, 2010 11:21 pm

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 » Tue Jun 08, 2010 11:26 pm

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 » Wed Jun 09, 2010 6:59 am

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 » Wed Jun 09, 2010 4:14 pm

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 » Thu Jun 24, 2010 6:56 pm

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 » Fri Jun 25, 2010 12:41 am

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 » Tue Jun 29, 2010 4:09 pm

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 » Tue Jul 06, 2010 12:51 pm

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 » Wed Jul 07, 2010 1:52 pm

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 » Sat Aug 21, 2010 12:30 am

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.

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

Re: AppleTV Custom Presets - 0.9.4

Post by Rodeo » Sat Aug 21, 2010 1:09 am

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 » Sat Aug 21, 2010 9:01 am

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 » Sun Aug 22, 2010 11:42 am

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

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

Re: AppleTV Custom Presets - 0.9.4

Post by Rodeo » Sun Aug 22, 2010 1:21 pm

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 » Wed Aug 25, 2010 1:39 pm

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 » Mon Sep 06, 2010 5:34 pm

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 » Mon Sep 06, 2010 11:28 pm

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 » Tue Sep 07, 2010 12:21 am

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
Regular User
Posts: 100
Joined: Wed Nov 05, 2008 9:03 pm

Re: AppleTV Custom Presets - 0.9.4

Post by MrMister111 » Wed Sep 08, 2010 4:05 pm

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

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

Re: AppleTV Custom Presets - 0.9.4

Post by Rodeo » Wed Sep 08, 2010 4:08 pm

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 » Wed Sep 08, 2010 4:10 pm

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.

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

Re: AppleTV Custom Presets - 0.9.4

Post by Rodeo » Wed Sep 08, 2010 4:13 pm

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 » Wed Sep 08, 2010 4:26 pm

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

Post Reply