#6917: Seeking in AVI file with mp3 audio throws errors during decoding.
-------------------------------------+-------------------------------------
Reporter: dalecurtis | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: git-master | undetermined
Keywords: avi mp3 | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by heleppkes):
Parsers in FFmpeg are generally designed to never throw data away. So if a
partial packet is received without its header (because of bad packeting in
the source file, for example), the parser will not discard it, but just
forward it to the decoder - which will then error due to the missing
header.
Demuxers generally do not perform validity checks of the packet data due
to sheer volume of possible codecs in any given container format (some
exceptions apply).
This sounds like the expected behavior in the design of the interaction
between demuxers, parsers and decoders to me. One of the components would
have to indicate an error of some sort when it discards data, and in this
case it happens to be the decoder.
One option is that seeking should hit a better point, but as mentioned
above demuxers generally cannot analyze packet content but have to rely on
container metadata, and if the AVI has index entries in inopportune
positions....
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6917#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-trac