[FFmpeg-trac] #7165(avformat:open): STSC entry invalid

FFmpeg trac at avcodec.org
Mon May 21 04:05:07 EEST 2018


#7165: STSC entry invalid
-------------------------------------+-------------------------------------
             Reporter:  cgbug        |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mov          |               Blocked By:
  regression                         |  Reproduced by developer:  1
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by cjburian):

 Found this bug report googling for ffmpeg STSC entry is invalid.  Perhaps
 the example files provide enough information to adapt ffmpeg's isom
 demuxer to tolerate non-compliant files the way avidemux can.  Hope these
 comments are useful:

 1. This problem can be reproduced with another file.  It is found here
 https://theoutline.com/post/637/westworld-recut-into-single-timeline

 2. Common between all three of the example files: (A) they can be opened
 by MPC, WMP and VLC, (B) they have isom format container, (C) they have
 variable frame rate video stream.  Problem appears to be trouble reading
 malformed header of isom container, but goes deeper than the header.

 3. The Haali remuxer dsmux.exe can successfully remux the westworld file
 to mp4 (isom) file that ffmpeg can ingest.  However, dsmux.exe hangs when
 trying to remux either of the two example attachments uploaded by the OP.

 4. Loading any of the three mentioned files into avidemux v2.6 causes the
 "Some timing information are incorrect" warning.  The user is given the
 choice of throwing out the timing information or not.  Whatever the user's
 choice, with video and audio codecs set to copy and container set to mp4
 (isom), avidemux will output a working mp4 file that ffmpeg can ingest.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7165#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list