Log in

View Full Version : avisynth audio: how do i slow the audio down to 24fps?


deets
14th May 2006, 23:08
hey all,
Well I am currently using megui to convert my DVD's for my PSP and i would love to be able to use it for my audio as well!

I want to use the free nero CLI, which works well in a test i just did.

the two problems, the psp doesnt like 25fps video, so i need to slow my audio down. I use assumefps for my video and then slow my audio using besweet.

how would i go about doing this using avisynth? and also, if my audio isnt 48khz, how can i convert it?

thanks :)

tebasuna51
15th May 2006, 01:48
There are two internal functions in Avisynth:

ssrc(new_samplerate)

TimeStretch(tempo = (100.0*actual_duration)/desired_duration)
or the equivalent using video framerate:
TimeStretch(tempo = (100.0*framerate_desired)/actual_framerate)

For your example:
ssrc(48000)
TimeStretch(tempo = (100.0*24.0)/25.0)

deets
22nd May 2006, 13:51
many thanks, worked perfectly :)