Changing framerate

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Mutedblaze
Joined: Sun Jun 29, 2008 4:29 pm
Org Profile

Changing framerate

Post by Mutedblaze » Mon Jul 14, 2008 9:49 pm

I have a source that has a framerate of 25fps...which i find very odd. I need to change it to 23.97fps and i know there is a way to do this, but i can't figure it out. i've done some researching and the best i could come up with is a pulldown or telecine command in avisynth. I think changing the framerate causes an interlacing problem too, but i'm not sure. Could anybody tell me how to change the framerate without getting laggy or bad quality footage please? If you wrote out a script for me i would love and admire you forever.

User avatar
jasper-isis
P. Y. T.
Joined: Tue Aug 13, 2002 11:02 am
Status: catching all the lights
Org Profile

Post by jasper-isis » Mon Jul 14, 2008 9:56 pm

If mismatched audio is not an issue for you, then in avisynth you would write:

Code: Select all

assumefps(23.97)
Alternatively, open the file in VirtualDub and go to Video -> Frame rate... and select the second radio button.


These change the fps without adding or removing any frames.
Image

User avatar
Mutedblaze
Joined: Sun Jun 29, 2008 4:29 pm
Org Profile

Post by Mutedblaze » Mon Jul 14, 2008 10:22 pm

I kill the audio anyway so that's not an issue. But when i tried assumefps, and compressed in vdub with lagarith, the video was real choppy. similar result with the alternative method.

User avatar
Autraya
Zero Punctuation
Joined: Tue Mar 11, 2003 12:52 am
Status: old
Location: Terra Australis
Contact:
Org Profile

Re: Changing framerate

Post by Autraya » Tue Jul 15, 2008 1:28 am

Mutedblaze wrote:I have a source that has a framerate of 25fps...which i find very odd.
it's perfectly normal for PAL sources :? and when you slow PAL down by removing frames it becomes choppy as hell.
Do you really "need" 23.97fps? why cant you edit at 25fps? (for a MEP?)

Also since it's PAL if you used Decimate in you script to deinterlace that explains the super jerkiness. Don't decimate PAL. use telecide(1) only or something like fielddeinterlace() or tomsmocomp(1,5,1)
new banzors in the making :p

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Post by mirkosp » Tue Jul 15, 2008 6:52 am

Also, about changing the framerate, I'd say the best code would be

Code: Select all

changefps(23.97)
since assumefps will slow down/speed up the footage to adapt the framerate. Changefps does only a framerate conversion without any frame blending, but just by duplicating or deleting frames.
The other framerate convertion filter would be convertfps, but it will blend frames, that's why I don't like it...blending PAL frames, that are most likely already blended, will look like shit.

User avatar
Mutedblaze
Joined: Sun Jun 29, 2008 4:29 pm
Org Profile

Post by Mutedblaze » Tue Jul 15, 2008 11:43 am

Its not for an mep. I'm using multiple anime in my amv and most of the sources are 23.97fps so i was going to convert the sources that aren't to that framerate. I'm probably going about this completely wrong because i was hoping to eventually enter it into a contest. i hear most contests require 29.97fps, so i was planning on first converting the few sources to 23.97 and then when i finish, change the entire amv to 29.97. I'll try some of these ideas and see what happens though.

User avatar
Mutedblaze
Joined: Sun Jun 29, 2008 4:29 pm
Org Profile

Post by Mutedblaze » Wed Jul 16, 2008 5:48 pm

Ok, using telecide(1) helped a bit, but it still looks pretty choppy. I know the order of the commands affects it so here is what i have

avisource("L:\anime\TsubasaChronicles.avi")
assumefps(23.976)
telecide(1)
bicubicresize(720,480)
killaudio()

does anyone see some problems with this that might mess it up?

Locked

Return to “AviSynth Help”