Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

paulisme

macrumors 6502
Original poster
Dec 15, 2008
408
9
Charleston, SC
What settings are you guys using or plan to use to convert MKV to M4V for the new Apple TV? In the past I've used the Apple TV 2 preset, but I'd like to up the resolution to 1080p.
 

rayward

macrumors 68000
Mar 13, 2007
1,697
88
Houston, TX
What settings are you guys using or plan to use to convert MKV to M4V for the new Apple TV? In the past I've used the Apple TV 2 preset, but I'd like to up the resolution to 1080p.

I assume that the guys at HB will add an ATV3 preset. I believe they do this after testing various settings, which can't happen until they get their hands on one. The ATV3 can, presumably, handle a higher bit rate than the 2, so they can increase the RF value for ATV3 encodes.

If you're truly anxious to get started, I'd use the ATV2 preset, then up the resolution under Picture Settings to 1920 x 1080, making sure the "Keep Aspect Ratio" box is checked. That'll get you a 1080p encode, but it may be at a lower quality than the ATV3 can handle.
 

HobeSoundDarryl

macrumors G5
Yes, I've seen dynaflash post the message often enough that it's best to wait until they can get one and see what it can do, rather than trying to get a headstart. Once they have one, they can really work it over and develop a preset that respects- but pushes- the limit of the new hardware. As such, I'm standing by with my own media.

I'm also guessing that Apple is going to roll out some new software updates for Quicktime or iMovie, FCP, etc that probably takes great advantage of the new toy too. I've got a ton of homemade 1080HD (many years worth) all qued up ready for (re)rendering, awaiting the optimal options for doing so.
 

Diode

macrumors 68020
Apr 15, 2004
2,443
125
Washington DC
Considering the current AppleTV can handle 7~8mbit 720P I'd suspect the new one should at least be able to handle that in 1080P - maybe a little higher.

But testing will be needed.
 

dynaflash

macrumors 68020
Mar 27, 2003
2,119
8
Yes, several devs have it on preorder (myself included). What works and what doesn't will be seen when we get our hands on it. I guarantee the atv(s) are probably the most targeted preset we usually hit. ... and hit it we will. There is much granularity as to what it can or can't do than what apple says in their published specs. Always has been and probably always will be. Hands on is the *only* way to truly know.
 

HobeSoundDarryl

macrumors G5
Yes, several devs have it on preorder (myself included). What works and what doesn't will be seen when we get our hands on it. I guarantee the atv(s) are probably the most targeted preset we usually hit. ... and hit it we will. There is much granularity as to what it can or can't do than what apple says in their published specs. Always has been and probably always will be. Hands on is the *only* way to truly know.

Dynaflash,

As always, thanks for the Handbrake "insider" input and thanks for being involved in developing such a great program. It sure helps people like me make the most of the :apple:TV. Keep up the great work!
 

dynaflash

macrumors 68020
Mar 27, 2003
2,119
8
Dynaflash,

As always, thanks for the Handbrake "insider" input and thanks for being involved in developing such a great program. It sure helps people like me make the most of the :apple:TV. Keep up the great work!

No problem. I can assure you as soon as fedex shows up it will get hammered on. Just like the atv 1 and atv 2.

I am curious to see what opts can be squeezed out of it at 1080p. Also if it can actually render 1080p to display instead of just decode it and downscale it to 720p (as the atv 2 does). It has to have more ram than the atv 1 and 2 have (256 mb). As they say ... proof will be in the pudding.
 

HobeSoundDarryl

macrumors G5
I am curious to see what opts can be squeezed out of it at 1080p. Also if it can actually render 1080p to display instead of just decode it and downscale it to 720p (as the atv 2 does).

Do you really think that's a possibility? Could they tout 1080p as they are doing while still actually only pushing 720p out of the box to the HDTV?

Wow, I ran right over to Apple's website and re-read all of the info they offer on it. It is worded such that it could downconvert 1080p files down to 720p (or less for that matter). It says nothing about outputting 1080p. There is an implication that it outputs 1080p but implications is one of a clever marketer's favorite tools.

Apple's stance could be that they are offering 1080p video files which play at 1080p on the new iPad and Macs. They don't absolutely confirm that 1080p flows to the display from this little box.

I almost wish you hadn't said that.
 

atandon

macrumors member
Mar 7, 2012
59
0
Do you really think that's a possibility? Could they tout 1080p as they are doing while still actually only pushing 720p out of the box to the HDTV?

Wow, I ran right over to Apple's website and re-read all of the info they offer on it. It is worded such that it could downconvert 1080p files down to 720p (or less for that matter). It says nothing about outputting 1080p. There is an implication that it outputs 1080p but implications is one of a clever marketer's favorite tools.

Apple's stance could be that they are offering 1080p video files which play at 1080p on the new iPad and Macs. They don't absolutely confirm that 1080p flows to the display.

I almost wish you hadn't said that.

I think this is very unlikely. The atv2 (after the sofware update) is able to decode high bit rate (h.264@4.1 high) 1080p mp4s. Of course the output is 720p. If the atv3 did the same thing, then there would be no difference between atv2 and 3
 

Mike Valmike

macrumors 6502a
Feb 27, 2012
551
0
Chandler, Arizona
You guys are using way, way too much bitrate. You can encode a blu-ray 1080p at 2k avg with 2-pass and handbrake will do a fantastic job, scarcely distinguishable from the original. And for those of us streaming via wi-fi, this can make the difference between being able to watch a stutter-free movie and not.

Paradoxically, the Apple presets in HB are not the optimal settings to encode for playback on Apple devices. You don't even need to use a preset for the most part -- just click High Profile, verify that framerate is same as source, then select variable 2-pass, and then give it an average bitrate to work with (and these figures are generous because I like to have very clean, clear videos):

Any 4:3 live TV (Star Trek DVDs, Big Bang, that sort of thing): 768
4:3 TV from anime or other low-framerate (Dora, etc): 384
DVD 16:9, not a lot of action: 768
DVD 16:9, a lot of action or concert music video: 1000
720p, not a lot of action: 1000
720p, a lot of action: 1500
1080p, not a lot of action: 1500
1080p, a lot of action: 2000
Any HD concert music video: 2000

I don't know why the 768 and 384 at that precision work so well -- a guy who was better with video taught me that and showed that it's just some kind of sweet spot. I can throw on some pretty effects-heavy stuff from before the HD era, encoded at 768, and it looks like live TV.

When I see people saying, oh, give it 3000-4000 (or gasp, more) it's just like, wow, that much data is barely even in there. A blu-ray rip fresh off MakeMKV might be 18 GB but that doesn't mean your final file has to be. Don't ever use RF or average quality settings because it overbits by a huge margin. Best of luck.
 

atandon

macrumors member
Mar 7, 2012
59
0
No problem. I can assure you as soon as fedex shows up it will get hammered on. Just like the atv 1 and atv 2.

I am curious to see what opts can be squeezed out of it at 1080p. Also if it can actually render 1080p to display instead of just decode it and downscale it to 720p (as the atv 2 does). It has to have more ram than the atv 1 and 2 have (256 mb). As they say ... proof will be in the pudding.

Hey dynaflash,
Firstly, love handbrake. Its probably one of the best written video encoding tools out there.
Had a feature request :)
From a quick test i noticed that I was now able to flawlessly stream 1080p h.264@4.1(high) mp4 files to the atv2 after the software update.
I am thinking it may be worth introducing a "remux" option for the atv3 (assuming of course that the atv3 also supports these streams). That way we can save a lot of time on re-encodes
 

NightStorm

macrumors 68000
Jan 26, 2006
1,860
66
Whitehouse, OH
Hey dynaflash,
Firstly, love handbrake. Its probably one of the best written video encoding tools out there.
Had a feature request :)
From a quick test i noticed that I was now able to flawlessly stream 1080p h.264@4.1(high) mp4 files to the atv2 after the software update.
I am thinking it may be worth introducing a "remux" option for the atv3 (assuming of course that the atv3 also supports these streams). That way we can save a lot of time on re-encodes

Subler can do most (if not all) of what you are requesting.

http://code.google.com/p/subler
 

dynaflash

macrumors 68020
Mar 27, 2003
2,119
8
Hey dynaflash,
Firstly, love handbrake. Its probably one of the best written video encoding tools out there.
Had a feature request :)
From a quick test i noticed that I was now able to flawlessly stream 1080p h.264@4.1(high) mp4 files to the atv2 after the software update.
I am thinking it may be worth introducing a "remux" option for the atv3 (assuming of course that the atv3 also supports these streams). That way we can save a lot of time on re-encodes

HB cannot currently "remux" anything. Our current pipeline makes it harder than it might seem on the face of it. That said ... don't think we aren't looking at it ;)

See nightstorms post about subler. it works great for this and is written by an hb dev. It works fantastic.
 

NightStorm

macrumors 68000
Jan 26, 2006
1,860
66
Whitehouse, OH
HB cannot currently "remux" anything. Our current pipeline makes it harder than it might seem on the face of it. That said ... don't think we aren't looking at it ;)

See nightstorms post about subler. it works great for this and is written by an hb dev. It works fantastic.

They even have a beta binary available to write the 1080p HD tag for iTunes. :D
 

atandon

macrumors member
Mar 7, 2012
59
0
They even have a beta binary available to write the 1080p HD tag for iTunes. :D

True. Actually love that its able to fetch meta data (artwork, description, etc) for the movie. Its definitely a great tool. Just not sure though regarding its audio conversion capabilities
 

dynaflash

macrumors 68020
Mar 27, 2003
2,119
8
I *think* DTS to AC3 soundtrack conversion was added, perhaps in one of the earlier .15 betas.

Incorrect. if its there then ritsuka isn't aware of it. Does have dts passhthru though to mp4 (.m4v). which I doubt any non hacked atv (including atv3) will support.
 

NightStorm

macrumors 68000
Jan 26, 2006
1,860
66
Whitehouse, OH
Incorrect. if its there then ritsuka isn't aware of it. Does have dts passhthru though to mp4 (.m4v). which I doubt any non hacked atv (including atv3) will support.

OK, I must be confusing something else I read about awhile ago. I can honestly say I've never really used subler for anything other than tagging, but know that its functionality has been expanded over time.
 

dynaflash

macrumors 68020
Mar 27, 2003
2,119
8
OK, I must be confusing something else I read about awhile ago. I can honestly say I've never really used subler for anything other than tagging, but know that its functionality has been expanded over time.

It will encode ac3 to aac if you want. but for a straight muxer to mp4 ... imo there is no competition. Its simply the best. And yes, it tags quite well too (via tmdb). Best mkv to mp4 remuxer made imo.
 

HobeSoundDarryl

macrumors G5
You guys are using way, way too much bitrate. You can encode a blu-ray 1080p at 2k avg with 2-pass and handbrake will do a fantastic job, scarcely distinguishable from the original. And for those of us streaming via wi-fi, this can make the difference between being able to watch a stutter-free movie and not.

Paradoxically, the Apple presets in HB are not the optimal settings to encode for playback on Apple devices. You don't even need to use a preset for the most part -- just click High Profile, verify that framerate is same as source, then select variable 2-pass, and then give it an average bitrate to work with (and these figures are generous because I like to have very clean, clear videos):

Any 4:3 live TV (Star Trek DVDs, Big Bang, that sort of thing): 768
4:3 TV from anime or other low-framerate (Dora, etc): 384
DVD 16:9, not a lot of action: 768
DVD 16:9, a lot of action or concert music video: 1000
720p, not a lot of action: 1000
720p, a lot of action: 1500
1080p, not a lot of action: 1500
1080p, a lot of action: 2000
Any HD concert music video: 2000

I don't know why the 768 and 384 at that precision work so well -- a guy who was better with video taught me that and showed that it's just some kind of sweet spot. I can throw on some pretty effects-heavy stuff from before the HD era, encoded at 768, and it looks like live TV.

When I see people saying, oh, give it 3000-4000 (or gasp, more) it's just like, wow, that much data is barely even in there. A blu-ray rip fresh off MakeMKV might be 18 GB but that doesn't mean your final file has to be. Don't ever use RF or average quality settings because it overbits by a huge margin. Best of luck.

Mike, welcome to the forums.

You do realize that there is a handbrake developer commenting within this very thread? Unless something has changed with the latest release of Handbrake (last few days), they've recommended not using 2-pass and average bit rate and instead just sliding the constant quality slider a few points one way or the other if one wants max quality vs. smaller file size. Why? https://trac.handbrake.fr/wiki/ConstantQuality and https://trac.handbrake.fr/wiki/AvgBitrateAndTargetSize

It's great if that method works for you and you're happy with it. You might try their suggestion though and see what that gets you. I've done it both ways myself and I like the Constant Quality output & file sizes better (all things considered). The big key is does one care more about file size or max picture quality. I'm in the latter camp.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.