24p -> 30p?

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Beowulf
Joined: Wed Feb 27, 2002 9:41 pm
Location: in the art house
Contact:
Org Profile

24p -> 30p?

Post by Beowulf » Thu Dec 31, 2009 5:23 pm

I've got a sexy 23.976 progressive music video.

I want to convert the frame rate to 29.970, keep it in synch, and keep it progressive.

Can this be done?

The reason for this is because I'm making a reel out of some of my music videos, and most of them are in 29.970 progressive, so this one needs to be the same.

Help <3

User avatar
Emotive
...the Meditant
Joined: Sat Nov 04, 2006 12:20 pm
Org Profile

Re: 24p -> 30p?

Post by Emotive » Thu Dec 31, 2009 6:02 pm

When using multiple sources, I'd usually just add assumefps(29.97) to my avisynth script. Unless you're aware of this and it produces some sort of undesired result for you? It may be a simple method but I've never had any problems with using it, unless you're wanting to use the the source in question with its sound.
Image

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

Re: 24p -> 30p?

Post by mirkosp » Thu Dec 31, 2009 6:31 pm

What Emotive said will be fine if you don't mind footage speed up (audio sync wouldn't be a problem if you add sync_audio=true, but that would get sped up too). Otherwise, here are other solutions:

Code: Select all

changefps(30000,1001)
Since a frame is doubled every 4, the motion will stutter - this will be especially noticeable on pans or scenes with all unique frames. An alternative solution could be decimating your 29.97 footage to 23.976 if you wish, but technically the best thing to do... I think it would be to edit at 60 or 120 fps and then letting avisynth output timecodes and encoding as a vfr mkv.

EDIT: I'll also through in there a potential frame interpolation with twixtor or whatever, though it tends to look bad with anime. If you're using CG or LA, though, it should look pretty good.

(Also, I left out frame blending with convertfps because it just looks ugly... but it's another solution.)
Image

User avatar
Emotive
...the Meditant
Joined: Sat Nov 04, 2006 12:20 pm
Org Profile

Re: 24p -> 30p?

Post by Emotive » Thu Dec 31, 2009 6:49 pm

What Emotive said will be fine if you don't mind footage speed up (audio sync wouldn't be a problem if you add sync_audio=true, but that would get sped up too).
A small manipulation in the footage is innevitable when changing frame rates in any way, otherwise one could just import the 24 fps file to the 29.97 fps project. Right?
Image

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

Re: 24p -> 30p?

Post by mirkosp » Thu Dec 31, 2009 6:59 pm

Emotive wrote:
What Emotive said will be fine if you don't mind footage speed up (audio sync wouldn't be a problem if you add sync_audio=true, but that would get sped up too).
A small manipulation in the footage is innevitable when changing frame rates in any way, otherwise one could just import the 24 fps file to the 29.97 fps project. Right?
Yes, and the NLE would handle the frame blending or frame duplication. Which wouldn't be as reliable as avisynth's handling of it.

Of course, this is all if you can't go the VFR route. That way there actually is no need to change the frame rate to begin with...
Image

User avatar
Castor Troy
Ryan Molina, A.C.E
Joined: Tue Jan 16, 2001 8:45 pm
Status: Retired from AMVs
Location: California
Contact:
Org Profile

Re: 24p -> 30p?

Post by Castor Troy » Thu Dec 31, 2009 11:34 pm

If you use Premiere Pro, you can adjust the framerate on the fly with no issues. :up:
"You're ignoring everything, except what you want to hear.." - jbone

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: 24p -> 30p?

Post by Qyot27 » Fri Jan 01, 2010 6:58 pm

The easiest way? Make the DVD (if it's going onto DVD) a hybrid. If professionally authored discs can switch between pulldowned 23.976 and interlaced - or straight progressive - 29.97, then it's certainly possible. I have no clue how to go about doing it inside a single title (as I doubt simply concatenating the output would work), but if it doesn't have to go into one titleset you can easily just throw it on a separate track and be done with it. Standalone DVD players don't care if you switch from progressive 29.97 to pulldowned anything (23.976->29.97, 25->29.97, etc.). Most MPEG-2 encoding apps worth their salt automatically default to pulldown if the source is 23.976 anyway.

Otherwise, physical frame duplication, speed-up/slowdown, VFR, decimation, or so on is pretty much the only solution.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “AviSynth Help”