[FFmpeg-trac] #11524(avcodec:new): g726(le) produces clicks in encoded audio

FFmpeg trac at avcodec.org
Fri Mar 21 18:45:39 EET 2025


#11524: g726(le) produces clicks in encoded audio
----------------------------------+----------------------------------
             Reporter:  Lastique  |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  7.1
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+----------------------------------
 Summary of the bug:

 The G726 and G726LE codecs sometimes produce audible clicks in encoded
 audio. I have observed this when the encoder is configured to 16, 24 or 48
 kbit/s bitrate, but the clicks appear at different places and it is
 possible that all bit rates are affected.

 How to reproduce:
 {{{
 % ffmpeg -i input.wav -acodec g726 -b:a 16000 g726-16-output.wav
 % ffmpeg -i input.wav -acodec g726 -b:a 24000 g726-24-output.wav
 }}}

 I have attached the problematic input.wav, where there are no audible
 clicks across the entire clip. I have also attached g726-16-output.wav,
 produced with the above command line, where you can hear an audible click
 on the 11th second of the clip. I have also attached g726-24-output.wav,
 where the click can be heard on the 2nd second of the clip. Note that both
 times the same input file was used.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11524>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list