unable to find a suitable output format for 'ffmpeg'

前端 未结 3 1270
遇见更好的自我
遇见更好的自我 2020-12-04 02:35

I am using ffmpeg library for android.

I am passing one ffmpeg command for convert video format from .mp4 to .avi

<         


        
相关标签:
3条回答
  • 2020-12-04 02:49

    These kind of errors are usually caused by unintended leading or trailing arguments in the ffmpeg command. If you are using a third-party library that acts as a wrapper to ffmpeg you must check its documentation and output since it may automatically add arguments (like the path to the ffmpeg binary for example).

    In this particular case ffmpeg is seen as an unknown output. Some incorrect commands that could raise this error include:

    • ffmpeg -i [input] -o [output] ffmpeg ...
    • ffmpeg ffmpeg ...
    0 讨论(0)
  • 2020-12-04 02:51

    Same error may suggest ffmpeg simply needs to be told what format to output with the -f flag, because it failed to deduce it from the output file extension.

    ffmpeg -i audio.xxx -f flac audio.flac
    
    0 讨论(0)
  • 2020-12-04 03:04

    In my case, command was sent to me by email.

    In the following parameter, "-c:a", there was not a dash, but a windows character!

    0 讨论(0)
提交回复
热议问题