I have this problem with some AVI files. The output of
ffmpeg -i file.avi
contains the line
[NULL @ 0x97c4d40]Invalid and inefficient vfw-avi packed B frames detected.
Someone advised me to use
ffmpeg -i file.avi -vcodec h263 -acodec aac -f mpg output.mpg
to convert the file to the correct format, but that produces the error
Unknown input or output format: mpg
How can I convert my files?
Best Answer
mpeg instead of mpg
ffmpeg -i file.avi -vcodec mpeg4 -f mpeg output.mp4