H264 mp4 index in front command line

Are there any command line tools to move the h264 / mp4 index to the beginning so that the flash starts playing the file faster over the network? I know the QTIndexSwapper tool, but this is not a command line.

Alternatively, is there a ffmpeg command to place an index in front during encoding?

Thanks.

+4
source share
2 answers

After I thought a lot already, I managed to find a python script called qt-faststart that does this. So far, so good. qt-faststart

+2
source

As answered a few years later;

ffmpeg -i input.mp4 -codec copy -movflags +faststart output.mp4 
+5
source

All Articles