Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
24th June 2015, 20:16 | #1 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
AviSynth to VapourSynth code translation
is there a better, possibly shorter way to achieve SelectEven and SelectOdd?
Code:
Select Even fpsnum = clip.fps_num fpsden = clip.fps_den clip = core.std.SelectEvery(clip = clip, cycle = 2, offsets = 0) clip = core.std.AssumeFPS(clip = clip, fpsnum = fpsnum, fpsden = fpsden * 2) Select Odd fpsnum = clip.fps_num fpsden = clip.fps_den clip = core.std.SelectEvery(clip = clip, cycle = 2, offsets = 1) clip = core.std.AssumeFPS(clip = clip, fpsnum = fpsnum, fpsden = fpsden * 2)
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
24th June 2015, 20:47 | #3 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
works
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
24th June 2015, 21:45 | #5 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Yes, somehow I missed it and made it much more complicated than it is.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
|