Page 1 of 1

How to encode audio to adpcm format?

Posted: 21 May 2008 05:39
by yfwong
I tried to encode audio to mpga format. VLC calls the mpga encoder of libavcodec and it works fine for those with sampling frequency 44.1k, 48k, 32k, 22.05k, 12k or 16k. But the encoder itself does not support 11.025k, 12k and 8k. I am looking for another encoding format to deal with those of the above frequencies. It seems adpcm is a good choice. I don't know how to set the codec to adpcm. Please help me.

Code: Select all

--sout=#transcode{acodec=$CODEC}:duplicate{dst=display,dst=std{access=file,mux=dummy,dst=$FILE}}