Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Hardware > Apple TV and Home Theater

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 21, 2007, 02:34 PM   #1
.mark.
macrumors 6502
 
Join Date: May 2007
Location: Jersey, C.I.
Question Visualhub settings - mkv to apple tv?

Hi, can anyone tell me what settings I should be using to convert an MKV file to use with apple tv. I want to keep the quality as close to the original as possible as the files will be HD (720p or 1080p).

Also, should I be clicking the H.264 encoding setting?
.mark. is offline   0 Reply With Quote
Old Nov 21, 2007, 02:46 PM   #2
NightStorm
macrumors 68000
 
Join Date: Jan 2006
Location: Whitehouse, OH
All I do is set it to convert for AppleTV at the Go Nuts quality setting (I believe H264 will automatically turn on, but you should check). I also go into the Advanced settings and set the audio bitrate to 160kbps.

The result is a pretty good AppleTV-compatible MP4 file.
NightStorm is offline   0 Reply With Quote
Old Nov 21, 2007, 03:10 PM   #3
Mindflux
Banned
 
Join Date: Oct 2007
Location: Austin
Quote:
Originally Posted by NightStorm View Post
All I do is set it to convert for AppleTV at the Go Nuts quality setting (I believe H264 will automatically turn on, but you should check). I also go into the Advanced settings and set the audio bitrate to 160kbps.

The result is a pretty good AppleTV-compatible MP4 file.

how long does your encode (or transcoding) take with gonuts?
Mindflux is offline   0 Reply With Quote
Old Nov 21, 2007, 03:23 PM   #4
NightStorm
macrumors 68000
 
Join Date: Jan 2006
Location: Whitehouse, OH
Typically around 4 hours, and I'm usually using other processes while it works.
NightStorm is offline   0 Reply With Quote
Old Nov 21, 2007, 03:27 PM   #5
Mindflux
Banned
 
Join Date: Oct 2007
Location: Austin
Quote:
Originally Posted by NightStorm View Post
Typically around 4 hours, and I'm usually using other processes while it works.
beh! see that sort of time to encode a movie just baffles me. it's twice as long (or more) than most films.
Mindflux is offline   0 Reply With Quote
Old Nov 21, 2007, 04:07 PM   #6
NightStorm
macrumors 68000
 
Join Date: Jan 2006
Location: Whitehouse, OH
Quote:
Originally Posted by Mindflux View Post
beh! see that sort of time to encode a movie just baffles me. it's twice as long (or more) than most films.
I think its certainly justifiable as you are taking a high bitrate, high resolution H264 high profile video stream and re-encoding it to match the lower specifications (i.e. main profile) of the AppleTV. It isn't a simple transcoding process.
NightStorm is offline   0 Reply With Quote
Old Nov 21, 2007, 06:19 PM   #7
peeaanuut
Banned
 
Join Date: Sep 2007
Location: Southern California
Send a message via AIM to peeaanuut
I was able to get a 720p ripped movie with 5.1 audio. I know I need to down convert the audio but VH was giving me an error message about not being able to convert to audio portion of the mkv file. Anyone have any clue about that?
peeaanuut is offline   0 Reply With Quote
Old Nov 21, 2007, 09:15 PM   #8
billabong
macrumors 6502
 
Join Date: Jan 2004
AppleTV setting

Go Nuts

H.264

2-pass
billabong is offline   0 Reply With Quote
Old Nov 22, 2007, 06:21 AM   #9
.mark.
Thread Starter
macrumors 6502
 
Join Date: May 2007
Location: Jersey, C.I.
thanks for all your advice guys. I'm getting an error tho! The error reads

"An error prevented <fileName.mkv>'s conversion from starting. See below for the explanation: Resampling with input channels greater than 2 unsupported.Abort at ffmpeg.c:1574"

Anyone know a work around?! I'm sure there must be!
.mark. is offline   0 Reply With Quote
Old Nov 23, 2007, 11:30 AM   #10
Rob1980
macrumors member
 
Join Date: Feb 2006
Location: Ramsgate UK
Send a message via AIM to Rob1980 Send a message via Skype™ to Rob1980
Quote:
Originally Posted by .mark. View Post
thanks for all your advice guys. I'm getting an error tho! The error reads

"An error prevented <fileName.mkv>'s conversion from starting. See below for the explanation: Resampling with input channels greater than 2 unsupported.Abort at ffmpeg.c:1574"

Anyone know a work around?! I'm sure there must be!
Have you tried changing the settings and force quicktime settings
Rob1980 is offline   0 Reply With Quote
Old Dec 7, 2007, 04:55 PM   #11
SingBlueSilver
macrumors member
 
Join Date: Dec 2007
i seem to be having the same problem...i did the 2 pass and the force quicktime and it didn't work
SingBlueSilver is offline   0 Reply With Quote
Old Dec 8, 2007, 10:06 AM   #12
fkntotalkaos
macrumors 6502
 
Join Date: Nov 2007
Quote:
Originally Posted by SingBlueSilver View Post
i seem to be having the same problem...i did the 2 pass and the force quicktime and it didn't work
Quote same problem here
fkntotalkaos is offline   0 Reply With Quote
Old Dec 8, 2007, 09:35 PM   #13
bball
macrumors newbie
 
Join Date: Jun 2007
I also get this problem
bball is offline   0 Reply With Quote
Old Dec 9, 2007, 01:42 PM   #14
bball
macrumors newbie
 
Join Date: Jun 2007
Anyone have a solution?
bball is offline   0 Reply With Quote
Old Dec 9, 2007, 01:45 PM   #15
ntrigue
Banned
 
Join Date: Jul 2007
Send a message via AIM to ntrigue
Please be aware that the file size must be less than 4GB to play nice with AppleTV.
ntrigue is offline   0 Reply With Quote
Old Dec 15, 2007, 06:04 PM   #16
MacBoobsPro
macrumors 603
 
MacBoobsPro's Avatar
 
Join Date: Jan 2006
Send a message via AIM to MacBoobsPro
Why is mine taking 17+ hours to transcode?

PMG5 Dual 1.8.
MacBoobsPro is offline   0 Reply With Quote
Old Dec 18, 2007, 07:05 AM   #17
finglonger
macrumors newbie
 
Join Date: Dec 2007
Quote:
Originally Posted by .mark. View Post
thanks for all your advice guys. I'm getting an error tho! The error reads

"An error prevented <fileName.mkv>'s conversion from starting. See below for the explanation: Resampling with input channels greater than 2 unsupported.Abort at ffmpeg.c:1574"

Anyone know a work around?! I'm sure there must be!
I had a similar problem converting an MKV file with a 5.1 multi-channel soundtrack into something more useful, and by largely trial and error I've FINALLY found a fix. It uses Ffmpegx, so download that and the codecs first before you try this. It might also help if you download Perian for Quicktime. And if I don't mention it, LEAVE THE SETTINGS ALONE!

Anyway, in Ffmpegx: under VIDEO select XVid [.AVI] (mencoder) and set bitrate to 5500 and framerate to unspecified (you may need to mess around with this, but unspecified keeps it as is in the original). in AUDIO, leave EVERYTHING as is. In FILTERS, tick deinterlace, denoise, dering and deblock. In OPTIONS, tick High quality, Two pass and Trellis, and change from fast bilinear to bilinear. Then encode.

This should hopefully give you an AVI file with identical quality visuals and a stereo soundtrack that will play nice in pretty much anything - even Quicktime. if you need to, you can then re-convert this using VisualHub or similar.

Hope this helps!
finglonger is offline   0 Reply With Quote
Old Dec 18, 2007, 07:07 AM   #18
.mark.
Thread Starter
macrumors 6502
 
Join Date: May 2007
Location: Jersey, C.I.
Quote:
Originally Posted by finglonger View Post
I had a similar problem converting an MKV file with a 5.1 multi-channel soundtrack into something more useful, and by largely trial and error I've FINALLY found a fix. It uses Ffmpegx, so download that and the codecs first before you try this. It might also help if you download Perian for Quicktime. And if I don't mention it, LEAVE THE SETTINGS ALONE!

Anyway, in Ffmpegx: under VIDEO select XVid [.AVI] (mencoder) and set bitrate to 5500 and framerate to unspecified (you may need to mess around with this, but unspecified keeps it as is in the original). in AUDIO, leave EVERYTHING as is. In FILTERS, tick deinterlace, denoise, dering and deblock. In OPTIONS, tick High quality, Two pass and Trellis, and change from fast bilinear to bilinear. Then encode.

This should hopefully give you an AVI file with identical quality visuals and a stereo soundtrack that will play nice in pretty much anything - even Quicktime. if you need to, you can then re-convert this using VisualHub or similar.

Hope this helps!
cheers buddy - will give this a try later when i've got some time
.mark. is offline   0 Reply With Quote
Old Dec 19, 2007, 04:33 AM   #19
stomer
macrumors 6502a
 
Join Date: Apr 2007
Location: Leeds, UK
Send a message via AIM to stomer
Quote:
Originally Posted by peeaanuut View Post
I was able to get a 720p ripped movie with 5.1 audio. I know I need to down convert the audio but VH was giving me an error message about not being able to convert to audio portion of the mkv file. Anyone have any clue about that?
Just leave it. Don't resample it. To do this, open VisualHub, click Advanced, and in the field 'Extra FFMpeg flags:', enter '-acodec copy'.
This tells VisualHub to skip re-encoding the audio, and instead just perform a 'passthrough'.

Also, apropos quality settings. I don't think that there's much point in re-encoding video at a higher bitrate than the original, so I wonder if 'Go Nuts' is mostly wasting disk space. If your re-encode's file size is larger than the original, then you're probably wasting disk space.
I tend to have the H.264 box ticked, Optimize for: AppleTV and Quality set to High. I find that this gives me quality that is indistinguishable from the original and doesn't waste too much disk space either. Failing that, I'll find the bitrate of the original file (CMD+4) and set that bitrate in the 'Advanced...' tab.

Last edited by stomer; Dec 19, 2007 at 04:41 AM.
stomer is offline   0 Reply With Quote
Old Feb 25, 2008, 07:12 PM   #20
Stomps
macrumors newbie
 
Join Date: Feb 2008
Quote:
Originally Posted by stomer View Post
Just leave it. Don't resample it. To do this, open VisualHub, click Advanced, and in the field 'Extra FFMpeg flags:', enter '-acodec copy'.
This tells VisualHub to skip re-encoding the audio, and instead just perform a 'passthrough'.

Also, apropos quality settings. I don't think that there's much point in re-encoding video at a higher bitrate than the original, so I wonder if 'Go Nuts' is mostly wasting disk space. If your re-encode's file size is larger than the original, then you're probably wasting disk space.
I tend to have the H.264 box ticked, Optimize for: AppleTV and Quality set to High. I find that this gives me quality that is indistinguishable from the original and doesn't waste too much disk space either. Failing that, I'll find the bitrate of the original file (CMD+4) and set that bitrate in the 'Advanced...' tab.
I have found another, yet still painful solution.

First in VisualHub, passthrough the audio as stated above, re-encoding the video. For example iTunes, optimized for All, Go Nuts with H.264 box checked.

Then with the finished file, open in Quicktime and passthrough the video, re-encoding the audio from 5.1 to stereo. For example Export to MPEG-4, options: File format - mp4, Video Format - passthrough. Audio - AAC-LC.

This is ripping my .mkv 5.1 files to stereo .mp4.

2-step process but doesn't really require any more time as the audio and video are done separately instead of together.

I have found this file compatible with my ATV, iPhone and with my Xbox 360 over Connect360. Maybe overkill but compatible is compatible.
Stomps is offline   0 Reply With Quote
Old Feb 26, 2008, 12:26 AM   #21
SpaceJello
macrumors 6502
 
Join Date: Dec 2006
Quote:
Originally Posted by Stomps View Post
Then with the finished file, open in Quicktime and passthrough the video, re-encoding the audio from 5.1 to stereo. For example Export to MPEG-4, options: File format - mp4, Video Format - passthrough. Audio - AAC-LC.

This is ripping my .mkv 5.1 files to stereo .mp4.
Is there a workaround to keep the 5.1 within the mp4 along with stereo but have the file be compatible for Apple TV, iphone etc?

Or can that only happen with m4v?
SpaceJello is offline   0 Reply With Quote
Old Nov 21, 2008, 10:41 AM   #22
Nimiety
macrumors regular
 
Join Date: Sep 2006
With 2.3, this could be a very helpful thread, particularly if the last poster's question gets answered...
Nimiety is offline   0 Reply With Quote
Old Nov 21, 2008, 10:53 AM   #23
dynaflash
macrumors 68020
 
Join Date: Mar 2003
At least as of 2.2 the atv will only recognize the ac3 trac if it is named .m4v (and for that matter chapters).
dynaflash is offline   0 Reply With Quote
Old Nov 21, 2008, 03:28 PM   #24
spacepower7
macrumors 68000
 
Join Date: May 2004
First

There's two basic routes to go:

1- Just put it in Visualhub (or HandBrake SnapShot 0.9.3?) and use AppleTV preset. Convert for several hours, and be done with it. Personally, in Visualhub I would use AppleTV with setting of high, go nuts will increase file sized with little noticeable effect.

2- Become obsessive compulsive and start learning alot more about the process and details of the various video formats. Wikipedia, Handbrake forum and wiki, etc (read Dynaflash's video posts bc he is one of the developers of Handbrake)

Step 1: Install MediaInfo Mac (free) to learn more about the video you want to convert. It COULD be possible that the actually video and audio streams in your MKV files are actually AppleTV compatible. Which means learning more about the different formats/streams. Sometimes you don't have to convert (streams) but change containers (MKV,MP4,M4V,AVI) This is called remuxing, where you can extract the audio and video out of the MKV container and then recombine them back into a MP4 container. This may only take 1-10 minutes depending on the length(time) of the video.

If you read this far......

1- You're bored, confused and could care less about video formats, then go route 1 and be done with it and don't waste your time, you will still have good results. Run your conversions overnight or when your not using your Mac.

2- If this stuff is interesting to you, Read, Read, Read, and experiment.
spacepower7 is offline   0 Reply With Quote
Old Nov 27, 2008, 03:54 AM   #25
brobins
macrumors member
 
Join Date: Nov 2008
Quote:
Originally Posted by spacepower7 View Post
There's two basic routes to go:

1- Just put it in Visualhub (or HandBrake SnapShot 0.9.3?) and use AppleTV preset. Convert for several hours, and be done with it. Personally, in Visualhub I would use AppleTV with setting of high, go nuts will increase file sized with little noticeable effect.

2- Become obsessive compulsive and start learning alot more about the process and details of the various video formats. Wikipedia, Handbrake forum and wiki, etc (read Dynaflash's video posts bc he is one of the developers of Handbrake)

Step 1: Install MediaInfo Mac (free) to learn more about the video you want to convert. It COULD be possible that the actually video and audio streams in your MKV files are actually AppleTV compatible. Which means learning more about the different formats/streams. Sometimes you don't have to convert (streams) but change containers (MKV,MP4,M4V,AVI) This is called remuxing, where you can extract the audio and video out of the MKV container and then recombine them back into a MP4 container. This may only take 1-10 minutes depending on the length(time) of the video.

If you read this far......

1- You're bored, confused and could care less about video formats, then go route 1 and be done with it and don't waste your time, you will still have good results. Run your conversions overnight or when your not using your Mac.

2- If this stuff is interesting to you, Read, Read, Read, and experiment.

Great advice!

What is the best method of remuxing a mkv into a m4v on OS X?

Many Thanks,
brobins is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Hardware > Apple TV and Home Theater

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Playing MKV from my PC on my Apple TV? blizeH Apple TV and Home Theater 3 Jun 27, 2013 01:21 PM
Stream .mkv, avi, etc to Apple TV BlindMellon Apple TV and Home Theater 16 Mar 22, 2013 05:27 AM
Best app or settings for converting MKV to mp4 cymro Digital Video 8 Dec 25, 2012 09:08 AM
Settings for remuxing mkv's for old reciever? micrors4racer Apple TV and Home Theater 15 Sep 24, 2012 07:09 PM
does apple tv do mkv and divx ? UKBeast Wasteland 10 Jun 2, 2012 10:52 PM

Forum Jump

All times are GMT -5. The time now is 05:36 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC