]> git.sesse.net Git - ffmpeg/blob - tests/fate/mov.mak
Merge commit '2cf3c0ab0d84b5cdb379059f8570809a13a306b9'
[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
15 FATE_MOV_FFPROBE = fate-mov-aac-2048-priming \
16                    fate-mov-zombie \
17                    fate-mov-init-nonkeyframe \
18                    fate-mov-displaymatrix \
19                    fate-mov-spherical-mono \
20
21 FATE_SAMPLES_AVCONV += $(FATE_MOV)
22 FATE_SAMPLES_FFPROBE += $(FATE_MOV_FFPROBE)
23
24 fate-mov: $(FATE_MOV) $(FATE_MOV_FFPROBE)
25
26 # Make sure we handle edit lists correctly in normal cases.
27 fate-mov-1elist-noctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-noctts.mov
28 fate-mov-1elist-1ctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-1ctts.mov
29 fate-mov-3elist: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-3elist.mov
30 fate-mov-3elist-1ctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-3elist-1ctts.mov
31
32 # Edit list with encryption
33 fate-mov-3elist-encrypted: CMD = framemd5 -decryption_key 12345678901234567890123456789012 -i $(TARGET_SAMPLES)/mov/mov-3elist-encrypted.mov
34
35 # Makes sure that the CTTS is also modified when we fix avindex in mov.c while parsing edit lists.
36 fate-mov-elist-starts-ctts-2ndsample: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-elist-starts-ctts-2ndsample.mov
37
38 # Makes sure that we handle edit lists ending on a B-frame correctly.
39 # The last frame in decoding order which is B-frame should be output, but the last but-one P-frame shouldn't be
40 # output.
41 fate-mov-1elist-ends-last-bframe: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-ends-last-bframe.mov
42
43 # Makes sure that we handle timestamps of packets in case of multiple edit lists with one of them ending on a B-frame correctly.
44 fate-mov-2elist-elist1-ends-bframe: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-2elist-elist1-ends-bframe.mov
45
46 # 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.
47 fate-mov-elst-ends-betn-b-and-i: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/elst_ends_betn_b_and_i.mp4
48
49 # Makes sure that we handle edit lists and start padding correctly.
50 fate-mov-440hz-10ms: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/440hz-10ms.m4a
51
52 # Makes sure that we handle invalid edit list entry count correctly.
53 fate-mov-invalid-elst-entry-count: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/mov/invalid_elst_entry_count.mov
54
55 # Makes sure that 1st key-frame is picked when,
56 #    i) One B-frame between 2 key-frames
57 #   ii) Edit list starts on B-frame.
58 #  iii) Both key-frames have their DTS < edit list start
59 # i.e.  Pts Order: I-B-I
60 fate-mov-ibi-elst-starts-b: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/mov/mov_ibi_elst_starts_b.mov
61
62 fate-mov-aac-2048-priming: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact $(TARGET_SAMPLES)/mov/aac-2048-priming.mov
63
64 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
65
66 fate-mov-init-nonkeyframe: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact -select_streams v $(TARGET_SAMPLES)/mov/mp4-init-nonkeyframe.mp4
67
68 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
69
70 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
71
72 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
73 fate-mov-gpmf-remux: CMP = oneline
74 fate-mov-gpmf-remux: REF = 8f48e435ee1f6b7e173ea756141eabf3