How to best convert Flash compatible mp4 files with FFMPEG?

前端 未结 8 1247
北恋
北恋 2021-01-30 02:32

I am trying to convert different files to a flash compatible .mp4 file with ffmpeg, but I can\'t seem to get it to work. Of course the objective is to get the great

8条回答
  •  不知归路
    2021-01-30 03:09

    To create the interleaving metadata (which will allow for mid stream resumes, and rewinds/fforwards), use the gpac utilities (included in medibuntu for example) to re-interleave the file. Convert to mp4 as follows, with FFmpeg version 0.5 or better:

    ffmpeg -f mp4 -i video.mov -b 400k video.mp4
    

    then

    /usr/bin/MP4Box -inter 500 video.mp4
    

    Tada! Done! This will stream properly in JW Flv or other flash players.

提交回复
热议问题