[FFmpeg-trac] #4540(undetermined:new): ADX sample count is not written to ADX header
FFmpeg
trac at avcodec.org
Fri May 8 05:15:59 CEST 2015
#4540: ADX sample count is not written to ADX header
-------------------------------------+-------------------------------------
Reporter: misty | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
When FFmpeg encodes ADX files, it hardcodes the sample count to 0:
http://git.videolan.org/?p=ffmpeg.git;a=blob;f=libavcodec/adxenc.c;h=7736d09b5673f76d112f7fcf21d3e3f304a6080b;hb=HEAD#l111
The sample count is a 32-bit big-endian value located at 0xC in the
header. Most ADX decoders rely on the sample count in order to be able to
play files, and don't infer it from other properties as FFmpeg does; as a
result, other ADX decoders assume that any files encoded by FFmpeg are 0
length in duration.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4540>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list