Interpret footage FPS

Marton wrote on 4/14/2012, 11:10 AM
In many video editing software i can set source fps, so i can play a 30fps movie at 25fps with slowdown for example. How can i do this in Vegas? At properties the FPS value is not changeable.
For 30->25 i need to slowdown the clip to 83,3333333% but i doubt this will be the correct method, I don't want to generate extra frames, just use the source frames but play with other fps.
(yes i know the disable resample switch, but still, is this the only solution?)
thanks

Comments

Former user wrote on 4/14/2012, 11:38 AM
One way that is a bit more complicated is to export a frame sequence, which is a series of fames, the import that back into whatever framerate you want. Of course, your audio has to be synced up later.

Dave T2
johnmeyer wrote on 4/14/2012, 12:13 PM
Have you actually tried to do what you suggested? I think you have it all figured out correctly, and it should work. Just set the project properties to 25 fps; click on the media or event properties and set the playback rate to 25/30 (which I guess is 0.83 -- I don't have a calculator handy). Disable resample. Done.

Is there some reason you think that this isn't working correctly?
Marton wrote on 4/14/2012, 1:08 PM
Yes, because i cannot set
0,8333333333333333333333333333333333333333333333333333333333333333333,
and i think the 0,833 (which is the best value what i can set) will repeat some frames sometimes or skip if needed.
Marton wrote on 4/14/2012, 1:09 PM
Dave: thanks for the tip. I don't need the audio, so it's a little easier.
amendegw wrote on 4/14/2012, 2:00 PM
Here's what I'd do.

In your 25fps Project...
1) Place your 30fps clip in a separate video track starting at timecode 00:00:00.
2) Disable Resample on the 30fps video event.
3) Calculate an endpoint. Let's say it's a 5 minute video event. 5 * 30/25 = 06:00:00 (you might have to do some integer math if you need to end at a specific frame)
4) Grab the right boundry of the 30fps clip and Ctrl-drag the end to the endpoint (i.e. 06:00:00 in this example).
5) Move the clip to the proper placement in your project.
6) Render as 25fps

...Jerry

PS: I'm assuming the clip is actually 30.000 fps (not 29.97 fps). If not, use 29.97 as your numerator. Edit: After reading johnmeyer's post below, I guess that should actually be 29.97002997002997 (or 30 *1000/1001)

System Model:     Alienware M18 R1
System:           Windows 11 Pro
Processor:        13th Gen Intel(R) Core(TM) i9-13980HX, 2200 Mhz, 24 Core(s), 32 Logical Processor(s)

Installed Memory: 64.0 GB
Display Adapter:  NVIDIA GeForce RTX 4090 Laptop GPU (16GB), Nvidia Studio Driver 566.14 Nov 2024
Overclock Off

Display:          1920x1200 240 hertz
Storage (8TB Total):
    OS Drive:       NVMe KIOXIA 4096GB
        Data Drive:     NVMe Samsung SSD 990 PRO 4TB
        Data Drive:     Glyph Blackbox Pro 14TB

Vegas Pro 22 Build 239

Cameras:
Canon R5 Mark II
Canon R3
Sony A9

johnmeyer wrote on 4/14/2012, 2:08 PM
First, I doubt you'll be able to find any duplicated or dropped frames because of the roundoff, Have you tried?

Second, if your input video is AVI, you can use an old hack utility called:

AVIFrate

to change the header of your video to any frame rate you wish. All it does is change the frame rate header in the file (the video itself is not touched in any way). Once this header is changed, the video file is treated as though it was shot at this frame rate. In your case, it will now play back at 25 fps.

Third, I assume that you are actually dealing with 29.97 fps rather than 30.0000 fps. If so, the actual math is:

(25/30) * (1001/1000) = 0.83416667

As you can see, the error due to truncation is much smaller than the simple 25/30 calculation.

Exporting a frame sequence will take a LONG time (have you tried this on a one-minute test section??) and I really don't think you need to do this.


... another idea that is much simpler than the frame export, will give you 0.00% dropped frames, will work much faster than rendering to individual frames, and will work with any input video is this:

Render your "30 fps" video to a lossless AVI file (use HuffYUV, Lagarith, or uncompressed), then use AVIFrate to change the frame rate to 25 fps. Work with that file instead. This gives you the same thing as using the image sequence, but I think it will go a lot faster and have fewer problems.
Marton wrote on 4/15/2012, 1:54 AM
Ok, thanks for the answers, i will try your methods.
Avifrate seems the way to go with lagarith.
Anyway the easiest method would be if Vegas can enable for users changing source fps..
Chienworks wrote on 4/15/2012, 7:20 AM
Years ago i sent in a feature request for exactly this functionality. I got a response back from the product engineer basically saying that if such a feature was implemented then they couldn't guarantee audio sync. I responded by saying that there were times when getting the video speed was the primary consideration and audio didn't matter, especially when dealing with video-only clips. I never got another response.

Maybe if a bunch of us put in the request ... ?
farss wrote on 4/15/2012, 7:51 AM
Don't overthink the problem, Vegas provides a perfectly simple and foolproof solution with no messy arithmetic involved.
As I started out in film the concept is simple for me, no matter what speed the projector runs at the number of frames in the movie is always the same, only the time to play the movie changes.

So set your project to match you source fps. Set Ruler to absolute frames, note how many it is. Change project to target fps, Ctl+Drag end of movie to the number of frame noted at the original fps. Job done, no maths, no need to worry about resampling.

Bob.