[FFmpeg-trac] #8234(avformat:closed): mp4 file with id3v2 tag detected as mp4 but still fails decoding
FFmpeg
trac at avcodec.org
Thu Jan 5 12:49:26 EET 2023
#8234: mp4 file with id3v2 tag detected as mp4 but still fails decoding
-------------------------------------+-------------------------------------
Reporter: Mattias | Owner: (none)
Wadman |
Type: defect | Status: closed
Priority: normal | Component: avformat
Version: git-master | Resolution: invalid
Keywords: mov aac | Blocked By:
id3v2 |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Mattias Wadman):
Yes maybe this is beyond what ffmpeg should workaroud, and sorry by "does
not correctly compensate" i didn't mean ffmpeg was doing something wrong,
more what was needed to make the specific file work.
But it feels a bit confusing that ffmpeg do support reading id3v2 tags in
the mp4 case but it will fail to decode samples if there was any prepended
tags. Would it make sense to fail early in the mov demuxer with a more
useful error? but what would be the condition, if file position > 0 when
reading header it should fail, could that mess up other case like
fragmented mp4?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8234#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list