[FFmpeg-devel] [PATCH] Properly store sampling rate for FLAC in mp4

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Oct 26 17:34:27 EEST 2017


2017-10-26 8:37 GMT+02:00 Jean-Yves Avenard <jyavenard at gmail.com>:
> Hi
>
> On 25 October 2017 at 23:57, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
>>> ISOBMFF only defines that AudioSampleEntryV1 should be used instead,
>>> in which case the sampling_rate is a 32 bits integer (ISO 14496-12
>>> 12.2.3.2)
>>
>> Not sure I understand:
>> In ticket #6609, I asked if this is a flac-only issue.
>> You answered: "The issue can be reproduced with any codec."
>
> The issue can be reproduced with every codec.
>
> That is, every mp4 file with an audio sampling rate greater than
> INT16_MAX will have 0 for the sample_rate value.

> This will prevent those generated files to be played in Firefox
> for example.

Was this already mentioned somewhere?
Do other codecs with large sample rates in mp4 play with Firefox?

Carl Eugen


More information about the ffmpeg-devel mailing list