Log in

View Full Version : Audio Resampling


EpheMeroN
17th December 2009, 15:45
How can you resample a 24000Hz audio file to 48000Hz without losing sync with video?

I tried to use SSRC because it's worked in the past when I've done 44100Hz to 48000Hz, but never a resampling like this, and it created out of sync audio/video.

markanini
17th December 2009, 22:53
How can you resample a 24000Hz audio file to 48000Hz without losing sync with video?

I tried to use SSRC because it's worked in the past when I've done 44100Hz to 48000Hz, but never a resampling like this, and it created out of sync audio/video.

I recall reading that ssrc was broken for conversions between some samplerates. Try SoX, it's conversion quality is state of the art. Read more here: http://sox.sourceforge.net/SoX/Resampling

tebasuna51
17th December 2009, 23:21
Without problems using eac3to (with libSsrc.dll):

eac3to 24KHz.wav 48KHz.wav -resampleTo48000

Midzuki
20th December 2009, 11:27
eac3to 24KHz.wav 48KHz.wav -resampleTo48000

if necessary, add "-down16" to the command-line given above.

How can you resample a 24000Hz audio file to 48000Hz without losing sync with video?

24kHz to 48kHz can be a lossless process,
if you have the patience to do it manually :)

(for example,

mono@24k channel --> stereo@24k.WAV --> pcm.RAW --> mono@48k channel
)