Files
ffmpeg/tests/ref/fate
Martin Storsjö c2424b1f35 movenc: Present durations in mvhd/tkhd/mdhd as they are after edits
If the edit lists remove parts of the output timeline, or add a
delay to it, this should be included in the mvhd/tkhd/mdhd durations,
which should correspond to the edit lists.

For tracks starting with pts < 0, the edit list trims out the segment
before pts=0. For tracks starting with pts > 0, a delay element is
added in the edit list, delaying the start of the track data.

In both cases, the practical effect is that the post-edit output
is as if the track had started with pts = 0. Thus calculate the range
from pts=0 to end_pts, for the purposes of mvhd/tkhd/mdhd, unless
edit lists explicitly are disabled.

mov_write_edts_tag needs to operate on the actual pts duration of
the track samples, not the duration that already takes the edit
list effect into account.

Signed-off-by: Martin Storsjö <martin@martin.st>
2021-01-15 15:01:03 +02:00
..
2020-10-10 13:08:24 +02:00
2018-10-26 11:51:04 +01:00
2021-01-01 14:33:12 +01:00
2021-01-01 14:33:12 +01:00
2018-05-10 23:54:02 +01:00
2016-08-21 02:58:13 +02:00
2018-03-18 12:36:24 +01:00
2020-05-12 01:00:28 +02:00
2016-09-09 12:49:15 +02:00
2018-11-06 12:39:15 -03:00
2018-11-06 12:39:15 -03:00
2016-09-09 00:57:01 +02:00
2020-05-23 15:52:27 +02:00
2016-09-09 12:49:15 +02:00
2016-09-09 11:55:45 +02:00
2017-08-30 12:13:02 +02:00
2019-12-05 20:20:05 +01:00
2019-12-05 20:20:05 +01:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2019-12-05 20:20:05 +01:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2018-10-23 15:46:30 +01:00
2018-02-02 12:16:56 -03:00
2016-09-04 12:05:06 +02:00
2016-09-04 20:28:29 +02:00
2020-12-10 09:53:52 +01:00
2017-08-31 02:53:11 +02:00
2020-12-10 10:07:09 +01:00
2017-08-03 16:36:02 -03:00
2020-08-22 19:02:01 +02:00
2016-10-01 17:22:22 +02:00
2017-05-25 14:30:04 +02:00
2019-06-12 20:06:20 +10:00
2020-09-07 19:04:09 +02:00