digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: 12.5 fps DV to mpeg? (http://www.digitalfaq.com/archives/avisynth/14421-avisynth-125-fps.html)

Uruk-hai 11-13-2006 02:58 AM

Avisynth: 12.5 fps DV to mpeg?
 
My sister has a rather low-end Canon miniDV camcorder that produces ASF at 12.5 fps.

Are there any script that would take this ASF into reasonable quality PAL VCD format?

Thanks. :lol:

Dialhot 11-13-2006 04:46 AM

It is interlaced ? If yes a simple bob shoudl double the framerate, hence produce a 25 fps material. Isn't it ?

Uruk-hai 11-13-2006 05:47 AM

Thanks. But wouldn't BOB reduce the resolution to half? There are a few favors of bob, the standard one and those that called smart bob, can you recommend some to start with? :lol:

Dialhot 11-13-2006 06:54 AM

Actually you are right :(. Unfortunally I don't know a lot about bobing and deinterlacing in a general way so I should let Boulder or others help you.

An idea may be to use TDeint with mode 1 then mode -1.
Quote:

mode:

Sets the mode of operation. Modes -2 and -1 require progressive input.

-2 - double height using modified ELA
-1 - double height using modified ELA-2
0 - same rate output
1 - double rate output (bobbing)
2 - same rate output (blend frames from bobbed stream)

default - 0 (int)

Boulder 11-13-2006 07:11 AM

You should try a motion compensated framerate changer, like MVFlowFPS2 which is in the MVTools package (avisynth.org.ru->Fizick's plugins).

A short example (copied almost directly from the MVTools readme):
Code:

source = Avisource("c:\test.avi")
backward_vec = source.MVAnalyse(isb = true, truemotion=true, pel=2, idx=1)
# we use explicit idx for more fast processing
forward_vec = source.MVAnalyse(isb = false, truemotion=true, pel=2, idx=1)
cropped = source.crop(4,4,-4,-4) # by half of block size 8
backward_vec2 = cropped.MVAnalyse(isb = true, truemotion=true, pel=2, idx=2)
forward_vec2 = cropped.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2)
return source.MVFlowFps2(backward_vec,forward_vec,backward_vec2,forward_vec2,num=25,idx=1,idx2=2)

If the camcorder produces interlaced stuff, the script needs some more tweaking.


All times are GMT -5. The time now is 05:37 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.