This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[BUG] SelectEvery seems to be completely broken.
#1
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.
Reply
#2
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
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.
Reply
#4
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)