[FFmpeg-devel] [RFC]Support G.726 in Sun AU

Paul B Mahol onemda at gmail.com
Sat Nov 24 16:46:12 CET 2012

On 11/24/12, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Hi!
> On Saturday 24 November 2012 01:47:05 am Carl Eugen Hoyos wrote:
>> Attached path was intended to fix ticket #1955.
>> Unfortunately, ffmpeg decodes the sample with distortions with the patch,
>> while sox decodes it fine. ffmpeg decodes samples made with the patch and
>> its own encoder fine, sox encodes code_size 4 with distortions, 3 and 5
>> as
>> white noise.
> Updated patch attached that contains a bitrate calculation that is needed
> for
> remuxing to wav.
> I was unable to find a file that can be decoded (without distortions) with
> this patch applied but remuxing to au works fine and the distortions are not
> a regression afaict (I tested r2759), so I suspect this is problem with the
> G.726 implementation (or all other G.726 implementations).
> I will push if nobody objects, Carl Eugen

LOL, but i was referring to using bits_per_coded sample to not need to
use private_data.

More information about the ffmpeg-devel mailing list