Jump to content
InsanelyMac Forum
dlorenzo

mkv to m4v/mp4

Recommended Posts

I have a bunch of mkv files inside them are x264 encoded vids, the audio is usually aac and sometimes ac3. I want to transcode this files into m4v or mp4 to make it natively play on aTV. So far I've manage to demux the mkv using mkvextract, but I haven't been able to find a muxer for m4v/mp4 under OS X.

 

If anyone can help me I'll greatly appreciate it.

Share this post


Link to post
Share on other sites
Advertisement

The thing is I dont want to reencode the video its already h.264 nor the audio which is already AAC. I just want to get the tracks into the container.

Share this post


Link to post
Share on other sites

I did a lot of searching and tried a couple of apps that failed to do the job. ffmpegX was fast and did the job. You'd be done by now if you'd used it ;-) "The thing is" There doen't seem to be an app for the Mac which does what you want it to. There is one that is suppose to but crashed on my machine and I tossed it . No longer remember it's name. Best of luck.

Share this post


Link to post
Share on other sites

I will try, what settings would you use for aTV.

for:

720p video in h.264 & 480p in h.264 as well.

 

I've tried ripping dvds with Mediafork and if I use 3000kbps average jerk in some scenes. What would you recommend?

Share this post


Link to post
Share on other sites

mkvtoolnix

mkv extract

 

search for these tools on the google :( .

Share this post


Link to post
Share on other sites

Using Quicktime Pro 7, you can actually passthrough the video/audio tracks into a new .mp4 very quickly.

 

- You need Perian and Quicktime Pro 7 installed

- Open your MKV file and let Quicktime process it (the bar under the video needs to fill)

- Under the properties make sure any other tracks such as subtitles are disabled

- Export -> MP4 -> Options

- Select MP4 (not ISMA)

- Select passthrough for video, and for audio if possible (if not, re-encode to AAC @ 140Kbps)

 

No quality loss (as it's a remux) and it's very fast.

Share this post


Link to post
Share on other sites

I'm curious about the audio side of things.

 

I'm just looking for an efficient app that can take the DTS-HD or Dolby TrueHD track from an MKV and convert it into a Dolby Digital AC3 file. I've had mixed results with something like Moyea MKV Converter, as it seems to shuffle around the surround channel assignment (center channel goes on the left channel for example).

 

Going forward, I now know to make sure to grab a Dolby Digital track that often accompanies the TrueHD track (not all movies), but no form of DTS will play on the ATV.

 

The plan is to just mux it into my Handbrake encode with Subler.

 

Any suggestions would be greatly appreciated.

Share this post


Link to post
Share on other sites

I have found mkvtools awesome for this... for a 720p mkv that has 5.1 ac3 audio, it can quickly remux it into an m4v, passing thru both the H264 vid and the ac3 audio, (and optionally adding an additional 2 channel AAC audio track for viewing on iphone/ipad). Would definitely recommend..

Share this post


Link to post
Share on other sites
Guest lemoon

Well, try iFunia MKV Converter in the Mac App Store~

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Posts

    • Good evening to all. So, I have an external 1TB seagate HD and it always reads normally, but now when I plug it into my HACK it just does not read, it does not even appear on the disk utility. The light always turns blue from the HD without blinking. However I plugged it into windows, on a macbook and it worked normally. I already formatted my hack but it did not work. Thank you in advance for the help and sorry my bad english   my kexts: AppleALC.kext FakeSMC.kext IntelGraphicsFixup.kext IntelMausiEthernet.kext Lilu.kext WhateverGreen.kext VoodooHDA.kext USBInjectAll.kext NvidiaGraphicsFixup.kext   GTX 1080 Windforce core i5 7º generation 8gb Ram H170M Plus BR    
    • WOL packet is reaching the machine from LAN and from WAN (set with port forwarding), tested with "nc -l -u 9".
    • For me the forum seems reasonably OK, except whenever I see the word 'LOADING' - like when clicking another page of a thread - when it just stops completely and never returns.   I use an adblocker, so adverts aren't slowing me down.  Browsing the forum indexes is not too bad, as is clicking to view any thread.  Ditto clicking a link in an email notification to go to a particular post in a thread.  Sometimes it takes maybe five seconds to load a page, which is a bit too long.  But it's not terrible.   But then whenever I click on any other thread page, which tries to do the in-page content load (without a full page refresh), I see LOADING and then nothing further happens, even after minutes.   It's definitely not related to which content is loaded, but rather how it is loaded.  For example if I go to the index for this forum, then click directly to page 11 of this thread, it loads in 1-5 seconds.  But if I click the link to page 11 within the thread, it never comes back.  I just see this, forever:     This stuck issue seems to me likely something broken (code or configuration?) rather than a general slowdown.  But maybe there's also a general slowdown, especially for those who are seeing adverts.
    • This is as far as I can get with the AMD kexts and the device ID added. They load but the frame buffer isn't loaded. I've tried loading all 7 frame buffers included in the X1000 kext with no luck. From the tests Gigamaxx did there seems to be more luck spoofing as Intel graphics there. More support may come from integrated Vega though, hard to tell.    
    • as documented here it is a sample rate standard and i have also tested it and i can confirm that it works with my audigy rx at least, i have to test it with other cards   https://github.com/audiojs/sample-rate


×