diff options
author | Tobias Rapp <t.rapp@noa-archive.com> | 2016-04-07 15:39:33 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-04-20 19:08:17 +0300 |
commit | ef59c6f7e89a23c26d528cdbe0229c7febdf05c8 (patch) | |
tree | 3988df3d1875ef926c63ec8746aacce20cd4bd60 | |
parent | 9a6ae7fbb2fda0aa0e3ec30d6b5860ff1b1b375f (diff) |
fate: add readvitc filter test
Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | tests/fate/filter-video.mak | 10 | ||||
-rw-r--r-- | tests/ref/fate/filter-metadata-readvitc-def | 5 | ||||
-rw-r--r-- | tests/ref/fate/filter-metadata-readvitc-thr | 5 |
3 files changed, 20 insertions, 0 deletions
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 348cb9300b..4b17d593ee 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -622,6 +622,16 @@ FATE_METADATA_FILTER-$(call ALLYES, $(EBUR128_METADATA_DEPS)) += fate-filter-met fate-filter-metadata-ebur128: SRC = $(TARGET_SAMPLES)/filter/seq-3341-7_seq-3342-5-24bit.flac fate-filter-metadata-ebur128: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',ebur128=metadata=1" +READVITC_METADATA_DEPS = FFPROBE LAVFI_INDEV MOVIE_FILTER AVCODEC AVDEVICE \ + AVI_DEMUXER FFVHUFF_DECODER READVITC_FILTER +FATE_METADATA_FILTER-$(call ALLYES, $(READVITC_METADATA_DEPS)) += fate-filter-metadata-readvitc-def +fate-filter-metadata-readvitc-def: SRC = $(TARGET_SAMPLES)/filter/sample-vitc.avi +fate-filter-metadata-readvitc-def: CMD = run $(FILTER_METADATA_COMMAND) "movie='$(SRC)',readvitc" + +FATE_METADATA_FILTER-$(call ALLYES, $(READVITC_METADATA_DEPS)) += fate-filter-metadata-readvitc-thr +fate-filter-metadata-readvitc-thr: SRC = $(TARGET_SAMPLES)/filter/sample-vitc.avi +fate-filter-metadata-readvitc-thr: CMD = run $(FILTER_METADATA_COMMAND) "movie='$(SRC)',readvitc=thr_b=0.3:thr_w=0.5" + tests/data/file4560-override2rotate0.mov: TAG = GEN tests/data/file4560-override2rotate0.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data $(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \ diff --git a/tests/ref/fate/filter-metadata-readvitc-def b/tests/ref/fate/filter-metadata-readvitc-def new file mode 100644 index 0000000000..8a650f1eca --- /dev/null +++ b/tests/ref/fate/filter-metadata-readvitc-def @@ -0,0 +1,5 @@ +pkt_pts=0|tag:lavfi.readvitc.found=0 +pkt_pts=1|tag:lavfi.readvitc.found=1|tag:lavfi.readvitc.tc_str=05:01:02:21 +pkt_pts=2|tag:lavfi.readvitc.found=1|tag:lavfi.readvitc.tc_str=05:01:02:22 +pkt_pts=3|tag:lavfi.readvitc.found=1|tag:lavfi.readvitc.tc_str=05:01:02:23 +pkt_pts=4|tag:lavfi.readvitc.found=0 diff --git a/tests/ref/fate/filter-metadata-readvitc-thr b/tests/ref/fate/filter-metadata-readvitc-thr new file mode 100644 index 0000000000..408666348a --- /dev/null +++ b/tests/ref/fate/filter-metadata-readvitc-thr @@ -0,0 +1,5 @@ +pkt_pts=0|tag:lavfi.readvitc.found=1|tag:lavfi.readvitc.tc_str=05:01:02:20 +pkt_pts=1|tag:lavfi.readvitc.found=1|tag:lavfi.readvitc.tc_str=05:01:02:21 +pkt_pts=2|tag:lavfi.readvitc.found=1|tag:lavfi.readvitc.tc_str=05:01:02:22 +pkt_pts=3|tag:lavfi.readvitc.found=1|tag:lavfi.readvitc.tc_str=05:01:02:23 +pkt_pts=4|tag:lavfi.readvitc.found=1|tag:lavfi.readvitc.tc_str=05:01:02:24 |