6
2
I have found this line online
ffmpeg -i input.mp4 -c:a copy -c:v copy -movflags faststart output.mp4
Which takes an input, and copies the audio, video and sets the MOOV atom to the beginning in an element called output.mp4. Basically creating the same video with the MOOV atoms in a new place.
I need to convert the type of this media though - so I have the line
ffmpeg -i input.wmv -vcodec h264 -f mp4 output.mp4
My problem is, is this possible in one line? I know I can run one after another but that creates a couple of videos when I only need the resulting video, which could result in a lot of memory wasted.
I am sure the line
ffmpeg -i input.wmv -movflags faststart -vcodec h264 -f mp4 output.mp4
Is legitimate, but without the straight copies, this takes a long long time to compute.
Any input on MOOV atoms and ffmpeg computation is welcome.
you should ask your question at a video forum. – Endoro – 2013-06-11T16:18:53.550