On Wed, Nov 18, 2020 at 17:45:53 +0000, adam smith via ffmpeg-user wrote: > My issue is that the first image time varies depending on the output fps. > Eg fps=1/1 will output the first image from the 1st second of source; and so > on. > Fps=1/5 will output the first image from the 3rd second of the source. > Fps=1/11 will output the first image from the 6th second of the source. > It keeps getting further away from the start while remaining approx halfway > to the point I expected.
That seems to be the expected behavior from the fps filter's averaging. > Any ideas how I force the first image to either be the first frame of the > source, or the same value as the frequency? Do take a look at the documentation of the select filter. It even has an example on how to extract certain frames, e.g. by number: https://ffmpeg.org/ffmpeg-filters.html#select_002c-aselect Select one frame every 100: select='not(mod(n\,100))' Cheers, Moritz _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".