FFMPEG - Not finding codec parameters

后端 未结 5 1493
没有蜡笔的小新
没有蜡笔的小新 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:04

    It may be necessary to specify the input codec for the series of images. Note the -c:v gif addition in the second example, to be placed before the input source:

    $ ffmpeg -f image2 -i %03d.gif zzz.webm
    # Error: %03d.gif: could not find codec parameters
    
    $ ffmpeg -f image2 -c:v gif -i %03d.gif zzz.webm
    # Works! ffmpeg version 2.7
    

提交回复
热议问题