View Full Version : Mixing 24fps and 25fps material = audio issues
Chainmax
24th April 2006, 22:11
I'm trying to edit a Nike commercial from two separate sources, a 24fps (6mins) one and a 25fps (3 mins) one. Due to that, I'll have to redo the soundtrack, but there are certain passages where a person speaks that I want to keep. Problem is, some of these passages are from the 24fps version and have the soundtrack in the background and after using this:
AVISource("X:\wherever\Part 8 - Lossless.avi",audio=true)
AssumeFPS(25, 1, true)
SSRC(48000)
The background music in the converted file sounds way too different from the audio in the 25fps one, which probably means it will sound very different from the separate soundtrack as well. Is there any way around this?
stickboy
25th April 2006, 17:00
Try using TimeStretch to resample the audio without changing pitch.
Chainmax
25th April 2006, 17:43
Together with ASSumeFPS and SSRC or separately? Could you give me a sample script?
Wilbert
25th April 2006, 18:34
Together with ASSumeFPS and SSRC or separately? Could you give me a sample script?
http://www.avisynth.org/mediawiki/wiki/TimeStretch
Chainmax
26th April 2006, 00:39
I'll look into it, thanks :).
IanB
26th April 2006, 03:10
@Chainmax,
Use the TimeStretch in the latest 2.5.7 Alpha 3 release. You can set the tuning parameters with this version. Tweaking the SEQUENCE_MS to suit your sound clip will improve results significantly. For speech a much shorter value like 20 to 40 ms helps a lot. The default value is best for upbeat Pop music. For slower music a longer value can work better.
Chainmax
26th April 2006, 14:14
How does it compare to v2.5.6 final in terms of stability/reliabiliy?
IanB
27th April 2006, 03:19
I think it is pretty good, but I am biased. For your specific purpose the 1.3.1 SoundTouch library update with the tuning parameters will be worthwhile. Why don't you give it a whirl and tell me what you think. It only takes a moment to install a new version or reinstall the previous version.
Google for SoundTouch there is a wealth of information on setting the tuning parameters.
Chainmax
27th April 2006, 16:57
Ok then, I'll brave the uncharted waters and try it out :).
Chainmax
27th April 2006, 20:08
I can't install it :(.
It's so damn frustrating, why can't Nike have all of their commercials available for download in decent quality? :mad:
Wilbert
27th April 2006, 20:29
The new lib comes with 2.5.7 Alpha 3, and check offline docs.
Chainmax
27th April 2006, 21:48
Like I said, I can't install the latest Avisynth.
Wilbert
27th April 2006, 22:07
What happens if you try to install it?
Chainmax
27th April 2006, 23:20
like all computer-related issues, when trying to replicate it for someone it doesn't repeat itself :D. Thanks for asking me to explain it Wilbert :).
Chainmax
28th April 2006, 00:18
I should use this then:
AVISource("X:\wherever\Part 8 - Lossless.avi",audio=true)
TimeStretch(tempo=(100.0*25.0)/24)
AssumeFPS(25, 1)
?
IanB
28th April 2006, 06:22
Yes if part 8 is 24.0 fps. If it is 23.976 then that is the value to use. Actually you should probably just let the script work it out for you. i.e.TimeStretch(tempo=100.0*25.0/FrameRate())
Chainmax
28th April 2006, 15:47
Yeah, the parts that need changing are 24fps.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.