I want to add -movflags +faststart to an mp4 file. Basically that is all I want to do, nothing else should be changed. I am usinf ffmpeg.
What's the fastest way to do this? Do I have to re-encode the whole video? Or is there a better/easier way?
I want to add -movflags +faststart to an mp4 file. Basically that is all I want to do, nothing else should be changed. I am usinf ffmpeg.
What's the fastest way to do this? Do I have to re-encode the whole video? Or is there a better/easier way?
As simple as:
Or if you can compile FFmpeg from source, make the tool qt-faststart in the tools/ directory and run it:
You can also use mp4box, which lets you move the MOOV atom to the start via this command:
Or if you want to fully optimize for streaming by also interleaving the audio/video data so that the file can be easily streamed in realtime: