PDA

View Full Version : Doubling framerate but slowing the video, how can I do it?


Chainmax
22nd June 2006, 13:32
I am trying to bring a 15fps clip to 23.976fps while having it play at half speed. Here's the script I have so far:

fps3to5()

DeleteFrame(19)

Crop(8,4,302,234,align=true)

Lanczos4Resize(320,240)

AssumeFPS(23.976)

I though of adding SelectEven() at the end, but that leaves the file at 11.988fps. I suppose I can just add ChangeFPS(23.976) after it, but I was wondering if there is a better way.

videoFred
22nd June 2006, 14:09
If you can live with the artefacts:

source=avisource("blah.avi").assumefps(7.5).converttoYV12()

backward_vectors = source.MVAnalyse(isb = true,truemotion=true,idx=1)
forward_vectors = source.MVAnalyse(isb = false,truemotion=true,idx=1)

changed_clip=MVFlowFps(source,backward_vectors, forward_vectors, num=23.976, den=1, ml=100)

changed_clip

Fred.

Daodan
22nd June 2006, 14:13
Chainmax, unless you want some more smoothness in your clip (like videofred suggests ) I don't think it really matters what method you use. But I think you already tried those different things on that clip of yours already :.

Chainmax
22nd June 2006, 19:17
I don't want any artifacts this time. My method seems to work fine but I was wondering if there was something better.