PDA

View Full Version : Converting 24fps to 25fps using AVISynth???


sungod93
25th April 2008, 08:10
Is there a way instead of using convertfps() to convert 24fps to 25fps??? The reason why im asking is that i do not want blended frames in my footage. I know there are ways such as assumefps() but that makes the audio out of sync

Is there that i can make an extra frame which is interlaced??? so it can make 25fps???


Thanks

themostestultimategenius
25th April 2008, 08:24
If you use AssumeFPS you have to change the length of the audio.

thetoof
25th April 2008, 09:27
This should do the job (get the most recent version of MVTools)
source=last
backward_vec = source.MVAnalyse(overlap=4, isb = true, pel=4, search=3, idx=1)
forward_vec = source.MVAnalyse(overlap=4, isb = false, pel=4, search=3, idx=1)
source.MVFlowFps(backward_vec, forward_vec, idx=1)

smok3
25th April 2008, 09:34
you can try
assumefps(25, sync_audio=true)
ResampleAudio(48000)

to change the audio length.

thehug
25th April 2008, 10:11
ChangeFPS doesn't blend frames, and keeps audio in sync.

http://avisynth.org/FPS

manolito
25th April 2008, 12:27
Another easy way is to use DGPulldown. The effect should be the same as when using ChangeFPS (repeated fields), but no need to reencode.

Cheers
manolito

sungod93
25th April 2008, 13:05
thanks everyone for your input. ALthough changefps makes the video jerky. Im yet to try the code that "thetoof" posted

2Bdecided
28th April 2008, 18:32
You have to pick your poison...

A) 2 repeated fields per second (two little stutters)
B) 1 repeated frame per second (one larger stutter)
C) speed up the audio and leave the pitch 4% higher afterwards
D) speed up the audio and correct the pitch, introducing audio artefacts
E) convert the frame rate of the video using motion compensation, introducing video artefacts

C is by far the most common, for obvious reasons; E is the least common because it's the slowest, and the results can be really ugly when they go wrong - depends on the content.

Cheers,
David.

foxyshadis
28th April 2008, 20:07
If you want interlaced, you should have used ConvertFPS(50) followed by interlacing, that's option A above.