Selur's Little Message Board
[BUG] SelectEvery seems to be completely broken. - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [BUG] SelectEvery seems to be completely broken. (/thread-4098.html)



SelectEvery seems to be completely broken. - Dyshonest - 10.05.2025

I'm trying to delete every fifth frame of a 29.97 progressive video. Every fifth frame is, for some reason, a duplicate of the fourth frame.
SelectEvery doesn't work.

https://i.imgur.com/ERKhled.png

Ignore the source material there not matching the story (since it's 60 FPS, but it still doesn't work there, either). This was taken on a different computer to demonstrate the bug on the latest version of Hybrid, 2025.03.09.1.

It's a simple setting to duplicate: just select SelectEvery under "Frame" for VapourSynth, make sure the Cycle is set to 5 and Adjust FPS is checked, then type in 0, 1, 2, 3

I'm not really sure what's going on? I see it's been broken since at least December 2023, possibly earlier.


RE: SelectEvery seems to be completely broken. - Selur - 10.05.2025

You should use:
Cycle 5 (I first mistyped 4) and Offsets:
0 1 2 3
Without the comma, like the tool-tip says:
Quote:Offsets:
Offsets used by SelectEvery, allowed values are between 0 and 'cycle -1'.
The offsets should be separated by spaces.

Quote:Every fifth frame is, for some reason, a duplicate of the fourth frame.
sounds like some speed up or messed up handling of telecined content.

Cu Selur


RE: SelectEvery seems to be completely broken. - Dyshonest - 10.05.2025

Cycle 4 and 0 1 2 3 says the FPS stays the same.
Did you mean Cycle 5 and 0 1 2 3 (no commas)? Because I see that started a file, whereas with the commas, it just crashed with "Exit Status 0". Not sure what's going to come out.

It's not sped up. I think it's because it has to have meet an FPS quota for where the file was uploaded, so this was the simplest method to do it. It was originally 23.976, no telecining or anything.


RE: SelectEvery seems to be completely broken. - Selur - 10.05.2025

Sorry, I meant to write Cycle 5
Quote:SelectEvery, allowed values are between 0 and 'cycle -1'.
so for a cycle of 5 the allowed values are 0 1 2 3 and 4.

=> SelectEvery works fine, you are just trying to use it wrong.

Cu Selur

Ps.: moved thread