Selur's Little Message Board

Full Version: SelectEvery seems to be completely broken.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
You should use:
Cycle 5 (I first mistyped 4) and Offsets:
Code:
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
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.
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