[FFmpeg-devel] [PATCH] QCELP decoder
Baptiste Coudurier
baptiste.coudurier
Sat Oct 4 01:43:51 CEST 2008
Hi,
Kenan Gillet wrote:
> [...]
>
> +*/
> +static int qcelp_decode_init(AVCodecContext *avctx) {
> + QCELPContext *q = avctx->priv_data;
> + int i;
> +
> + if (avctx->sample_rate != 8000) {
> + if (avctx->sample_rate == 22050 ||
> + avctx->sample_rate == 11025) {
> + av_log(avctx, AV_LOG_WARNING,
> + "Unofficial samplerate %d, but supported by Quicktime.", avctx->sample_rate);
> + } else {
> + av_log(avctx, AV_LOG_WARNING,
> + "Unsupported samplerate %d, resampling.", avctx->sample_rate);
> + avctx->sample_rate= 8000;
> + }
> + }
It seems the qualcomm quicktime decoder supports more sampling rate than
these:
http://sketchup.google.com/gsu6vtvideos.html
Some are 24 khz, and it seems decoder kinda works with these files.
[...]
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
More information about the ffmpeg-devel
mailing list