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

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

Many Thanks,
Install VisualHub:

Using the terminal:
Code:
/Library/Application\ Support/Techspansion/vh131ffmpeg -i <video>.mkv -vcodec copy -acodec copy <video>.mp4

Using the VisualHub UI:
1. Advanced
2. In the Extra FFmpeg flags field, enter:
Code:
-acodec copy -vcodec copy
 
Install VisualHub:

Using the terminal:
Code:
/Library/Application\ Support/Techspansion/vh131ffmpeg -i <video>.mkv -vcodec copy -acodec copy <video>.mp4

Using the VisualHub UI:
1. Advanced
2. In the Extra FFmpeg flags field, enter:
Code:
-acodec copy -vcodec copy

Cracking! Thanks for that, will give this a whirl tonight! I have a number of Mkv files that are H.264 and I am sure already playable on the AppleTv in the correct container!

On another issue, Say the video will play but the Audio is AC3 only and wont, is there a quick way to convert the AC3 audio into AAC then remux that back in?

Thanks alot
 
On another issue, Say the video will play but the Audio is AC3 only and wont, is there a quick way to convert the AC3 audio into AAC then remux that back in?

Thanks alot
Just omit the -acodec copy if you just want to transcode the audio. Also, my experience has found that very few h.264 video streams from mkvs will actually play on the Apple TV. I find that I always have to transcode the video.
 
I see,

I have a Movie that will play on apple tv but the audio wont. However the audio plays on my mac.

So what do I need to do to fix this?

Split the video and audio out, convert the audio to AAC and then remux them back together?

Thanks
 
I see,

I have a Movie that will play on apple tv but the audio wont. However the audio plays on my mac.

So what do I need to do to fix this?

Split the video and audio out, convert the audio to AAC and then remux them back together?

Thanks
Just fire up VisualHub. Drag your movie into the main Window. Click on Advanced. Enter
Code:
-vcodec copy[CODE] into the Extra FFmpeg flags field.    This will make sure that the video isn't transcoded.  Click on Start, then VisualHub will take care of the audio transcoding and remuxing for you.
 
Is there a way to tell what file formats are inside the .mkv container? I've tried in the past to use VH to just transcode the audio and leave the video untouched, but iTunes would not transfer the file to ATV because the video was not a recognized format. At this point I just use the ATV setting on VH, but it takes hours to do an HD movie.

Thanks.
 
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 2_2 like Mac OS X; en-us) AppleWebKit/525.18.1 (KHTML, like Gecko) Version/3.1.1 Mobile/5G77 Safari/525.20)

Perfect! Thanks stormer.
Now I just have to find the specs for the atv and what video and audio formats it can handle. I know I saw a list in some forum somewhere but I just can't find it right now. :(
 
3 years later... still helpful! Thank you.

I've been using VisualHub since the first release... and have loved it. Threw a couple of $ tips his way over the years, and basically died a little bit inside when he decided to let it go.

Since that day, I've been limping along with the version I had and it has been working fine. Well, recently I've been plagued by audio codec problems and have been searching and searching for months trying to find a replacement. Nothing to be found. Nothing out there even comes close to the speed and ease of use.

I was about to give up, and gave it one more look on the web while the ol'turkey was cooking.

I found this '-acodec copy' - and it made my day.

THANK YOU!

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'.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.