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. |
|
|
Thread Tools | Search this Thread | Display Modes |
24th March 2004, 17:34 | #1 | Link |
Registered User
Join Date: Mar 2002
Posts: 7
|
Is it possible to create plugin which can change framerate?
subj
More detailed: External plugin has input video with 25 fps. Can this plugin output treated video with doubled or tripled framerate (50 or 75 fps, with the same resolution and duration). How I can realize that?
__________________
Observatory - your Guide of Digital Video/Audio in Russian |
24th March 2004, 19:44 | #2 | Link |
Avisynth 3.0 Developer
Join Date: Jan 2002
Location: France
Posts: 639
|
There are no constraints between input and output video.
That is to say a plugin can do exactly what you said (and more) If your filter inherit from GenericVideoFilter, you do it by directly altering the value of herited VideoInfo member vi (in your filter constructor). Code:
vi.framerate = ... vi.framecount = ... //I may have mismaned the properties to alter, but the idea is there |
24th March 2004, 19:55 | #3 | Link |
Registered User
Join Date: Dec 2003
Posts: 147
|
What do you mean by doubled framerate? There are a couple ways to do this:
1. Duplicated Frames (a, b) -> (a, a, b, b) 2. Blended Frames (a, b) -> (a, [(a+b)/2], b, [(b+c)/2]) 3. Interpolated Frames (a, b) -> (a, I(a,b), b, I(b,c)) I assume you mean interpolated. Unfortunately, that's really hard to do. There are commercial programs out there that do this pretty well, though they cost hundreds of dollars. http://www.revisionfx.com/rstwixtor.htm http://www.borisfx.com/products/RED/index_3gl.php A free, but not-as-great alternative is trbarry's FrameDbl filter (www.trbarry.com)
__________________
Stuff was here at some point. Last edited by SoonUDie; 24th March 2004 at 21:02. |
17th April 2004, 15:58 | #5 | Link |
Registered User
Join Date: Mar 2002
Posts: 7
|
Thank you for the help! ChangeFPS source is the best explanation.
I think this thread may be closed...
__________________
Observatory - your Guide of Digital Video/Audio in Russian |
Thread Tools | Search this Thread |
Display Modes | |
|
|