[FFmpeg-trac] #6609(avformat:new): SamplingRateBox should be used if the value is greater than INT16_MAX

FFmpeg trac at avcodec.org
Wed Aug 23 17:31:48 EEST 2017


#6609: SamplingRateBox should be used if the value is greater than INT16_MAX
-------------------------------------+-------------------------------------
             Reporter:  fbeaufort    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:  flac,        |               Blocked By:
  isobmff, mp4                       |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by jyavenard):

 Replying to [comment:1 cehoyos]:
 > Is this issue only reproducible with flac encoding?
 >
 > Please test current FFmpeg git head (nothing else is supported here) and
 provide a command line that allows to reproduce the issue together with
 the complete, uncut console output.

 The issue can be reproduced with any codec. So long as you attempt to
 create a mp4 with a sampling rate >= 65536

 The AudioSampleEntry (version 0) that ffmpeg uses, only have a 16 bits
 field to store sampling rate, so can't use more. and so it writes 0

--
Ticket URL: <https://trac.ffmpeg.org/ticket/6609#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list