View Full Version : Different framerates and the "+" operator...
Mr.Radar
21st May 2004, 22:15
My friend just shot a video for his spanish class using his crappy digital camera's movie mode. He used mulitple takes so all the files have different framerates (see below). He then assembled it using Windows Movie Maker, and the audio got all screwed up so I told him to bring it over to my house and that I'd use AVISynth to do it on my computer (at this point I had no clue what his source was).
VirtualDub reports framerates between 13.2 and 13.5 fps for the 52 clips that go into this movie.
How can I join these files using AVISynth? Is there any way to convert their framerates (the destination is a DVD so 29.97 fps would be preferable)? (VirtualDub complains about PicVideoMJPEG giving non-RGB data so that won't work).
EDIT: D'oh! I'm so stupid! I just realised AVISynth has a ConvertFSP filter. Mods, you have permission to delete this thread.
Bogalvator
22nd May 2004, 03:22
You might get better results if you used:
changefps(59.94)
separatefields()
selectevery(4,0,3).weave()
rather than convertfps. Convertfps will give lots of blending/blurring.
Mr.Radar
22nd May 2004, 04:20
The video is only 320x240 (thanks to the crappy digicam he used to capture it) so it isn't interlaced.
stickboy
22nd May 2004, 04:49
Depending on your situation, you might be able to use AssumeFPS without affecting sync too much.
Mr.Radar
22nd May 2004, 16:50
I think that more than doubling the framerate would probably affect the sync. So far ConvertFPS seems to be the best option (changefps is too jerky).
stickboy
22nd May 2004, 18:21
Argh, yes, of course. I somehow missed the part where you said you wanted the output to be 29.97 fps.
vigi_lante
22nd May 2004, 18:41
Well, I have a framerate problem too, I posted this on another topic, but since I'm in rush, I hope you guys could help me with this...
I'm trying to convert this video...
Video1 (1mb) (http://geocities.yahoo.com.br/vigi_lante/test_1.avi)
So I can append to this video...
Video2 (686kb) (http://geocities.yahoo.com.br/vigi_lante/test_2.avi)
I did everything, but I can't. Anyone could try to attach Video1 to Video2 WITHOUT change nothing in Video2 ? Only on Video1, and tell me what you did ?
Thanks!
Mr.Radar
22nd May 2004, 18:56
EDIT: Use this instead:
result = lanczosresize(test_1, 720, 480) + test_2
vigi_lante
22nd May 2004, 19:38
But the framerate still doesn't match.
Mr.Radar
22nd May 2004, 20:43
Try:
result = assumefps(lanczosresize(test_1, 720, 480), 29.97) + assumefps(test_2, 29.97)
They're both already 29.97 fps so assumefps shouldn't change anything in either clip (there must a bug in AVISynth reguarding framerates and the "+" operator).
vigi_lante
22nd May 2004, 21:48
OK...thanks a lot!
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.