2016-09-19 07:09:03 +02:00
|
|
|
FATE_MOV = fate-mov-3elist \
|
|
|
|
fate-mov-3elist-1ctts \
|
|
|
|
fate-mov-1elist-1ctts \
|
|
|
|
fate-mov-1elist-noctts \
|
|
|
|
fate-mov-elist-starts-ctts-2ndsample \
|
|
|
|
fate-mov-1elist-ends-last-bframe \
|
2016-10-24 07:37:50 +02:00
|
|
|
fate-mov-2elist-elist1-ends-bframe \
|
2017-01-30 12:44:24 +02:00
|
|
|
fate-mov-3elist-encrypted \
|
2017-12-07 02:17:54 +02:00
|
|
|
fate-mov-frag-encrypted \
|
|
|
|
fate-mov-tenc-only-encrypted \
|
2017-10-19 05:11:16 +02:00
|
|
|
fate-mov-invalid-elst-entry-count \
|
2017-07-21 10:30:19 +02:00
|
|
|
fate-mov-gpmf-remux \
|
2017-10-16 23:17:35 +02:00
|
|
|
fate-mov-440hz-10ms \
|
2017-11-03 02:33:28 +02:00
|
|
|
fate-mov-ibi-elst-starts-b \
|
2017-11-10 02:11:22 +02:00
|
|
|
fate-mov-elst-ends-betn-b-and-i \
|
2017-11-13 18:09:30 +02:00
|
|
|
fate-mov-frag-overlap \
|
2017-11-14 04:09:28 +02:00
|
|
|
fate-mov-bbi-elst-starts-b \
|
2018-03-21 22:36:38 +02:00
|
|
|
fate-mov-neg-firstpts-discard-frames \
|
2018-05-30 00:36:07 +02:00
|
|
|
fate-mov-stream-shorter-than-movie \
|
2016-12-08 20:04:30 +02:00
|
|
|
|
2018-03-21 22:36:38 +02:00
|
|
|
FATE_MOV_FFPROBE = fate-mov-neg-firstpts-discard \
|
2018-08-07 01:28:50 +02:00
|
|
|
fate-mov-neg-firstpts-discard-vorbis \
|
2018-03-21 22:36:38 +02:00
|
|
|
fate-mov-aac-2048-priming \
|
2016-12-08 20:04:30 +02:00
|
|
|
fate-mov-zombie \
|
|
|
|
fate-mov-init-nonkeyframe \
|
|
|
|
fate-mov-displaymatrix \
|
|
|
|
fate-mov-spherical-mono \
|
2017-12-29 02:54:59 +02:00
|
|
|
fate-mov-guess-delay-1 \
|
|
|
|
fate-mov-guess-delay-2 \
|
|
|
|
fate-mov-guess-delay-3 \
|
2018-09-06 17:30:37 +02:00
|
|
|
fate-mov-mp4-with-mov-in24-ver \
|
2021-03-18 18:12:08 +02:00
|
|
|
fate-mov-mp4-extended-atom \
|
2016-09-19 07:09:03 +02:00
|
|
|
|
2018-06-11 13:45:11 +02:00
|
|
|
FATE_MOV_FASTSTART = fate-mov-faststart-4gb-overflow \
|
|
|
|
|
2016-09-19 07:09:03 +02:00
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_MOV)
|
2016-12-08 20:04:30 +02:00
|
|
|
FATE_SAMPLES_FFPROBE += $(FATE_MOV_FFPROBE)
|
2018-06-11 13:45:11 +02:00
|
|
|
FATE_SAMPLES_FASTSTART += $(FATE_MOV_FASTSTART)
|
2016-09-19 07:09:03 +02:00
|
|
|
|
|
|
|
# Make sure we handle edit lists correctly in normal cases.
|
|
|
|
fate-mov-1elist-noctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-noctts.mov
|
|
|
|
fate-mov-1elist-1ctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-1ctts.mov
|
|
|
|
fate-mov-3elist: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-3elist.mov
|
|
|
|
fate-mov-3elist-1ctts: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-3elist-1ctts.mov
|
|
|
|
|
2017-01-30 12:44:24 +02:00
|
|
|
# Edit list with encryption
|
|
|
|
fate-mov-3elist-encrypted: CMD = framemd5 -decryption_key 12345678901234567890123456789012 -i $(TARGET_SAMPLES)/mov/mov-3elist-encrypted.mov
|
|
|
|
|
2017-12-07 02:17:54 +02:00
|
|
|
# Fragmented encryption with senc boxes in movie fragments.
|
|
|
|
fate-mov-frag-encrypted: CMD = framemd5 -decryption_key 12345678901234567890123456789012 -i $(TARGET_SAMPLES)/mov/mov-frag-encrypted.mp4
|
|
|
|
|
|
|
|
# Full-sample encryption and constant IV using only tenc atom (no senc/saio/saiz).
|
|
|
|
fate-mov-tenc-only-encrypted: CMD = framemd5 -decryption_key 12345678901234567890123456789012 -i $(TARGET_SAMPLES)/mov/mov-tenc-only-encrypted.mp4
|
|
|
|
|
2016-09-19 07:09:03 +02:00
|
|
|
# Makes sure that the CTTS is also modified when we fix avindex in mov.c while parsing edit lists.
|
|
|
|
fate-mov-elist-starts-ctts-2ndsample: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-elist-starts-ctts-2ndsample.mov
|
|
|
|
|
|
|
|
# Makes sure that we handle edit lists ending on a B-frame correctly.
|
|
|
|
# The last frame in decoding order which is B-frame should be output, but the last but-one P-frame shouldn't be
|
|
|
|
# output.
|
|
|
|
fate-mov-1elist-ends-last-bframe: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-1elist-ends-last-bframe.mov
|
|
|
|
|
|
|
|
# Makes sure that we handle timestamps of packets in case of multiple edit lists with one of them ending on a B-frame correctly.
|
|
|
|
fate-mov-2elist-elist1-ends-bframe: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/mov-2elist-elist1-ends-bframe.mov
|
2016-10-24 07:37:50 +02:00
|
|
|
|
2017-11-10 02:11:22 +02:00
|
|
|
# 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.
|
|
|
|
fate-mov-elst-ends-betn-b-and-i: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/elst_ends_betn_b_and_i.mp4
|
|
|
|
|
2017-10-16 23:17:35 +02:00
|
|
|
# Makes sure that we handle edit lists and start padding correctly.
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-mov-440hz-10ms: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/440hz-10ms.m4a -af aresample
|
2017-10-16 23:17:35 +02:00
|
|
|
|
2017-10-19 05:11:16 +02:00
|
|
|
# Makes sure that we handle invalid edit list entry count correctly.
|
2017-12-06 02:03:28 +02:00
|
|
|
fate-mov-invalid-elst-entry-count: CMD = framemd5 -idct simple -flags +bitexact -i $(TARGET_SAMPLES)/mov/invalid_elst_entry_count.mov
|
2017-10-19 05:11:16 +02:00
|
|
|
|
2017-11-03 02:33:28 +02:00
|
|
|
# Makes sure that 1st key-frame is picked when,
|
|
|
|
# i) One B-frame between 2 key-frames
|
|
|
|
# ii) Edit list starts on B-frame.
|
|
|
|
# iii) Both key-frames have their DTS < edit list start
|
|
|
|
# i.e. Pts Order: I-B-I
|
|
|
|
fate-mov-ibi-elst-starts-b: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/mov/mov_ibi_elst_starts_b.mov
|
|
|
|
|
2017-11-13 18:09:30 +02:00
|
|
|
# Makes sure that we handle overlapping framgments
|
|
|
|
fate-mov-frag-overlap: CMD = framemd5 -i $(TARGET_SAMPLES)/mov/frag_overlap.mp4
|
|
|
|
|
2017-11-14 04:09:28 +02:00
|
|
|
# Makes sure that we pick the right frames according to edit list when there is no keyframe with PTS < edit list start.
|
|
|
|
# For example, when video starts on a B-frame, and edit list starts on that B-frame too.
|
|
|
|
# GOP structure : B B I in presentation order.
|
2020-08-14 18:58:27 +02:00
|
|
|
fate-mov-bbi-elst-starts-b: CMD = framemd5 -flags +bitexact -acodec aac_fixed -i $(TARGET_SAMPLES)/h264/twofields_packet.mp4 -af aresample
|
2017-11-14 04:09:28 +02:00
|
|
|
|
2018-03-21 22:36:38 +02:00
|
|
|
# Makes sure that the stream start_time is not negative when the first packet is a DISCARD packet with negative timestamp.
|
|
|
|
fate-mov-neg-firstpts-discard: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=start_time -bitexact $(TARGET_SAMPLES)/mov/mov_neg_first_pts_discard.mov
|
|
|
|
|
2018-08-07 01:28:50 +02:00
|
|
|
# Makes sure that the VORBIS audio stream start_time is not negative when the first few packets are DISCARD packets
|
|
|
|
# with negative timestamps (skip_samples is not set for Vorbis, so ffmpeg computes start_time as negative if not specified by demuxer).
|
|
|
|
fate-mov-neg-firstpts-discard-vorbis: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=start_time -bitexact $(TARGET_SAMPLES)/mov/mov_neg_first_pts_discard_vorbis.mp4
|
|
|
|
|
2021-12-04 15:57:52 +02:00
|
|
|
# Makes sure that expected frames are generated for mov_neg_first_pts_discard.mov with -vsync cfr
|
|
|
|
fate-mov-neg-firstpts-discard-frames: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/mov/mov_neg_first_pts_discard.mov -vsync cfr
|
2018-03-21 22:36:38 +02:00
|
|
|
|
2018-05-30 00:36:07 +02:00
|
|
|
# Makes sure that no frame is dropped/duplicated with fps filter due to start_time / duration miscalculations.
|
|
|
|
fate-mov-stream-shorter-than-movie: CMD = framemd5 -flags +bitexact -i $(TARGET_SAMPLES)/mov/mov_stream_shorter_than_movie.mov -vf fps=fps=24 -an
|
|
|
|
|
2016-10-24 07:37:50 +02:00
|
|
|
fate-mov-aac-2048-priming: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact $(TARGET_SAMPLES)/mov/aac-2048-priming.mov
|
2016-11-05 02:36:53 +02:00
|
|
|
|
2016-11-05 16:25:44 +02:00
|
|
|
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
|
2016-11-09 20:51:13 +02:00
|
|
|
|
2016-12-01 01:38:51 +02:00
|
|
|
fate-mov-init-nonkeyframe: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact -select_streams v $(TARGET_SAMPLES)/mov/mp4-init-nonkeyframe.mp4
|
2016-11-18 21:34:43 +02:00
|
|
|
|
2017-03-27 23:19:02 +02:00
|
|
|
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
|
2016-12-01 01:32:57 +02:00
|
|
|
|
|
|
|
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
|
2017-07-21 10:30:19 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
fate-mov-gpmf-remux: CMP = oneline
|
2020-09-20 14:26:42 +02:00
|
|
|
fate-mov-gpmf-remux: REF = 6361cf3c2b9e6962c2eafbda138125f4
|
2017-12-19 01:31:16 +02:00
|
|
|
|
|
|
|
fate-mov-guess-delay-1: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=has_b_frames -select_streams v $(TARGET_SAMPLES)/h264/h264_3bf_nopyramid_nobsrestriction.mp4
|
|
|
|
fate-mov-guess-delay-2: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=has_b_frames -select_streams v $(TARGET_SAMPLES)/h264/h264_3bf_pyramid_nobsrestriction.mp4
|
|
|
|
fate-mov-guess-delay-3: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=has_b_frames -select_streams v $(TARGET_SAMPLES)/h264/h264_4bf_pyramid_nobsrestriction.mp4
|
2018-06-11 13:45:11 +02:00
|
|
|
|
2019-12-11 22:52:59 +02:00
|
|
|
fate-mov-faststart-4gb-overflow: CMD = run tools/qt-faststart$(EXESUF) $(TARGET_SAMPLES)/mov/faststart-4gb-overflow.mov $(TARGET_PATH)/faststart-4gb-overflow-output.mov > /dev/null ; do_md5sum faststart-4gb-overflow-output.mov | cut -d " " -f1 ; rm faststart-4gb-overflow-output.mov
|
2018-06-11 13:45:11 +02:00
|
|
|
fate-mov-faststart-4gb-overflow: CMP = oneline
|
|
|
|
fate-mov-faststart-4gb-overflow: REF = bc875921f151871e787c4b4023269b29
|
2018-09-06 17:30:37 +02:00
|
|
|
|
2018-12-10 17:14:33 +02:00
|
|
|
fate-mov-mp4-with-mov-in24-ver: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=codec_name -select_streams 1 $(TARGET_SAMPLES)/mov/mp4-with-mov-in24-ver.mp4
|
2021-03-18 18:12:08 +02:00
|
|
|
|
|
|
|
fate-mov-mp4-extended-atom: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_packets -print_format compact -select_streams v $(TARGET_SAMPLES)/mov/extended_atom_size_probe
|
2021-04-10 17:34:45 +02:00
|
|
|
|
|
|
|
FATE_MOV_FFMPEG_FFPROBE-$(call ALLYES, FILE_PROTOCOL MOV_DEMUXER MJPEG_DECODER \
|
|
|
|
SCALE_FILTER PNG_ENCODER PNG_DECODER \
|
|
|
|
MP4_MUXER FRAMECRC_MUXER PIPE_PROTOCOL) \
|
|
|
|
+= fate-mov-cover-image
|
|
|
|
fate-mov-cover-image: CMD = transcode mov $(TARGET_SAMPLES)/cover_art/Owner-iTunes_9.0.3.15.m4a mp4 "-map 0 -map 0:v -c:a copy -c:v:0 copy -filter:v:1 scale -c:v:1 png" "-map 0 -t 0.1 -c copy" "" "-show_entries stream_disposition=attached_pic:stream=index,codec_name"
|
|
|
|
|
2021-08-25 21:28:19 +02:00
|
|
|
FATE_MOV_FFMPEG_FFPROBE-$(call ALLYES, FILE_PROTOCOL SRT_DEMUXER MOV_DEMUXER SUBRIP_DECODER TTML_ENCODER TTML_MUXER MOV_MUXER) += fate-mov-mp4-ttml-stpp fate-mov-mp4-ttml-dfxp
|
|
|
|
fate-mov-mp4-ttml-stpp: CMD = transcode srt $(TARGET_SAMPLES)/sub/SubRip_capability_tester.srt mp4 "-map 0:s -c:s ttml -time_base:s 1:1000" "-map 0 -c copy" "" "-of json -show_entries packet:stream=index,codec_type,codec_tag_string,codec_tag,codec_name,time_base,start_time,duration_ts,duration,nb_frames,nb_read_packets:stream_tags"
|
|
|
|
fate-mov-mp4-ttml-dfxp: CMD = transcode srt $(TARGET_SAMPLES)/sub/SubRip_capability_tester.srt mp4 "-map 0:s -c:s ttml -time_base:s 1:1000 -tag:s dfxp -strict unofficial" "-map 0 -c copy" "" "-of json -show_entries packet:stream=index,codec_type,codec_tag_string,codec_tag,codec_name,time_base,start_time,duration_ts,duration,nb_frames,nb_read_packets:stream_tags"
|
|
|
|
|
2021-07-15 08:57:48 +02:00
|
|
|
# Resulting remux should have:
|
|
|
|
# 1. first audio stream with AV_DISPOSITION_HEARING_IMPAIRED
|
|
|
|
# 2. second audio stream with AV_DISPOSITION_VISUAL_IMPAIRED | DESCRIPTIONS
|
|
|
|
FATE_MOV_FFMPEG_FFPROBE-$(call ALLYES, FILE_PROTOCOL PIPE_PROTOCOL \
|
|
|
|
MPEGTS_DEMUXER MOV_DEMUXER AC3_DECODER \
|
|
|
|
MP4_MUXER FRAMECRC_MUXER ) \
|
|
|
|
+= fate-mov-mp4-disposition-mpegts-remux
|
|
|
|
fate-mov-mp4-disposition-mpegts-remux: CMD = transcode mpegts $(TARGET_SAMPLES)/mpegts/pmtchange.ts mp4 "-map 0:1 -map 0:2 -c copy -disposition:a:0 +hearing_impaired" "-map 0 -c copy" "" "-of json -show_entries stream_disposition:stream=index"
|
|
|
|
|
2021-04-10 17:34:45 +02:00
|
|
|
FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_MOV_FFMPEG_FFPROBE-yes)
|
|
|
|
|
|
|
|
fate-mov: $(FATE_MOV) $(FATE_MOV_FFPROBE) $(FATE_MOV_FASTSTART) $(FATE_MOV_FFMPEG_FFPROBE-yes)
|