[FFmpeg-trac] #3769(avformat:new): -moov_size option causes MOV file structure to be corrupted

FFmpeg trac at avcodec.org
Fri Jul 18 02:23:41 CEST 2014

#3769: -moov_size option causes MOV file structure to be corrupted
             Reporter:  rling       |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mov         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by rling):

 It's my very simple in-house tool.  My tool correctly parses input.MOV,
 which is direct from a Canon G15 camera and also contains a 'free' atom,
 but fails on the output.MOV generated with the command line above.

 WMP and MPC-HC were able to play output.MOV, and Windows displayed a
 normal thumbnail for it.  I think many media players may only read up to
 the 'moov' atom, which itself contains absolute file offsets into the
 'mdat' atom, which allows them to display and play the file without ever
 reading the 'free' atom.  So I'm not surprised this bug could hide for a
 long time.

Ticket URL: <https://trac.ffmpeg.org/ticket/3769#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list