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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th January 2012, 18:17   #1  |  Link
Foofaraw
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"
It does produce what looks like an mp4 file (Mediainfo says it is) but Vegas doesn't recognize it.

Anybody who can suggest something else?

Or did i miss something in that Forrest of commandline switches?
Foofaraw is offline   Reply With Quote
Old 10th January 2012, 18:36   #2  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Posts: 2,009
http://forum.doom9.org/showthread.ph...03#post1537903


Good luck
manolito
manolito is offline   Reply With Quote
Old 10th January 2012, 19:37   #3  |  Link
Foofaraw
Registered User
 
Join Date: Apr 2004
Posts: 126
Quote:
Originally Posted by manolito View Post

Don't suppose you could suggest command line arguments?
Foofaraw is offline   Reply With Quote
Old 11th January 2012, 21:53   #4  |  Link
obieobieobie
Registered User
 
Join Date: Mar 2004
Posts: 182
You got megui? Use the mp4 muxer there.
obieobieobie is offline   Reply With Quote
Old 12th January 2012, 18:27   #5  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,263
also run the output ffmpeg creates through mp4box
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 12th January 2012, 18:56   #6  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,569
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.
sneaker_ger is offline   Reply With Quote
Old 13th January 2012, 10:55   #7  |  Link
Foofaraw
Registered User
 
Join Date: Apr 2004
Posts: 126
Quote:
Originally Posted by sneaker_ger View Post
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
Hey sneaker_ger thanks commenting.
Well your commandline produces an mp4, but Vegas still barfs on it.


Quote:
Originally Posted by sneaker_ger View Post
Otherwise I can only suggest demuxing and remuxing again with L-Smash or mp4box or using AviSynth and a virtual file system.
Don't know what lsmash is, i'll try and google it.
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.
Foofaraw is offline   Reply With Quote
Old 13th January 2012, 11:31   #8  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,569
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.
sneaker_ger is offline   Reply With Quote
Old 17th January 2012, 00:02   #9  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,388
Quote:
Originally Posted by sneaker_ger View Post
l-smash is just an alternative to mp4box, they basically work in the same way: raw video and audio input and mp4 container output.
Hi there,

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
WTF?
Midzuki is offline   Reply With Quote
Old 17th January 2012, 00:33   #10  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,569
Sorry, can't help you. That error can mean anything from a misspelled filename to a broken file.
sneaker_ger is offline   Reply With Quote
Old 17th January 2012, 00:50   #11  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,388
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.
Midzuki is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.