[FFmpeg-trac] #2786(avformat:reopened): last packet of TTA stream in Matroska isn't decoded correctly
FFmpeg
trac at avcodec.org
Mon Dec 2 01:29:58 EET 2019
#2786: last packet of TTA stream in Matroska isn't decoded correctly
------------------------------------+------------------------------------
Reporter: jamal | Owner:
Type: defect | Status: reopened
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: mkv tta | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by mkver):
When I remux inside.tta with MKVToolNix, the TimestampScale is by default
choosen so small that one can represent the timestamps sample-accurately.
In this case the md5 is correct and no decoding error exists.
mkvmerge stores the information about the length twice in the file: Once
in Info and once in a BlockDuration element (the last frame is written as
BlockGroup, not as SimpleBlock). It is the duration in the Info element
(that gets included in the extradata) that matters. The BlockDuration
element gets exported, but it seems to be ignored by the decoder. Which is
a shame because the duration in Info is not per-track, so one
automatically has a problem when the file contains more than one track.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/2786#comment:13>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list