Log in

View Full Version : synching beats with Avisynth?


hazel-ra
15th March 2010, 22:41
I want to make a video mashup of a music video with another song. The video sources is 24 fps, and the music in it is about 140 BPM. The music I want to synch it to is about 180 BPM, so I need to speed the source video up by a factor of about 1.25, if my calculations are correct ;)

But then, I also want to use normal, non-sped-up video from the video source. So can I speed up the dancing part and yet still mix it with 24 fps video?

hazel-ra
16th March 2010, 21:48
Well, I've hit upon a spot of luck. Taking my 24 FPS video and pushing it to 30 FPS gives me dancing at about 180 BPM. Then, I have to take that script, of only the dancing, and load it into a container script at 24 FPS, so it can match the rest of the file.

Zarxrax
17th March 2010, 17:41
If I understand what you are saying, you can use assumefps() to change the speed of the clip, and then follow it with changefps() to get the fps back to what you want.

hazel-ra
18th March 2010, 01:09
Yeah, but I'm not doing something right... I can speed it up appropriately, but then when I change the framerate back down, the action slows back down again. hm...

Gavino
18th March 2010, 11:13
:script:

hazel-ra
23rd March 2010, 03:50
Ah! I figured it out. I was doing assumeFPS *twice* , instead of changeFPS the second time :rolleyes:

That should teach me to gloss over posts! ...but it won't.