Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques Optimize mp4 for streaming

  • Optimize mp4 for streaming

    Posted by Randall Perry on May 28, 2012 at 6:42 pm

    Was wondering if someone could give me a command to take an existing .mp4 file (recorded with Flash Media Server) and optimize it for streaming the same way that f4vpp optimizes .f4v files?

    Don’t need to convert any formats, change size, etc. Just want to take existing file and place header up front so stream starts quickly.

    Randall Perry replied 13 years, 11 months ago 3 Members · 4 Replies
  • 4 Replies
  • Stephen Dixon

    May 29, 2012 at 4:29 am

    Included in the source for ffmpeg is a tools folder which contains a program called qt-faststart. That will rearrange the file to put the info atom before the data atom, which is I believe what you need to do. You can also get Windows and OSX binaries for it from the developer here, or download the source from ffmpeg’s git repository here

  • Randall Perry

    May 30, 2012 at 12:32 am

    [stephen dixon] “Included in the source for ffmpeg is a tools folder which contains a program called qt-faststart. “

    Thanks for the info. But qt-faststart doesn’t work with these FMS-generated .mp4 files. Get the error:
    encountered non-QT top-level atom (is this a QuickTime file?)
    last atom in file was not a moov atom

  • Reuben Martin

    May 31, 2012 at 2:45 am

    Use the MP4Box tool from GPAC.

    MP4Box -hint MyVideoFile.mp4

  • Randall Perry

    May 31, 2012 at 3:25 pm

    Thanks, I’ll check it out.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy