#6609: SamplingRateBox should be used if the value is greater than INT16_MAX -------------------------------------+------------------------------------- Reporter: fbeaufort | Type: defect Status: new | Priority: normal Component: ffmpeg | Version: Keywords: flac, | unspecified isobmff, mp4 | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Summary of the bug:
SamplingRateBox should be used if the value is greater than INT16_MAX How to reproduce: 1. Grab file from https://storage.googleapis.com/media-session/bear- 1280x720.mp4 2. Run ffmpeg command below {{{ % ffmpeg -i bear-1280x720.mp4 -map 0:0 -acodec flac -strict -2 -ar 192000 bear-flac-192kHz.mp4 }}} 3. The `bear-flac-192kHz.mp4` file should have a valid sample rate, not 0. Here are some #ffmpeg logs for some context: {{{ 12:58:08 PM <jya> you can create a bug that the SamplingRateBox (as per ISO 14496-2 12.2.3.2) is to be used if the value is greater than INT16_MAX 12:59:14 PM <jya> they have provision for that inthe SoundDescription V2, but i can't find this anywhere in the spec 12:59:20 PM <jya> must be a QT thing 1:00:14 PM <jya> and if they properly create a SamplingRateBox, need to file a bug in Firefox that our mp4 demuxer doesn't support it :) }}} And here's the ffmpeg version: {{{ % ffmpeg -version ffmpeg version 3.3.3-static http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2017 the FFmpeg developers }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/6609> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker _______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org http://ffmpeg.org/mailman/listinfo/ffmpeg-trac