Skip to content

Conversation

@cookieguru
Copy link
Contributor

When there is no activity in a GIF there is still a new frame generated every 1/framerate seconds. At the default recording of 15 FPS this means that a new frame is generated and stored in the file every 6/100 or 7/100 of a second. If nothing changed between the two frames, it is more efficient to extend the duration of the first frame and drop the second. This is what ffmpeg's mpdecimate filter does.

For more info see https://trembit.com/blog/ffmpeg-mpdecimate-filter-for-dummies/

When there is no activity in a GIF there is still a new frame generated every
1/framerate seconds. At the default recording of 15 FPS this means that a new
frame is generated and stored in the file every 6/100 or 7/100 of a second. If
nothing changed between the two frames, it is more efficient to extend the 
duration of the first frame and drop the second. This is what ffmpeg's
mpdecimate filter does.

For more info see https://trembit.com/blog/ffmpeg-mpdecimate-filter-for-dummies/
@Jaex Jaex merged commit 131c747 into ShareX:master Nov 2, 2025
5 checks passed
@Jaex
Copy link
Member

Jaex commented Nov 2, 2025

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants