summaryrefslogtreecommitdiff
path: root/tests/fate/enc_external.mak
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-03-11 17:54:46 +0100
committerAnton Khirnov <anton@khirnov.net>2023-05-15 10:39:02 +0200
commit2953ebe7b6925b045e5652420cf07146fbbb17ab (patch)
treea196c693da52145b7caf480a8a153b161383bcf3 /tests/fate/enc_external.mak
parentf618004bc1fa31f4952ea420c3969ee4999d079b (diff)
downloadffmpeg-2953ebe7b6925b045e5652420cf07146fbbb17ab.tar.gz
tests/fate: add a simple test for libx264
Since this is an external encoder not under our control, we cannot test the encoded output exactly as is done for internal encoders. We can still test however that the output is decodable and produces the expected number of frames with expected dimensions, pixel formats, and timestamps.
Diffstat (limited to 'tests/fate/enc_external.mak')
-rw-r--r--tests/fate/enc_external.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/fate/enc_external.mak b/tests/fate/enc_external.mak
new file mode 100644
index 0000000000..7eabebcc51
--- /dev/null
+++ b/tests/fate/enc_external.mak
@@ -0,0 +1,6 @@
+FATE_ENC_EXTERNAL-$(call ENCDEC, LIBX264 H264, MOV, H264_DEMUXER) += fate-libx264-simple
+fate-libx264-simple: CMD = enc_external $(TARGET_SAMPLES)/h264-conformance/BA1_Sony_D.jsv \
+ mp4 "-c:v libx264" "-show_entries frame=width,height,pix_fmt,pts,pkt_dts -of flat"
+
+FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_ENC_EXTERNAL-yes)
+fate-enc-external: $(FATE_ENC_EXTERNAL-yes)