[FFmpeg-trac] #11524(avcodec:new): g726(le) produces clicks in encoded audio
FFmpeg
trac at avcodec.org
Tue Apr 1 02:36:44 EEST 2025
#11524: g726(le) produces clicks in encoded audio
----------------------------------+-----------------------------------
Reporter: Lastique | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: 7.1 | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+-----------------------------------
Comment (by Balling):
Okay, about G.722. (64000 bitrate.) There is a bug in our encoder. If you
want correct file you have to manually convert to 16000 Hz beforehand or
it will just produce file where audio is speed up or slowed down. So
instead of ffmpeg -i input.wav FileName.g722
you have to use ffmpeg -i input.wav -filter:a
aresample=resampler=soxr:precision=33:osf=s16:osr=16k FileNamecorrect.g722
Obvious from the almost x2 size difference.
Found here
https://www.reddit.com/r/ffmpeg/comments/11q53cb/how_to_convert_audio_from_wav_to_g722/
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11524#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list