How to best convert Flash compatible mp4 files with FFMPEG?

前端 未结 8 1166
北恋
北恋 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:18

    Just some ideas of why this might happen

    • mp4 is only supported in flash 9.0.115.0 or higher, what version are you using?
    • does the webserver hosting the file have the mp4 mime type setup?

    does it play when converting to FLV and is that an option? You would then use something like the following options

    ffmpeg -i input.file -f flv -r 25 -b 560000 -s 610x340 -acodec mp3 -ac 2 -ab 64 -ar 44100 output.file
    

提交回复
热议问题