[GH-ISSUE #1053] I was never able to create a smooth loop. #795

Closed
opened 2026-02-26 09:32:39 +03:00 by kerem · 9 comments
Owner

Originally created by @wvxwxvw on GitHub (Jan 11, 2022).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1053

Originally assigned to: @NickeManarin on GitHub.

Describe the bug
Added different sets images, including two identical sets of images and set the minimum possible match threshold. Always the same thing, can't create, he says. But I know there's 100% identical footage. :)

Desktop (please complete the following information):

  • OS: Windows 7 x64
  • Version 2.35.4
Originally created by @wvxwxvw on GitHub (Jan 11, 2022). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1053 Originally assigned to: @NickeManarin on GitHub. **Describe the bug** Added different sets images, including two identical sets of images and set the minimum possible match threshold. Always the same thing, can't create, he says. But I know there's 100% identical footage. :) **Desktop (please complete the following information):** - OS: Windows 7 x64 - Version 2.35.4
kerem 2026-02-26 09:32:39 +03:00
Author
Owner

@NickeManarin commented on GitHub (Jan 11, 2022):

How did you position the frames?

Use the same number for 100% equal frames, like so:
1 2 3 4 5 1

Also, which options did you use?

<!-- gh-comment-id:1010017847 --> @NickeManarin commented on GitHub (Jan 11, 2022): How did you position the frames? Use the same number for 100% equal frames, like so: 1 2 3 4 5 1 Also, which options did you use?
Author
Owner

@wvxwxvw commented on GitHub (Jan 11, 2022):

So he himself is not looking for the same shots?

I arranged them in order.
Frame-1.bmp
Frame-2.bmp
Frame-3.bmp
...
This is how it was extracted from the original gif. And duplicated one of the first frames by placing it closer to the end, while maintaining the numbering order.

And just exported another gif with two identical sequences.

But that's all after I tried a lot of other options and never got a result.
I used any options, I wrote above, and 100% and minimum. With a mimnim, he had to find something anyway. And 50%, etc.

The question is a little off topic. windowsdesktop-runtime-6.0.1 what bit depth (x86 or x64) should I install? I put both, maybe that's the problem? ScreenToGif portable x64 version, but I tried x86 as well.

<!-- gh-comment-id:1010189845 --> @wvxwxvw commented on GitHub (Jan 11, 2022): So he himself is not looking for the same shots? I arranged them in order. Frame-1.bmp Frame-2.bmp Frame-3.bmp ... This is how it was extracted from the original gif. And duplicated one of the first frames by placing it closer to the end, while maintaining the numbering order. And just exported another gif with two identical sequences. But that's all after I tried a lot of other options and never got a result. I used any options, I wrote above, and 100% and minimum. With a mimnim, he had to find something anyway. And 50%, etc. The question is a little off topic. windowsdesktop-runtime-6.0.1 what bit depth (x86 or x64) should I install? I put both, maybe that's the problem? ScreenToGif portable x64 version, but I tried x86 as well.
Author
Owner

@NickeManarin commented on GitHub (Jan 11, 2022):

The algorithm tries to find the first similar enough frame from end-to-start or start-to-end depending on settings.
For example:

image

In this project, the algorithm wil find the frame $4 as the 100% similar as the first one and will delete all next frames ($5).

<!-- gh-comment-id:1010364883 --> @NickeManarin commented on GitHub (Jan 11, 2022): The algorithm tries to find the first similar enough frame from end-to-start or start-to-end depending on settings. For example: ![image](https://user-images.githubusercontent.com/14798947/149022403-f0b3fdf1-e9c6-4ac4-9b07-2f87c78c746a.png) In this project, the algorithm wil find the frame $4 as the 100% similar as the first one and will delete all next frames ($5).
Author
Owner

@NickeManarin commented on GitHub (Jan 11, 2022):

As for the runtime that you need, you just need to download the one for the architecture that you are using. But for Windows 7, you need SP1 and some other updates.

https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=net60#additional-deps

<!-- gh-comment-id:1010366721 --> @NickeManarin commented on GitHub (Jan 11, 2022): As for the runtime that you need, you just need to download the one for the architecture that you are using. But for Windows 7, you need SP1 and some other updates. https://docs.microsoft.com/en-us/dotnet/core/install/windows?tabs=net60#additional-deps
Author
Owner

@wvxwxvw commented on GitHub (Jan 12, 2022):

I thought so.
sp1 and all major (non-junk) updates are worth it.

Since you show it works, but on more complex images, such as a video series, it does not.
In general, it is clear that the simplest images are needed to use the opportunity. If you want, you can close the thread.

<!-- gh-comment-id:1010981113 --> @wvxwxvw commented on GitHub (Jan 12, 2022): I thought so. sp1 and all major (non-junk) updates are worth it. Since you show it works, but on more complex images, such as a video series, it does not. In general, it is clear that the simplest images are needed to use the opportunity. If you want, you can close the thread.
Author
Owner

@NickeManarin commented on GitHub (Jan 18, 2022):

I want to leave this issue ticket open, as I need to improve the UX of the tool.
Right now it's not clear how it works and why it fails.

<!-- gh-comment-id:1015351849 --> @NickeManarin commented on GitHub (Jan 18, 2022): I want to leave this issue ticket open, as I need to improve the UX of the tool. Right now it's not clear how it works and why it fails.
Author
Owner

@NickeManarin commented on GitHub (Jan 18, 2022):

As for the runtime, I'm thinking about embbeding .NET 6 along with the app, it just going to increase the file size by a lot.
I may also distribute as a msix (maybe with support for MSIX Core, for Windows 7 and above).

<!-- gh-comment-id:1015352808 --> @NickeManarin commented on GitHub (Jan 18, 2022): As for the runtime, I'm thinking about embbeding .NET 6 along with the app, it just going to increase the file size by a lot. I may also distribute as a msix (maybe with support for MSIX Core, for Windows 7 and above).
Author
Owner

@wvxwxvw commented on GitHub (Jan 24, 2022):

Yeah, that's better. This is what most developers with portable versions of software do. And nothing that will increase the size, it's better than insnalling it in the OS.

<!-- gh-comment-id:1020481564 --> @wvxwxvw commented on GitHub (Jan 24, 2022): Yeah, that's better. This is what most developers with portable versions of software do. And nothing that will increase the size, it's better than insnalling it in the OS.
Author
Owner

@NickeManarin commented on GitHub (Jan 26, 2022):

Fixed a couple of issues with the Smooth Loop feature.
The frames were not being correctly compared, skipping some.
And the warning message was not that great.

If you already have a smooth loop based on the current settings, the app will now tell you.
image

<!-- gh-comment-id:1022709771 --> @NickeManarin commented on GitHub (Jan 26, 2022): Fixed a couple of issues with the Smooth Loop feature. The frames were not being correctly compared, skipping some. And the warning message was not that great. If you already have a smooth loop based on the current settings, the app will now tell you. ![image](https://user-images.githubusercontent.com/14798947/151266196-326cdf5c-6af0-4d81-9dc7-2663551a16c0.png)
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#795
No description provided.