[GH-ISSUE #146] Framerate option ignored during ffmpeg saving? #127

Closed
opened 2026-02-26 08:45:26 +03:00 by kerem · 2 comments
Owner

Originally created by @MeatyChunks on GitHub (May 29, 2017).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/146

Originally assigned to: @NickeManarin on GitHub.

While testing some settings it looks like the framerate option is ignored during ffmpeg saving? Adding -report to the ffmpeg command line shows there's always an "-r 30" at the end, regardless of whatever I set it to in the area above the ffmpeg command line. Is it meant to be this way?

I could also use some help if possible; While saving as a GIF plays at the correct speed, ffmpeg always seems to play it slightly faster, I was wondering if setting it to a lower fps would fix the issue which led me to discovering not being able to change the framerate. This is while using constant framerate so the delay between frames shows as 33ms, does ffmpeg ignore that or something?

Many thanks!

Originally created by @MeatyChunks on GitHub (May 29, 2017). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/146 Originally assigned to: @NickeManarin on GitHub. While testing some settings it looks like the framerate option is ignored during ffmpeg saving? Adding -report to the ffmpeg command line shows there's always an "-r 30" at the end, regardless of whatever I set it to in the area above the ffmpeg command line. Is it meant to be this way? I could also use some help if possible; While saving as a GIF plays at the correct speed, ffmpeg always seems to play it slightly faster, I was wondering if setting it to a lower fps would fix the issue which led me to discovering not being able to change the framerate. This is while using constant framerate so the delay between frames shows as 33ms, does ffmpeg ignore that or something? Many thanks!
kerem 2026-02-26 08:45:26 +03:00
Author
Owner

@NickeManarin commented on GitHub (May 30, 2017):

Indeed, there's a bug in here. The value is locked to a hidden value. I just need to set the proper variable.

Currently, FFmpeg ignores the delay between frames of the source recording. I still need to implement variable framerate and remove the Framerate option.

Thanks.

<!-- gh-comment-id:304946304 --> @NickeManarin commented on GitHub (May 30, 2017): Indeed, there's a bug in here. The value is locked to a hidden value. I just need to set the proper variable. Currently, FFmpeg ignores the delay between frames of the source recording. I still need to implement variable framerate and remove the Framerate option. Thanks.
Author
Owner

@NickeManarin commented on GitHub (Jun 1, 2017):

I removed the output fps parameter from my code (you can still set via the Extras box) in order to favor variable framerate from the current recording.

Ready for v2.8.

<!-- gh-comment-id:305357946 --> @NickeManarin commented on GitHub (Jun 1, 2017): I removed the **output fps** parameter from my code (you can still set via the Extras box) in order to favor variable framerate from the current recording. Ready for v2.8.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#127
No description provided.