Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
stomer, i actually love you!

after an hour of trial and error its all sorted and i can now successfully extract the audio and add it to the video mp4. i am so happy.

one of my mkv files wont let me 'pass through' in the video export part of quicktime, must be something with the file, so will whack that one in visualhub, problem sorted.

thanks alot for the help, time to convert all my lovely mkv files to dvd

peace out
 
stomer, i actually love you!

after an hour of trial and error its all sorted and i can now successfully extract the audio and add it to the video mp4. i am so happy.

one of my mkv files wont let me 'pass through' in the video export part of quicktime, must be something with the file, so will whack that one in visualhub, problem sorted.

thanks alot for the help, time to convert all my lovely mkv files to dvd

peace out
Glad to be of help. Not sure about the expression of love though :)
 
No Audio

Can someone please help i have a couple of MKV files with ACC audio but i get no sound when i try to play them is there a codec i need. I have attached a image with the movie properties. Thanks in advance Rob
 

Attachments

  • Picture 1.png
    Picture 1.png
    132.3 KB · Views: 292
I was trying to put them in a MP4 container so i can play them through a apple TV and Xbox 360 by doing a pass through with quicktime but when i do this there is still no audio.:(
 
I was trying to put them in a MP4 container so i can play them through a apple TV and Xbox 360 by doing a pass through with quicktime but when i do this there is still no audio.:(
So what you're attempting to do is to load the mkv directly into Quicktime Pro, then export to MP4 using passthrough on both audio and video?

You realise that the Xbox doesn't support AAC 5.1?
 
rob1980, you can pass through the video but with the audio you'll need to follow stomer's guide at the bottom of page 2 in this thread.

here's a question for stomer whilst we're bak here again. i successfully converted that mkv file to dvd with your help, however ive got another one. but this time i can not pass through the video in mp4 export. the option is greyed out? heres the link for a sample, would you mind having a crack again? if not i'll have to do it the long way using visualhub...

http://rapidshare.com/files/55871890/Casino.Royale.2006.nHD.720p.x264.AAC.MatRoska.Sample.NhaNc3.mkv

here's the info from a screenshot
 

Attachments

  • Picture 1.png
    Picture 1.png
    67 KB · Views: 300
but this time i can not pass through the video in mp4 export. the option is greyed out? heres the link for a sample, would you mind having a crack again? if not i'll have to do it the long way using visualhub...
I've yet to come across an mkv where I could just passthrough the video. I always re-encode to make sure that the video is ATV compatible. I don't think you've any choice but to re-encode using Visual Hub.
 
Where can I find mkvextract and mkvinfo? There are multiple versions and none seem very clear.

Is mkvextract -- mkvextractGUI? There's another one with a strange name when googled. Can someone please post the links to their respective webpages?

Thanks. :confused:
 
Thanks for the links.

Another question...anyone know how to take an mkv with DTS audio and convert it to an mp4 while maintaining the digital audio rather than going to stereo?

I tried using VH's audio passthrough, but it did not work.
 
the only problem i am having is with this command:

MP4Box -add audio.aac -fps 23.976 audio.mp4

im getting "-bash: MP4Box: command not found", i did run the MP$Box binary 1st and then run all the commands in a seperate shell window, any tips? thanks

(i assume this step puts the ausio into an mp4 called audio after extracting from the mkv, reading to mux with the ripped video, i think my problem might me with mp4 :S)
 
the only problem i am having is with this command:

MP4Box -add audio.aac -fps 23.976 audio.mp4

im getting "-bash: MP4Box: command not found", i did run the MP$Box binary 1st and then run all the commands in a seperate shell window, any tips? thanks

(i assume this step puts the ausio into an mp4 called audio after extracting from the mkv, reading to mux with the ripped video, i think my problem might me with mp4 :S)

Read this: http://forum.doom9.org/showthread.php?t=132386
 
the only problem i am having is with this command:

MP4Box -add audio.aac -fps 23.976 audio.mp4

im getting "-bash: MP4Box: command not found", i did run the MP$Box binary 1st and then run all the commands in a seperate shell window, any tips? thanks

(i assume this step puts the ausio into an mp4 called audio after extracting from the mkv, reading to mux with the ripped video, i think my problem might me with mp4 :S)
Type:
Code:
sudo find / -name 'MP4Box' -print
That will find it for you, if you indeed have that file. Otherwise you'll need to find and download using google.
 
Hey Thanks guys, i have successfully converted my 1st 2 hd mkvs into mp4s, visualhub really needs to build this ability in though, a gui would be nice, or any other dev out there listening?!!?
 
Okay after successfully converting a fair few mkv files ive come across a tricky one...

once within the terminal and using the command to extract the ACC file, it gives me a audio file in the size of 2GB! the mkv total is about 2GB.

the terminal says the following during the audio converting:
Extracting track 2 with the CodecID 'V_MPEG4/ISO/AVC' to the file 'audio.aac'. Container format: AVC/h.264 elementary stream

any ideas anybody? if we can suss this one i wud be most grateful

- sKells
 
Okay after successfully converting a fair few mkv files ive come across a tricky one...

once within the terminal and using the command to extract the ACC file, it gives me a audio file in the size of 2GB! the mkv total is about 2GB.

the terminal says the following during the audio converting:
Extracting track 2 with the CodecID 'V_MPEG4/ISO/AVC' to the file 'audio.aac'. Container format: AVC/h.264 elementary stream

any ideas anybody? if we can suss this one i wud be most grateful

- sKells
Your track 2 is not audio, but is video. Run mkvinfo on your mkv file to check which tracks are audio and which are video.
 
aah mr stomer once again you prove to be most helpful. just realized my mistake.

track 1 was subtitles
track 2 was video
track 3 was audio

thanks once again stomer, much appreciated.
 
OK, here's what worked for me on my Mac using just Visualhub, mkvextract (for ac3), VLC (for dts), and Quicktime Pro.

First, I should clarify what I want to do. I want to play 720p mkv's on my hacked Apple TV while preserving the multi-channel sound and not just transcoding to stereo. There's no avoiding converting the video to a format that the ATV can handle... the bitrate on the original is too high.

For ac3 audio, I did everything Stomer suggested except I was able to skip the step with MP4Box because I could open the mkvextract'ed audio file directly with QT. You could even avoid using mkvextract to extract the ac3 audio by using QTPro but it's slower because you have to wait for the mkv file to fully load before you can extract the audio. I saved the movie as a Quicktime Movie rather than export because I wanted to preserve the multi-channel audio.

The ATV cannot decode ac3 or dts. It just passes them through the toslink port so a dts/ac3 receiver can decode it. My ATV is currently hooked up directly to a 720p lcd in my bedroom but I can hear the audio on ac3 movies because I have an ac3 decoder installed using NitoTV (a plugin for ATV). dts is more complicated. If you're going to hook up your ATV to a receiver that can decode ac3/dts, then for a mkv with dts, just open the mkv file in QTPro, wait for the file to finish loading, extract the audio and paste it into the video file you converted with Visualhub. If you don't have a dts decoder, then you have to use VLC on the mkv file, and extract the audio as an mpeg-4 file using the wizard. Open the audio mp4 file in QTPro, open the movie properties and delete the video track (for some reason, VLC includes a small video even if you choose to transcode audio only). Select all, copy, and paste the audio into your video. You can either export to mp4 for just stereo audio or save as a Quicktime movie giving you 6 channel aac that the ATV (I assume) can downconvert to stereo. However, AFAIK, most audio receivers can't decode AAC (at least mine can't but it's 4-5 years old).

You may be asking yourself why I'm preserving the multi-channel audio when I've only got my ATV hooked up to an lcd with just stereo sound. It's because I'll either eventually move my ATV into my living room where my dts/ac3 receiver is or buy another ATV for my living room.
 
cheers oddmanout. great guide. hopefully with the help from stomer and ureself, most people that come across this thread shouldn't have any difficulty converting mkv's now.

nice one
 
Hello All:

I just figured the mkv to ps3 compatible mp4 myself as well a little while back. Though the process I used only requires things that are in MacPorts. So, no buying software or any such thing. Just thought I'd share so as to possibly save someone else some pain.

http://oddmanout.wordpress.com/2008...e-to-ps3-mp4-without-re-encoding-on-mac-os-x/

Happy watching :)
Nice. Hopefully next time I have to convert an MKV to MP4, it'll just be a case of hex editing, instead of re-encoding.
 
I still don't understand a thing .. I'm also a complete terminal-n00b.
Can someone make the most simple guide about MKV to MP4 (PS3)? :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.