[FFmpeg-cvslog] fate: Add dpx-probe test

Harry Mallon git at videolan.org
Thu Dec 17 14:05:23 EET 2020


ffmpeg | branch: master | Harry Mallon <harry.mallon at codex.online> | Mon Dec  7 10:32:09 2020 +0000| [4bdfbd688fff4450b0e94abb1befe16902a6660b] | committer: Paul B Mahol

fate: Add dpx-probe test

Signed-off-by: Harry Mallon <harry.mallon at codex.online>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4bdfbd688fff4450b0e94abb1befe16902a6660b
---

 tests/fate/image.mak     | 4 ++++
 tests/ref/fate/dpx-probe | 9 +++++++++
 2 files changed, 13 insertions(+)

diff --git a/tests/fate/image.mak b/tests/fate/image.mak
index c453f0f79c..0352e1c05e 100644
--- a/tests/fate/image.mak
+++ b/tests/fate/image.mak
@@ -97,6 +97,10 @@ fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
 FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser
 fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact
 
+FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx-probe
+fate-dpx-probe: SRC = $(TARGET_SAMPLES)/dpx/cyan.dpx
+fate-dpx-probe: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_frames -show_entries frame=color_transfer,color_range,color_space,color_primaries,sample_aspect_ratio -print_format default -bitexact -v 0 -i "$(SRC)"
+
 FATE_EXR += fate-exr-slice-raw
 fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt gbrapf32le
 
diff --git a/tests/ref/fate/dpx-probe b/tests/ref/fate/dpx-probe
new file mode 100644
index 0000000000..c5d049d038
--- /dev/null
+++ b/tests/ref/fate/dpx-probe
@@ -0,0 +1,9 @@
+[FRAME]
+sample_aspect_ratio=1:1
+color_range=unknown
+color_space=unknown
+color_primaries=unknown
+color_transfer=unknown
+TAG:Creator=Apple Compressor
+TAG:Input Device=
+[/FRAME]



More information about the ffmpeg-cvslog mailing list