Log in

View Full Version : FPS Question


Trash Master
6th November 2006, 02:49
Hi folks. I have a question about final encodes. My finals have been coming out with different frame rates. Examples are 29.972, 29.970, 29.969 ect... I'm using avisynth. Is there something I could put in my script to get 29.970 every time. I want to merge some of the encodes but they have to have the same fps. Thanks. TM

stickboy
6th November 2006, 03:15
AssumeFPS(30000, 1001) or AssumeFPS(29.97).

Trash Master
6th November 2006, 03:20
ok kool. Now if I wanna create a file that is 29.972 I use AssumeFPS(29.972) ?

stickboy
6th November 2006, 05:05
Yes. Read the AviSynth documentation.

Why would you want to use 29.972 anyway?

Trash Master
6th November 2006, 16:06
Because my caps are coming out crazy like that.

foxyshadis
6th November 2006, 19:53
That means you're most likely dropping a few frames, so it won't really be in any better sync than using the real framerate. At least try virtualdub, which will insert null frames instead of skipping frames entirely.

stickboy
6th November 2006, 21:10
It doesn't necessarily mean he's dropping frames. It can be an artifact of trying to match the video clock to the audio clock.

Because my caps are coming out crazy like that.That doesn't answer my question. You already said that not all of your files have the same framerate. If you're going to be futzing with the framerate anyway, why would you intentionally set the FPS of your clips to 29.972 and not to 29.970?

Trash Master
7th November 2006, 15:01
I'm not intentionally doing that. It's doing it by default. I would actually like to make sure that each cap is 29.970 but I doubt I have control over that. I am using a ATI x600 AIW. P4 3ghz 1 GB RAM. There are no dropped frames either. I am using the Huffy codec.

stickboy
7th November 2006, 18:25
I'm not intentionally doing that. It's doing it by default.You asked:
Now if I wanna create a file that is 29.972 I use AssumeFPS(29.972) ?And then I asked why you'd want to do that. :p

Trash Master
8th November 2006, 19:53
ah my fault. I'll explain. I wanna add like a 5 second clip to the beggining of my encodes to let people know who did it. My plan was to merge 2 avis together cause I have a lot of stuff done allready that I do not feel like running thru vdubmod to add a logo to. I felt for the sake of time it'd be easier to merge 2 avi's. The problem goes deeper than 29.972. I found 2 caps I had that should 29.972 when I loaded them into AVIMUX ( AVIMUX shows only .XXX ) and try to merge them it tells me the 2 files are mismatched. 29.97268764864 & 29.972436789789 for example. It's just the story of my life. Nothing can go easy.

Trash Master
8th November 2006, 19:54
Is there a way to add a logo to my avi's with out re-encoding the files?

Wilbert
8th November 2006, 20:32
Is there a way to add a logo to my avi's with out re-encoding the files?
No there isn't. At least you will have to reencode the frames where you want to put the logo on.

Trash Master
8th November 2006, 20:41
ok. Thanks Wilbert.

IanB
9th November 2006, 01:54
Well you could cheat and use one of the many tools to edit the headers of your avi files and force the framerate to be as you need :devil:.

stickboy
9th November 2006, 04:58
ah my fault. I'll explain. I wanna add like a 5 second clip to the beggining of my encodes to let people know who did it. My plan was to merge 2 avis together cause I have a lot of stuff done allready that I do not feel like running thru vdubmod to add a logo to. I felt for the sake of time it'd be easier to merge 2 avi's. The problem goes deeper than 29.972. I found 2 caps I had that should 29.972 when I loaded them into AVIMUX ( AVIMUX shows only .XXX ) and try to merge them it tells me the 2 files are mismatched. 29.97268764864 & 29.972436789789 for example. It's just the story of my life. Nothing can go easy.Okay, if you want to make the framerate of one clip match the other one perfectly, you can:

A. Call AssumeFPS on both and set them to the same value.
B. Call clip2.AssumeFPS(clip1) to match clip2's framerate to clip1's.