[GH-ISSUE #364] Remove duplicate frames without reducing overall length #299

Closed
opened 2026-02-26 09:30:55 +03:00 by kerem · 6 comments
Owner

Originally created by @brianjlacy on GitHub (Jul 31, 2018).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/364

Originally assigned to: @NickeManarin on GitHub.

Is it possible to remove duplicate frames without reducing the overall length of the video?

In other words, I want to use the "Remove Duplicates" tool to reduce the file size by removing all but one frame from each contiguous sequence of duplicates, BUT extend the duration of the remaining frame to the total duration of the original sequence of duplicates, thus allowing the duration and content of the overall video to remain unchanged. Is this currently possible?

Originally created by @brianjlacy on GitHub (Jul 31, 2018). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/364 Originally assigned to: @NickeManarin on GitHub. Is it possible to remove duplicate frames without reducing the overall length of the video? In other words, I want to use the "Remove Duplicates" tool to reduce the file size by removing all but one frame from each **contiguous sequence** of duplicates, BUT extend the duration of the remaining frame to the total duration of the original sequence of duplicates, thus allowing the duration and content of the overall video to remain unchanged. Is this currently possible?
kerem 2026-02-26 09:30:55 +03:00
Author
Owner

@NickeManarin commented on GitHub (Aug 4, 2018):

It should be possible to achieve this by selecting the option to sum the delay of the removed frames into the remaining frame.
But I believe that the options is not working properly right now.
I'll try to fix right now, maybe it's going to be available with the next release (v2.14).

<!-- gh-comment-id:410421137 --> @NickeManarin commented on GitHub (Aug 4, 2018): It should be possible to achieve this by selecting the option to sum the delay of the removed frames into the remaining frame. But I believe that the options is not working properly right now. I'll try to fix right now, maybe it's going to be available with the next release (v2.14).
Author
Owner

@NickeManarin commented on GitHub (Aug 4, 2018):

I got it. It works when selecting these options:

image

It does not work when selecting the "Frame removal" option as "Remove the first frame".

<!-- gh-comment-id:410421873 --> @NickeManarin commented on GitHub (Aug 4, 2018): I got it. It works when selecting these options: ![image](https://user-images.githubusercontent.com/14798947/43672396-618a34a8-9783-11e8-8c0e-5478519ce317.png) It does not work when selecting the "Frame removal" option as "Remove the first frame".
Author
Owner

@NickeManarin commented on GitHub (Aug 4, 2018):

Fixed. :)

<!-- gh-comment-id:410450970 --> @NickeManarin commented on GitHub (Aug 4, 2018): Fixed. :)
Author
Owner

@vatterspun commented on GitHub (Aug 4, 2018):

Love the similarity percentage -- that's huge. Thanks!

<!-- gh-comment-id:410462132 --> @vatterspun commented on GitHub (Aug 4, 2018): Love the similarity percentage -- that's huge. Thanks!
Author
Owner

@brianjlacy commented on GitHub (Aug 6, 2018):

Thanks! Do you have a rough ETA for 2.14 release yet?

<!-- gh-comment-id:410725135 --> @brianjlacy commented on GitHub (Aug 6, 2018): Thanks! Do you have a rough ETA for 2.14 release yet?
Author
Owner

@NickeManarin commented on GitHub (Aug 6, 2018):

@brianjlacy This week.

<!-- gh-comment-id:410743825 --> @NickeManarin commented on GitHub (Aug 6, 2018): @brianjlacy This week.
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#299
No description provided.