[FFmpeg-trac] #7186(undetermined:new): use " -c copy ", but the output's duration and file size doubled
FFmpeg
trac at avcodec.org
Thu May 3 11:20:00 EEST 2018
#7186: use " -c copy ", but the output's duration and file size doubled
-------------------------------------+-------------------------------------
Reporter: zjj1209354 | Owner:
Type: defect | Status: new
Priority: important | Component:
Version: git-master | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by mkver):
Your video has two edit list entries each of which says that the whole
video should be played from the beginning to the end; your audio has no
edit list. ffmpeg honours these edit lists when it demuxes the file and
that explains what you have experienced. This is actually a complete
duplicate of #6832 (including the fact that the file is actually invalid
because the duration in the media header box for the video track is not
the sum of the durations of the entries of the edit lists).
You can use the ignore_editlist argument for the mp4 demuxer.
Unfortunately the muxer creating this file seems to be dead so files like
these will continue to be created.
(Btw: the most recent version of MKVToolNix (23.0) has a workaround for
broken files like these so that the video isn't duplicated with it any
more.)
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7186#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list