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 |
15th June 2006, 05:44 | #161 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
No, but here is simple fps doubler (from 15 to 30):
data = DePanEstimate() f1_2 = DePan(data=data, offset=1./2) Interleave(f1_2,last)
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
15th June 2006, 15:37 | #162 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
How about from 15fps to 23.976? Would something along the lines of:
Code:
i=last data=DePanEstimate(i,range=1,trust=5) f=DePan(i,data,offset=x) b=DePan(i,data,offset=-x) Interleave(f,i,b) SelectEvery(???)
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
15th June 2006, 17:47 | #163 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
Look to fps conversion examples in DePan doc and try understand them.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick I usually do not provide a technical support in private messages. |
15th June 2006, 22:22 | #164 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
I'm not being lazy, the framerate changes appear out of the blue in the readme, and the only two examples (2-to-3 and 3-to-5) are too different for a common template to be extracted from them. About the only thing I see in common is that both examples create some kind of backward and forward information, but that's it.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
16th June 2006, 05:35 | #165 | Link |
Registered User
Join Date: Feb 2002
Location: California
Posts: 2,695
|
Here's some code I used quite awhile ago. Haven't tested it with the latest version. However, it worked when I last used it. Hopefully it will help you fill in the gaps in your knowledge and get you going.
Code:
#Slow motion loadplugin("c:\Program Files\AviSynth 2.5\plugins\depan.dll") AVISource("E:\Volleyball\Volleyball (Soldedad)\Volleyball (soledad)0022.avi") converttoYV12() AssumeBFF() fps3to5() function fps3to5(clipYV12) { # change FPS from 3 to 5 (or 15 to 25, or 18 to 30 and so on), i.e. with factor=5/3 # uses global motion compensation # input must be YV12 progressive (or separated fields probably ?) SeparateFields(clipYV12) data = DePanEstimate(clipYV12) t3_5 = DePan(clipYV12, data, offset=-2./5) t6_5 = DePan(clipYV12, data, offset=1./5).trim(2,0) t9_5 = DePan(clipYV12, data, offset=-1./5).trim(1,0) t12_5 = DePan(clipYV12, data, offset=2./5).trim(3,0) Interleave(clipYV12, t3_5, t6_5, t9_5, t12_5) SelectEvery(15,0,1,2,3,4) weave() } |
16th June 2006, 16:25 | #166 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
Thanks, but that 3-to-5 example is in DePan's readme, and the only other example (2-to-3) is much too different to extract a general framework from them.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
16th June 2006, 16:43 | #168 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
Not exactly, I need a 15-to-23.976 script that doesn't result in the need of resampling/repitching the source audio.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
16th June 2006, 18:16 | #170 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
I assume 15-to-29.97 won't workt with DePan either, am I stuck with duping/interpolating frames with ChangeFPS then?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
17th June 2006, 02:06 | #172 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
You mean extrapolation to 150fps and then ChangeFPS(23.976), right? And what should I use for the extrapolation?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
17th June 2006, 19:37 | #175 | Link | |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
Quote:
[edit]If the final conversion is going to be to 23.976, would it benefitial to do the up-interpolation to 120fps instead?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. Last edited by Chainmax; 17th June 2006 at 21:48. |
|
19th June 2006, 03:41 | #177 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
But 119.88 (120) is a multiple of 23.976 (24), whereas 150 is not. Does that not make a difference when the filter tries to calculate which of the up-interpolated frames to discard?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
19th June 2006, 12:11 | #178 | Link |
Registered User
Join Date: May 2005
Posts: 236
|
That's why sharfis is not talking of an exact convertion, he says you'll have remaining jerkiness. With the depan way as I understand from sharfis and the 3to5 script, you can only divide by decimal numbers the gap between 2 frames to introduce the interpolated ones. This is not compatible with 15 to 23.976 (or more precisely 24000/1001, and this is not an decimal number)
Have a look in the avisynth doc to what changefps does... You'll see why with the depan method "the more up-interpolation, the less the remaining jerkyness due to the 1000/1001 factor." |
19th June 2006, 17:32 | #179 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
I see. So, what would the modified fps3to5 with 1/10th steps to achieve 150fps be?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
21st June 2006, 21:05 | #180 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
Alain2? scharfis_brain?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
Thread Tools | Search this Thread |
Display Modes | |
|
|