ffmpeg/tests/ref
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
..
acodec avcodec/adpcm_ima_swf: fix frame size to 4096 2020-11-07 23:43:26 +10:00
fate movenc: Present durations in mvhd/tkhd/mdhd as they are after edits 2021-01-15 15:01:03 +02:00
lavf ac3enc_fixed: convert to 32-bit sample format 2021-01-14 01:44:12 +01:00
lavf-fate lavf/mux: rewrite guessing the packet duration 2020-12-10 09:50:18 +01:00
pixfmt
seek avformat/dv: fix timestamps of audio packets in case of dropped corrupt audio frames 2020-12-06 18:09:24 +01:00
vsynth libswcale/input: use more accurate planer rgb16 yuv conversions 2020-10-06 17:56:52 +02:00
vsynth_lena
vsynth1