[FFmpeg-user] FFmpeg terminates if input image index > 4

Moritz Barsnick barsnick at gmx.net
Wed Sep 9 20:46:39 CEST 2015


On Wed, Sep 09, 2015 at 20:40:09 +0200, Moritz Barsnick wrote:
> On Wed, Sep 09, 2015 at 18:20:40 +0000, adwait deshpande wrote:
> > Running 'ffmpeg -i %08d.ppm -libx264 -r 30 vid1.mp4' terminates with the 

By the way, I believe you may be duplicating frames here, because the
image2 demuxer default to 25 fps, and you are specifying 30 fps for
your output. (Therefore ffmpeg needs to make six out of every five.) It
may be intended from your side, it may not. I am guessing you are
looking to do:

$ ffmpeg -framerate 30 -i %08d.ppm -libx264 vid1.mp4

Just a hint,
Moritz


More information about the ffmpeg-user mailing list