[FFmpeg-cvslog] tests: Add fate-hevc-color-reserved
Zhao Zhili
git at videolan.org
Sun Jun 1 11:47:46 EEST 2025
ffmpeg | branch: master | Zhao Zhili <zhilizhao at tencent.com> | Thu May 22 13:07:17 2025 +0800| [3d9b284ad148ac4ccad21773f7ae44ab80a3da6d] | committer: Zhao Zhili
tests: Add fate-hevc-color-reserved
Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3d9b284ad148ac4ccad21773f7ae44ab80a3da6d
---
tests/fate/hevc.mak | 3 +++
tests/ref/fate/hevc-color-reserved | 6 ++++++
2 files changed, 9 insertions(+)
diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index 390ccf46e2..8113c04300 100644
--- a/tests/fate/hevc.mak
+++ b/tests/fate/hevc.mak
@@ -294,6 +294,9 @@ FATE_HEVC-$(call FRAMECRC, MOV, HEVC) += fate-hevc-mv-position
fate-hevc-alpha: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/alpha.mp4
FATE_HEVC-$(call FRAMECRC, MOV, HEVC) += fate-hevc-alpha
+fate-hevc-color-reserved: CMD = framecrc -bsf:v hevc_metadata=colour_primaries=0:transfer_characteristics=0:matrix_coefficients=3 -i $(TARGET_SAMPLES)/hevc-conformance/AMP_A_Samsung_4.bit -vf scale,format=nv12 -frames:v 1
+FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_METADATA_BSF SCALE_FILTER) += fate-hevc-color-reserved
+
FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)
diff --git a/tests/ref/fate/hevc-color-reserved b/tests/ref/fate/hevc-color-reserved
new file mode 100644
index 0000000000..cba6397aa8
--- /dev/null
+++ b/tests/ref/fate/hevc-color-reserved
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 2560x1600
+#sar 0: 0/1
+0, 0, 0, 1, 6144000, 0x427b9a00
More information about the ffmpeg-cvslog
mailing list