I am using ffmpeg library for android.
I am passing one ffmpeg
command for convert video format from .mp4
to .avi
<
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 ...
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
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!