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 23, 2009, 05:23 PM   #1
CultHero
macrumors 6502
 
Join Date: Mar 2007
MKV to MP4 conversion issues

I am trying to convert the latest Top Gear episode from a MKV file to an MP4 so I can put it on my apple TV and watch it on my tv. I have every other episode this way. I usually use iSquint to convert but for some reason it wouldn't convert today. I used handbrake instead and it did the conversion but lost about 1/2 of the audio. MP4 file picture looks great, but the sound is as if every other word is missing. Any suggestions for how I can convert this?
FWIW something is going wrong in the conversion as the MKV file plays perfectly with VLC player sound and all, but the MP4 doesn't. I will check my Handbrake settings again, but didn't see anything wrong the first time.

This is the HD torrent (1.4 gigs, 720p), not sure if that makes any difference but
CultHero is offline   0 Reply With Quote
Old Nov 23, 2009, 06:33 PM   #2
dlegend
macrumors 6502
 
Join Date: Jan 2009
Location: Northern VA (outside DC)
Funny you brought that up, i'm getting the exact same episode right now. I'll let you know if it works when I try to convert it.
__________________
MacBook, 2.4GHz, 4GB RAM, 500GB HD; iPod 30gb; WD My Book 500GB, 1TB, 1TB, Passport 160 GB
Nikon D40, 18-55, 55-200, 35 1.8, sb400
dlegend is offline   0 Reply With Quote
Old Nov 24, 2009, 06:23 AM   #3
dlegend
macrumors 6502
 
Join Date: Jan 2009
Location: Northern VA (outside DC)
Just checked the handbraked file this morning and the sound was choppy, sounded like a cd was skipping. Original file works fine though.
__________________
MacBook, 2.4GHz, 4GB RAM, 500GB HD; iPod 30gb; WD My Book 500GB, 1TB, 1TB, Passport 160 GB
Nikon D40, 18-55, 55-200, 35 1.8, sb400
dlegend is offline   0 Reply With Quote
Old Nov 24, 2009, 12:12 PM   #4
jaydez
macrumors newbie
 
Join Date: Apr 2009
I tried for 4 hours to get this to work the other day. I eventually gave up and grabbed the SD torrent of episodes 14-1 and 14-2. I dont watch them on ATV though, just on my 24" imac and my phone.

Its seems as though you can either have a great picture and choppy sound, or a seriosuly screwed up aspect ratio and great sound, not both.
jaydez is offline   0 Reply With Quote
Old Dec 3, 2009, 11:02 AM   #5
FallibleClover
macrumors newbie
 
Join Date: Nov 2009
There is a simpler way. If your running Snow Leopard open the MKV files with Quicktime X and Save As "Movie", Quicktime will convert it to a MOV file that can be added directly to your iTunes Library - I did this with all 4 season of Battlestar Galactica. You'll need a plug-in to open MKV files with Quicktime, I use Perian. I don't know if this works in Leopard, I don't think Quicktime 7 has the same function unless you have the Pro version.
FallibleClover is offline   0 Reply With Quote
Old Dec 3, 2009, 07:22 PM   #6
dlegend
macrumors 6502
 
Join Date: Jan 2009
Location: Northern VA (outside DC)
any tips how to get Perian to work? I just downloaded it, I'm guessing I need to restart? I can't get quicktime to open the mkv file.
__________________
MacBook, 2.4GHz, 4GB RAM, 500GB HD; iPod 30gb; WD My Book 500GB, 1TB, 1TB, Passport 160 GB
Nikon D40, 18-55, 55-200, 35 1.8, sb400
dlegend is offline   0 Reply With Quote
Old Dec 6, 2009, 11:21 AM   #7
dlegend
macrumors 6502
 
Join Date: Jan 2009
Location: Northern VA (outside DC)
weird, I can get quicktime to open avis but not mkvs... Downloaded Perian too.
__________________
MacBook, 2.4GHz, 4GB RAM, 500GB HD; iPod 30gb; WD My Book 500GB, 1TB, 1TB, Passport 160 GB
Nikon D40, 18-55, 55-200, 35 1.8, sb400
dlegend is offline   0 Reply With Quote
Old Dec 6, 2009, 11:42 AM   #8
Transporteur
macrumors 68030
 
Join Date: Nov 2008
Location: UK
I finally figured out how to convert mkv to mp4 using Handbrake.

Instead of using the Apple presets (which creates mp4 but Quicktime does not open them) I now use the Normal preset with the following preferences:

- MP4 file
- Large file size
- H.264 codec
- Single pass encoding
- Target size equal to the source files size
- Picture settings: Anamorphic: none/loose and setting the size to the source files size.
If I choose strict anamorphic, the file doesn't open with Quicktime.

I don't use Perian or other codec packages and with the stated settings, Quicktime X as well as iTunes opens every file I create that way.
Transporteur is offline   0 Reply With Quote
Old Dec 6, 2009, 02:11 PM   #9
GreatDrok
macrumors 6502
 
Join Date: May 2006
Location: New Zealand
Solution - Upgrade to Handbrake 0.9.4 and convert MKV to H.264 m4v using a RF 20 and set the screen to 1280x720. Also, you *MUST* add the following to your advanced settings ":weightp=0" otherwise you get nasty blocking in cross fades due to a new feature of x264 used.

I've been using HB 0.9.4 to convert my MKVs to m4v with the above settings and it works perfectly with my ATV and solves the problem I had with HB 0.9.3 where I had to export using QT with Perian to MP4 first with MP4 passthrough and then do the conversion. HandBrake does a better job of encoding than QuickTime and is much faster.
__________________
Retina MacBook Pro 13" i5 16GB 500GB SSD, Mac mini C2D + 20" ACD 8GB 960GB SSD, iPad mini 64G WiFi+cellular, ATV2, ATV3, iPhone 4 16GB
GreatDrok is offline   0 Reply With Quote
Old Dec 6, 2009, 03:14 PM   #10
Transporteur
macrumors 68030
 
Join Date: Nov 2008
Location: UK
Is there any difference between .mp4 and .m4v?

I can't even choose m4v, but the video quality is great. I too use RF: 20 and H.264 encoding.

Unfortunately the encoding is everything but fast. I get about 25 fps (720p source) with 2 instances of Handbrake on a Octad MacPro. One instance only use 500% of the CPU that's why I encode with two instances at the same time.
Is there a way to accelerate that operation (besides buying faster processors of course ).
Transporteur is offline   0 Reply With Quote
Old Dec 6, 2009, 03:18 PM   #11
ericksgotmac
macrumors regular
 
Join Date: Nov 2008
The following programs are used
* QuickTime 7 with Perian plug-in installed
* MKVMerge
* VisualHUB
* MetaX

What I would do is the following.

1. Open the .MKV in QuickTime 7 (with Perian installed)
2. Export the entire episode and edit the settings so that it'll export a .mp4 but without and video, only encode the audio.
3. Use MKVMerge to open the .mp4 with the choppy audio and the .mp4 with the audio converted with QuickTime 7.
4. Select only the video and the audio from QuickTime 7 and save the file back into a .mkv
5. Open VisualHUB and use that to export the .mkv file but have it use Passthru on both video and audio.
6. Tag with MetaX and enjoy.

Something like this actually happened to me but it was with a movie. I'm pretty sure it was a DVD of Zombie Land and Handbrake screwed up the audio. I did basically the same procedure to try and fix the problem and it worked perfectly.
ericksgotmac is offline   0 Reply With Quote
Old Dec 6, 2009, 08:46 PM   #12
dlegend
macrumors 6502
 
Join Date: Jan 2009
Location: Northern VA (outside DC)
I figured out why I couldn't get it to work, apparently quicktime can't open 720 or 1080 with Perian, not sure if there's anything else that could work. Guess I'll just have to Handbrake it.
__________________
MacBook, 2.4GHz, 4GB RAM, 500GB HD; iPod 30gb; WD My Book 500GB, 1TB, 1TB, Passport 160 GB
Nikon D40, 18-55, 55-200, 35 1.8, sb400
dlegend is offline   0 Reply With Quote
Old Dec 7, 2009, 12:35 AM   #13
GreatDrok
macrumors 6502
 
Join Date: May 2006
Location: New Zealand
Quote:
Originally Posted by Transporteur View Post
Is there any difference between .mp4 and .m4v?
Fun fact - while mp4 and m4v are technically the same, ATV won't show chapters for an mp4 but the same file called an m4v will. Quicktime doesn't care either way. Drove me nuts figuring that one out - chapters in the mp4 in quicktime and iTunes, but none on the ATV. Change the file extension manually to m4v and you're fine.
Quote:
I can't even choose m4v, but the video quality is great. I too use RF: 20 and H.264 encoding.

Unfortunately the encoding is everything but fast. I get about 25 fps (720p source) with 2 instances of Handbrake on a Octad MacPro. One instance only use 500% of the CPU that's why I encode with two instances at the same time.
Is there a way to accelerate that operation (besides buying faster processors of course ).
Most likely a limitation on the threading in x264. You should be happy with 25 fps encoding for 720p, my MacBook Pro gets around 3 with the same settings.
__________________
Retina MacBook Pro 13" i5 16GB 500GB SSD, Mac mini C2D + 20" ACD 8GB 960GB SSD, iPad mini 64G WiFi+cellular, ATV2, ATV3, iPhone 4 16GB
GreatDrok is offline   0 Reply With Quote
Old Dec 7, 2009, 11:09 AM   #14
Scarpad
macrumors 65816
 
Join Date: Jan 2005
Quote:
Originally Posted by Transporteur View Post
Is there any difference between .mp4 and .m4v?

I can't even choose m4v, but the video quality is great. I too use RF: 20 and H.264 encoding.

Unfortunately the encoding is everything but fast. I get about 25 fps (720p source) with 2 instances of Handbrake on a Octad MacPro. One instance only use 500% of the CPU that's why I encode with two instances at the same time.
Is there a way to accelerate that operation (besides buying faster processors of course ).

I converted a mkv of a movie with those setting and it worked and looked fine on 0.94. where I'm hedgey is when I'm ripping a Blu ray to mkv at 1080p and I want to convert down to 720p. I notice most 720p conversions on the interweb are about 4gb. Using the ATV setting at RF20 usually produces about a 1.5 to 2.5gb file dependign on the size of the movie and I'm wondering if I'd get a better detailed encode using avg bitrate at 4000 with 2 passes.
Scarpad is offline   0 Reply With Quote
Old Dec 9, 2009, 06:40 AM   #15
melbdean
macrumors newbie
 
Join Date: May 2008
mkv to mp conversion issues

might be slightly off topic and apol's if is ...
i have done pretty much all of the below over the past couple of years to get a good quality file for ATV/ iTunes/ Laptop and PS3. and i have convoluted the process far beyond some of the outlines mentioned here.
now, re mkv to mpg, i use the simple qtx 'save as' method. the resultant file plays across all my various needs.
the mkv source file is usually h264 with ac35.1 -does anyone know what the qtx save as produces?
i know it plays in 5.1 but as it plays on the apple products, wouldn't it be AAC?
and in the latest handbrake-encode vs qtx-save-as challenge ... qtx takes 10mins. hb can take 10 hours. easily. one of us is doing something so wrong. probably me altho i stick pretty close to hb presets.

(and at all times, the .mpg or .m4v or .mp4 moniker can be the maker or the heartbraker)

hopefully this thread is still alive and commenting?
melbdean is offline   0 Reply With Quote
Old Dec 27, 2009, 02:27 PM   #16
dlegend
macrumors 6502
 
Join Date: Jan 2009
Location: Northern VA (outside DC)
just updated Perian and it now works with HD mkv files.
__________________
MacBook, 2.4GHz, 4GB RAM, 500GB HD; iPod 30gb; WD My Book 500GB, 1TB, 1TB, Passport 160 GB
Nikon D40, 18-55, 55-200, 35 1.8, sb400
dlegend is offline   0 Reply With Quote
Old Dec 31, 2009, 01:33 PM   #17
carlcosby
macrumors member
 
Join Date: Dec 2009
Posting Movies

Does anybody upload their converted MKV - MP4/M4V files to NZB sites like newzbin, for the ATV. I dont see any but i reckon people in the know should start. Converting these movies from MKV - MP4 take blooming ages. Is there a way of upgrading the processing power of the ATV yet so it can handle the large MKV movie files?
carlcosby is offline   0 Reply With Quote
Old Jan 4, 2010, 01:32 PM   #18
cxc
macrumors member
 
Join Date: Nov 2007
Location: Cologne, Germany
I was wondering what is the easiest way of remuxing a h264 video from a mkv container to a mp4 container without touching on video conversion?

I tried Quicktime 7 Pro but it won´t allow to save as or export from an mkv file. Handbrake 0.94 doesn´t seem to cut it either.

Any input?

Thanks!
cxc is offline   0 Reply With Quote
Old Jan 5, 2010, 05:56 PM   #19
vwDavid
macrumors regular
 
Join Date: Aug 2007
I'm a complete ATV newb, considering a purchase and just checking to see if I can play torrent, topgear, and mkv files.

Wouldn't it be easier to hack the ATV to play mkv files than all this conversion stuff (or does the ATV hacks not support mkv?)
vwDavid is offline   0 Reply With Quote
Old Jan 6, 2010, 02:31 AM   #20
oposky2006
Banned
 
Join Date: Nov 2009
well, i always try Pavtube MKV Converter to help me when i come up with such problem, it can give high output quality.
oposky2006 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
MKV to MP4 Help ash211 Apple TV and Home Theater 11 Aug 13, 2014 12:48 PM
Best MKV to MP4 converter for ML? blast87 OS X 10.8 Mountain Lion 16 Jul 29, 2014 04:12 AM
I Hate MKV with a vengeance! MP4 Conversion with Handbrake? EmPPgamer Apple TV and Home Theater 55 May 16, 2014 05:37 AM
Tool to check MP4 file compatibility after conversion from MKV? DaPhatty Apple TV and Home Theater 6 May 5, 2014 08:32 AM
MKV to MP4 conversion nhlducks35 Apple TV and Home Theater 2 May 31, 2013 07:11 AM

Forum Jump

All times are GMT -5. The time now is 06:14 AM.

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

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