[FFmpeg-devel] [PATCH]lavc/opus: Use original sample rate for decoding

Hendrik Leppkes h.leppkes at gmail.com
Tue Jan 5 16:59:42 CET 2016

Am 05.01.2016 16:07 schrieb "Carl Eugen Hoyos" <cehoyos at ag.or.at>:
> Hi!
> Attached patch intends to match what opusdec does, sorry if I miss
> Please review, Carl Eugen

I dont think its as simple as this. Only the SILK parts of the audio are
automatically resampled, the CELT parts are always decoded to 48kHz. Just
changing the samplerate would then cause corrupted audio.

Personally I'm wouldn't like forcing a resampling of all audio anyway, Opus
as a format is specifically designed to not exactly preserve the input
sample rate, unlike other formats.

More information about the ffmpeg-devel mailing list