[FFmpeg-devel] [PATCH 1/3] lavf: identify MP2 as a distinct container from MP3

Rodger Combs rodger.combs at gmail.com
Wed Dec 21 22:23:46 EET 2016

> On Dec 21, 2016, at 13:50, compn <tempn at mi.rr.com> wrote:
> On Wed, 21 Dec 2016 12:51:18 -0600
> Rodger Combs <rodger.combs at gmail.com> wrote:
>>> On Dec 21, 2016, at 02:27, Carl Eugen Hoyos <ceffmpeg at gmail.com>
>>> wrote:
>>> 2016-12-21 5:48 GMT+01:00 Rodger Combs <rodger.combs at gmail.com>:
>>>> This allows us to report the correct codec ID here
>>> Just curious: What does this fix?
>> Reporting in ffprobe, or when using lavf as a library. Some devices
>> and decoders either refuse to decode MP2, or need to be told that the
>> input is MP2 as opposed to MP3 ahead of time. This also means we'll
>> write the correct ID when remuxing.
> if mp2 is a problem, i would rather make it more difficult for the user
> to encode mp2. by defaulting to mp3 and / or printing a warning message
> about mp2. honestly i cant remember any good coming from someone using
> mp2.
> mp2 is dead, long live mp3.
> also please share your mp2 sample, if you have not already done so, if
> possible.

Here's the sample provided by a user: http://www.ste.no/jens/sample.mp4 <http://www.ste.no/jens/sample.mp4>
They said they're using MP2 because of some audio desync issue they get when using VLC to stream-dump ("well there's your problem"), but I don't think the reasoning behind this particular sample is relevant to the legitimacy of the issue.

> -compn
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

More information about the ffmpeg-devel mailing list