Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
10th January 2012, 18:17 | #1 | Link |
Registered User
Join Date: Apr 2004
Posts: 126
|
Simplest mux from mkv to mp4?
Vegas doesn't support mkv's but it does support mp4.
So I need to remux an mkv into mp4. Preferably a batch file I could just dump the file on and it would all be automatic. I tried ffmpeg Code:
ffmpeg.exe -y -acodec copy -vcodec copy -i %1 "%~dpn1.mp4" Anybody who can suggest something else? Or did i miss something in that Forrest of commandline switches? |
12th January 2012, 18:56 | #6 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Or you could try this ffmpeg build. This supposedly fixes some problems the original has had. (I'm not sure if this is still the case, though.)
Also simply: ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4 Otherwise I can only suggest demuxing and remuxing again with L-Smash or mp4box or using AviSynth and a virtual file system. |
13th January 2012, 10:55 | #7 | Link | ||
Registered User
Join Date: Apr 2004
Posts: 126
|
Quote:
Well your commandline produces an mp4, but Vegas still barfs on it. Quote:
I'd have liked to have bat file to do this, but since i don't have to do that often i suppose i'll suffer an interface. |
||
13th January 2012, 11:31 | #8 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Both l-smash and mp4box are available as command-line tools, as well as mkvextract, so you can build a batch with them.
l-smash is just an alternative to mp4box, they basically work in the same way: raw video and audio input and mp4 container output. |
17th January 2012, 00:02 | #9 | Link | |
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Quote:
Would you mind explaining why the following command-line doesn't work ??? muxer -i input.264 -o output.mp4 Code:
Error: Failed to open input file |
|
17th January 2012, 00:50 | #11 | Link |
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Thanks for answering.
I will keep using mp4box and/or mp4creator. +++++ EDIT: Hummm, according to a page written by the VFR_Maniac, "muxer" is just a renamed upgrade of "audiomuxer" :—/ However, "remuxer" is as stubborn as the MP4 audio muxer :—/ So, IF L-Smash cannot work properly outside of x264, THEN ¿what is the point of those standalone applications? Last edited by Midzuki; 23rd January 2012 at 16:45. |
Thread Tools | Search this Thread |
Display Modes | |
|
|