[FFmpeg-devel] [PATCH] libavformat/mp3enc: Notify to add "-write_xing false" in CBR mode

Hendrik Leppkes h.leppkes at gmail.com
Sun Apr 23 10:41:13 EEST 2017


On Sun, Apr 23, 2017 at 6:11 AM,  <sharpbai at gmail.com> wrote:
> From: sharpbai <sharpbai at gmail.com>
>
> Encoding a CBR mp3 file without "-write_xing false" may result in
> mp3 file duration incorect on ios safari browser and webview.
> I try to fix it but it can’t be done as mp3 muxer don’t know
> it is a CBR file until encode process finished. And it’s hard
> to remove the first frame at that time. Only the mp3 encoder
> (such as libmp3lame) know it is CBR or not before encoding start.
>

I don't think we should add a warning about every broken player out there.

- Hendrik


More information about the ffmpeg-devel mailing list