[FFmpeg-trac] #1378(undetermined:open): ffmpeg lists every track in a QuickTime file twice
FFmpeg
trac at avcodec.org
Thu Aug 2 18:04:11 CEST 2012
#1378: ffmpeg lists every track in a QuickTime file twice
-------------------------------------+-------------------------------------
Reporter: dericed | Owner:
Type: defect | Status: open
Priority: normal | Component:
Version: git-master | undetermined
Keywords: mov | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 1
-------------------------------------+-------------------------------------
Comment (by rmk):
I think the file I uploaded should probably be considered broken as it
contains two moov atoms, which was probably a bug in ffmbc 0.6, which was
used to create the file. I could not find anything in the Quicktime spec
explicitly disallowing this but think it's probably a bug. However,
ignoring a second moov atom in a file and logging a warning should not be
too hard to do and would be a bit more robust as these files seem to be OK
for Quicktime player.
The original Final Cut Pro file also has two moov atoms but maybe in that
case it is a sort of security measure used by the capturing application in
case the capturing is interrupted to write a moov once in a while so at
least the data captured until that point is readable (just a guess but the
layout seems weird with lots of "free" atoms that internally look like a
moov). in that case it would make sense to use the last moov atom one
finds but this needs further investigation.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1378#comment:8>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list