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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: May 2016
Posts: 235
|
What options for removing frames in avisynth?
What are my options for removing frames? I realized I got a video that I want to remove all this frames.
"1, 3, 5, 7, 9, 11, 12, 14, 16, 18, 20, 22, 24, 26, 27, 29" and it then repeat so its 31, 33, 35, 37...that I want to remove. I did try SelectEvery() and TDecimate() But I cant manage to get it to work. And btw, 1, is not the first frame, the first frame is called 0, at leat in avspmod. I think I use SelectEver wrong. I never got it to work as it should.
__________________
Automatic Colorization Last edited by color; 8th June 2021 at 12:49. |
|
|
|
|
|
#2 | Link |
|
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,837
|
Firstly, the question is "Why do you need to remove the frames?"
![]() Secondly, if the pattern is constant like that from frame 30, you could use multiple Trim statements to select ones to keep between 0-29 and then Trim(30,0).SelectEven() for the rest.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
|
|
|
|
#3 | Link |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,417
|
what did you try with SelectEvery ?
Did you try this Code:
#Colorbars ShowFrameNumber # so you can see frames selected SelectEvery(30, 0,2,4,6,8,10,13,15,17,19,21,23,25,28)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: May 2016
Posts: 235
|
There is blended frames so I do need to delete them. They look awefull..
__________________
Automatic Colorization |
|
|
|
|
|
#5 | Link | |
|
Registered User
Join Date: May 2016
Posts: 235
|
Quote:
That looks better, seems like I have missed something in the counting off the frames. I have to count again. Thank you. The 30...is that for framerate?
__________________
Automatic Colorization |
|
|
|
|
|
|
#7 | Link |
|
Registered User
Join Date: May 2016
Posts: 235
|
It was a bit more, after 3000 its getting worse.
I found that 0-1100 this looks good: SelectEvery(100, 0,2,4,6,8,10,13,15,17,19,21,23,25,28,30,32,34,36,38,40,43,45,47,49,51,53,55,58,60,62,64,66,68,71,73,75,77,79,81,83,86,87,89,91,95,97) Here is the movie. https://upload.wikimedia.org/wikiped...tive_1910.webm
__________________
Automatic Colorization Last edited by color; 8th June 2021 at 13:58. |
|
|
|
|
|
#8 | Link |
|
Registered User
Join Date: May 2016
Posts: 235
|
I have never ever got SRestore to work at all, I always get "There is no function called 'nonyuy2clipin'". But I have installed everything that is required. I do also got AnimeIVTC where it supposed to be located. Also getting "I don't know what 'AvsPlusVersionNumber' means."
__________________
Automatic Colorization Last edited by color; 8th June 2021 at 13:34. |
|
|
|
|
|
#9 | Link |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,417
|
"There is no function called 'nonyuy2clipin'"
EDIT: Oops, you already said you got that. ![]() AvsPlusVersionNumber, I'm guessin that is from Real.Finder an avsi file. Zs_RF_Shared.avsi here:- https://github.com/realfinder/AVS-St...2.5%20and%20up EDIT: You may also need Real.finder updates in same link as above, ie AnimeIVTC.avsi AnimeIVTC_helper.avsi EDIT: Real.Finder stuff is in rapid development, and nearly everything requires Zs_RF_Shared.avsi. [which can also change frequently]
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 8th June 2021 at 13:44. |
|
|
|
|
|
#10 | Link | |
|
Registered User
Join Date: May 2016
Posts: 235
|
Quote:
I did use "ConvertToYV12()" But it gives me "mt_makediff : unsupported colorspace. masktools only support planar YUV colorspaces (YV12, YV16, YV24)" I will see if I can update masktools.
__________________
Automatic Colorization Last edited by color; 8th June 2021 at 13:51. |
|
|
|
|
![]() |
| Tags |
| remove frames |
| Thread Tools | |
| Display Modes | |
|
|