]> git.sesse.net Git - ffmpeg/blob - tests/fate/mov.mak
Merge commit '45d7be7f930cf707ead07416e10e2d0e061e99ce'
[ffmpeg] / tests / fate / mov.mak
1 FATE_MOV = fate-mov-3elist \
2            fate-mov-3elist-1ctts \
3            fate-mov-1elist-1ctts \
4            fate-mov-1elist-noctts \
5            fate-mov-elist-starts-ctts-2ndsample \
6            fate-mov-1elist-ends-last-bframe \
7            fate-mov-2elist-elist1-ends-bframe \
8            fate-mov-3elist-encrypted \
9            fate-mov-invalid-elst-entry-count \
10            fate-mov-gpmf-remux \
11            fate-mov-440hz-10ms \
12            fate-mov-ibi-elst-starts-b \
13            fate-mov-elst-ends-betn-b-and-i \
14            fate-mov-frag-overlap \
15            fate-mov-bbi-elst-starts-b \
16
17 FATE_MOV_FFPROBE = fate-mov-aac-2048-priming \
18                    fate-mov-zombie \
19                    fate-mov-init-nonkeyframe \
20                    fate-mov-displaymatrix \
21                    fate-mov-spherical-mono \
22
23 FATE_SAMPLES_AVCONV += $(FATE_MOV)
24 FATE_SAMPLES_FFPROBE += $(FATE_MOV_FFPROBE)
25
26 fate-mov: $(FATE_MOV) $(FATE_MOV_FFPROBE)
27
28 # Make sure we handle edit lists correctly in normal cases.
29 fate-mov-1elist-noctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-noctts.mov
30 fate-mov-1elist-1ctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-1ctts.mov
31 fate-mov-3elist: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-3elist.mov
32 fate-mov-3elist-1ctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-3elist-1ctts.mov
33
34 # Edit list with encryption
35 fate-mov-3elist-encrypted: CMD = framemd5 -decryption_key 12345678901234567890123456789012 -i $(TARGET_SAMPLES)/mov/mov-3elist-encrypted.mov
36
37 # Makes sure that the CTTS is also modified when we fix avindex in mov.c while parsing edit lists.
38 fate-mov-elist-starts-ctts-2ndsample: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-elist-starts-ctts-2ndsample.mov
39
40 # Makes sure that we handle edit lists ending on a B-frame correctly.
41 # The last frame in decoding order which is B-frame should be output, but the last but-one P-frame shouldn't be
42 # output.
43 fate-mov-1elist-ends-last-bframe: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-ends-last-bframe.mov
44
45 # Makes sure that we handle timestamps of packets in case of multiple edit lists with one of them ending on a B-frame correctly.
46 fate-mov-2elist-elist1-ends-bframe: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-2elist-elist1-ends-bframe.mov
47
48 # Makes sure that if edit list ends on a B-frame but before the I-frame, then we output the B-frame but discard the I-frame.
49 fate-mov-elst-ends-betn-b-and-i: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/elst_ends_betn_b_and_i.mp4
50
51 # Makes sure that we handle edit lists and start padding correctly.
52 fate-mov-440hz-10ms: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/440hz-10ms.m4a
53
54 # Makes sure that we handle invalid edit list entry count correctly.
55 fate-mov-invalid-elst-entry-count: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/mov/invalid_elst_entry_count.mov
56
57 # Makes sure that 1st key-frame is picked when,
58 #    i) One B-frame between 2 key-frames
59 #   ii) Edit list starts on B-frame.
60 #  iii) Both key-frames have their DTS < edit list start
61 # i.e.  Pts Order: I-B-I
62 fate-mov-ibi-elst-starts-b: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/mov/mov_ibi_elst_starts_b.mov
63
64 # Makes sure that we handle overlapping framgments
65 fate-mov-frag-overlap: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/frag_overlap.mp4
66
67 # Makes sure that we pick the right frames according to edit list when there is no keyframe with PTS < edit list start.
68 # For example, when video starts on a B-frame, and edit list starts on that B-frame too.
69 # GOP structure : B B I in presentation order.
70 fate-mov-bbi-elst-starts-b: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/h264/twofields_packet.mp4
71
72 fate-mov-aac-2048-priming: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact $(TARGET_SAMPLES)/mov/aac-2048-priming.mov
73
74 fate-mov-zombie: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_streams -show_packets -show_frames -bitexact -print_format compact $(TARGET_SAMPLES)/mov/white_zombie_scrunch-part.mov
75
76 fate-mov-init-nonkeyframe: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact -select_streams v $(TARGET_SAMPLES)/mov/mp4-init-nonkeyframe.mp4
77
78 fate-mov-displaymatrix: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=display_aspect_ratio,sample_aspect_ratio:stream_side_data_list -select_streams v -v 0 $(TARGET_SAMPLES)/mov/displaymatrix.mov
79
80 fate-mov-spherical-mono: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream_side_data_list -select_streams v -v 0 $(TARGET_SAMPLES)/mov/spherical.mov
81
82 fate-mov-gpmf-remux: CMD = md5 -i $(TARGET_SAMPLES)/mov/fake-gp-media-with-real-gpmf.mp4 -map 0 -c copy -fflags +bitexact -f mp4
83 fate-mov-gpmf-remux: CMP = oneline
84 fate-mov-gpmf-remux: REF = 8f48e435ee1f6b7e173ea756141eabf3