aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/ffmpeg.mak
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-03-13 10:54:22 -0300
committerJames Almer <jamrial@gmail.com>2024-03-14 10:00:03 -0300
commitd925b2e13982b528e5feb0392d4edcaaa386525f (patch)
tree00c76ca32314f4ca4ea8051ec9d4e5e7e36db0d5 /tests/fate/ffmpeg.mak
parent8ff4a4a4f4f73c5e276fa0cbe6cd5a148ebdd4ae (diff)
downloadffmpeg-d925b2e13982b528e5feb0392d4edcaaa386525f.tar.gz
fate/ffmpeg: add a test for loopback decoding
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/fate/ffmpeg.mak')
-rw-r--r--tests/fate/ffmpeg.mak7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index 669c878c7f..e1705141ec 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -254,3 +254,10 @@ fate-ffmpeg-streamcopy-t: CMD = ffmpeg
-stream_loop -1 -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \
-c copy -f null -t 1 -
FATE_FFMPEG-$(call REMUX, RAWVIDEO) += fate-ffmpeg-streamcopy-t
+
+# Test loopback decoding and passing the output to a complex graph.
+fate-ffmpeg-loopback-decoding: tests/data/vsynth_lena.yuv
+fate-ffmpeg-loopback-decoding: CMD = transcode \
+ "rawvideo -s 352x288 -pix_fmt yuv420p" $(TARGET_PATH)/tests/data/vsynth_lena.yuv nut \
+ "-map 0:v:0 -c:v mpeg2video -f null - -flags +bitexact -dec 0:0 -filter_complex '[0:v][dec:0]hstack[stack]' -map '[stack]' -c:v ffv1" ""
+FATE_FFMPEG-$(call ENCDEC2, MPEG2VIDEO, FFV1, NUT, HSTACK_FILTER PIPE_PROTOCOL FRAMECRC_MUXER) += fate-ffmpeg-loopback-decoding