[FFmpeg-user] Loop filter producing off by one errors?

Gyan Doshi ffmpeg at gyani.pro
Mon Jun 15 08:19:34 EEST 2020



On 15-06-2020 07:38 am, Peter wrote:
> Hello,
>
> I'm trying to create a video from a series of PNG frames and then loop
> specific frames using the loop filter. It is giving me a bit of trouble.
> Ffmpeg is dropping a single frame somewhere and I'm not sure why that is.
> Would appreciate it if someone could take a look.
>
> Essentially I have a concat demuxer input with 32 frames. I would like to
> repeat frame #16 104 times. And repeat frame #34 14 times. 32 input frames
> + 104 + 14 = 150 frames. At 30fps, my intention is to produce a 5 second
> video with exactly 150 frames. But I can only manage to produce 149 frames.

Can you identify which frame is missing?

Gyan


More information about the ffmpeg-user mailing list