[FFmpeg-user] Overlapping frames issue with -seek_frames_individually set to false

Ferdi Scholten ferdi at sttc-nlp.nl
Wed Oct 30 14:48:46 EET 2024


Hello,
> I am struggling with ffmpeg to generate thumbnails for video files. We have
> to use `-seek_streams_individually false` because setting it to true takes
> far too long to retrieve frames near the end of longer content (> 30s
> runtime for content > 1h30m).
>
> Here is the command we currently have:
>
> ffmpeg -y -nostdin -copyts -seek_streams_individually false -ss 15.1 -i
> COMMCON.mp4 -vframes 1 -vsync 0 -c:v libwebp output.webp
>
> And the resulting thumbnail is attached (we have found overlapping frames
> around frames 451-456 for this content). What do you think? Any idea how
> we  might be able to fix this issue and get a single frame in the result?
>
> Thank you,
> Alex MacLean
>
> _______________________________________________
>
Have you tried to use ffmpegthumbnailer?

You can find it here: https://github.com/dirkvdb/ffmpegthumbnailer

You might not have to reinvent the wheel....


More information about the ffmpeg-user mailing list