FFMPEG - Not finding codec parameters

后端 未结 5 1483
没有蜡笔的小新
没有蜡笔的小新 2020-12-17 15:43

I\'m trying to convert a sequence of images into a mpeg movie via FFMPEG, although I keep getting an error saying that it could not find the code parameters (Video: mjpeg).

5条回答
  •  离开以前
    2020-12-17 16:05

    Try this:

    ffmpeg -f image2 -i /tmp/img%03d.**jpeg** video.mpg
    

    Actually, I have a similar problem here .. (and solved).

    I have a sequence of images named file-001, file-002 etc (.tiff files). I forgot to give an extension ".tiff", so I got an error when I ran ffmpeg command

    ffmpeg -f image2 -i file-%03d.tiff video.mpg
    

    It was solved when I renamed the files by adding ".tiff" extension.

提交回复
热议问题