ffmpeg | branch: master | Marton Balint <c...@passwd.hu> | Sun Jun 22 08:19:54 2025 +0200| [a85835bfb83fc31684b22c64a3f4976e53a467cc] | committer: Marton Balint
fate/filter-video: add ffprobe test for dual output select filter Signed-off-by: Marton Balint <c...@passwd.hu> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a85835bfb83fc31684b22c64a3f4976e53a467cc --- tests/fate-run.sh | 4 ++++ tests/fate/filter-video.mak | 3 +++ tests/ref/fate/filter-select-ffprobe | 25 +++++++++++++++++++++++++ 3 files changed, 32 insertions(+) diff --git a/tests/fate-run.sh b/tests/fate-run.sh index ff44c45757..efc8b3bc6a 100755 --- a/tests/fate-run.sh +++ b/tests/fate-run.sh @@ -123,6 +123,10 @@ probechapters(){ run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_chapters "$@" } +probe(){ + run ffprobe${PROGSUF}${EXECSUF} -bitexact "$@" +} + probegaplessinfo(){ filename="$1" shift diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index df8a932750..33127387e5 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -325,6 +325,9 @@ FATE_FILTER_VSYNTH_PGMYUV-$(CONFIG_SELECT_FILTER) += fate-filter-select-alternat fate-filter-select-alternate: tests/data/filtergraphs/select-alternate fate-filter-select-alternate: CMD = framecrc -c:v pgmyuv -i $(SRC) -/filter $(TARGET_PATH)/tests/data/filtergraphs/select-alternate +FATE_FILTER-$(call ALLYES, FFPROBE SELECT_FILTER SMPTEBARS_FILTER LAVFI_INDEV) += fate-filter-select-ffprobe +fate-filter-select-ffprobe: CMD = probe -print_format compact -show_entries packet=stream_index,pts,pts_time -f lavfi "smptebars=d=1,select=n=2:e=1[out0][out1]" + FATE_FILTER_VSYNTH_PGMYUV-$(call ALLYES, SETPTS_FILTER SETTB_FILTER) += fate-filter-setpts fate-filter-setpts: tests/data/filtergraphs/setpts fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -/filter $(TARGET_PATH)/tests/data/filtergraphs/setpts diff --git a/tests/ref/fate/filter-select-ffprobe b/tests/ref/fate/filter-select-ffprobe new file mode 100644 index 0000000000..48ebf9b156 --- /dev/null +++ b/tests/ref/fate/filter-select-ffprobe @@ -0,0 +1,25 @@ +packet|stream_index=0|pts=0|pts_time=0.000000 +packet|stream_index=0|pts=1|pts_time=0.040000 +packet|stream_index=0|pts=2|pts_time=0.080000 +packet|stream_index=0|pts=3|pts_time=0.120000 +packet|stream_index=0|pts=4|pts_time=0.160000 +packet|stream_index=0|pts=5|pts_time=0.200000 +packet|stream_index=0|pts=6|pts_time=0.240000 +packet|stream_index=0|pts=7|pts_time=0.280000 +packet|stream_index=0|pts=8|pts_time=0.320000 +packet|stream_index=0|pts=9|pts_time=0.360000 +packet|stream_index=0|pts=10|pts_time=0.400000 +packet|stream_index=0|pts=11|pts_time=0.440000 +packet|stream_index=0|pts=12|pts_time=0.480000 +packet|stream_index=0|pts=13|pts_time=0.520000 +packet|stream_index=0|pts=14|pts_time=0.560000 +packet|stream_index=0|pts=15|pts_time=0.600000 +packet|stream_index=0|pts=16|pts_time=0.640000 +packet|stream_index=0|pts=17|pts_time=0.680000 +packet|stream_index=0|pts=18|pts_time=0.720000 +packet|stream_index=0|pts=19|pts_time=0.760000 +packet|stream_index=0|pts=20|pts_time=0.800000 +packet|stream_index=0|pts=21|pts_time=0.840000 +packet|stream_index=0|pts=22|pts_time=0.880000 +packet|stream_index=0|pts=23|pts_time=0.920000 +packet|stream_index=0|pts=24|pts_time=0.960000 _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".