[Libav-user] Trying to play audio files, but click sound at the start of mp3 files with a xing header.
ptrdactyl
ptrdactyl at disroot.org
Mon Aug 7 19:52:03 EEST 2023
Im trying to play audio files using libav, libswresample, and libao.
It mostly works, except for some mp3 files with a xing header there is a
click sound at the very start. It doesnt happen for all such files
though, if i strip a file's xing and id3v2 metadata and then add a xing
header, theres no more click sound (i dont know why, the only difference
is theres less metadata and the start_time/start_pts are less). I think
it should be reproducable by converting something like a song with
typical amount (for a song) of metadata into mp3.
my code is here: https://0x0.st/H_m4.c
sorry if its a mess, its very difficult to find useful documentation on
how to do this stuff.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20230807/71d6fb80/attachment.htm>
More information about the Libav-user
mailing list