[FFmpeg-cvslog] fate/mpeg4: Add test for MPEG-4 Simple Studio Profile

Andreas Rheinhardt git at videolan.org
Sat Jan 29 21:02:58 EET 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Jan 26 01:04:08 2022 +0100| [b8b1c49bfa929fd01b5ea2923ca747eecb31b875] | committer: Andreas Rheinhardt

fate/mpeg4: Add test for MPEG-4 Simple Studio Profile

The sample mpeg4/mpeg4_sstp_dpcm.m4v existed in the FATE-suite,
but it was surprisingly unused.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

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

 tests/fate/mpeg4.mak                       | 5 +++++
 tests/ref/fate/mpeg4-simple-studio-profile | 6 ++++++
 2 files changed, 11 insertions(+)

diff --git a/tests/fate/mpeg4.mak b/tests/fate/mpeg4.mak
index 26007f82f0..05c26b9be5 100644
--- a/tests/fate/mpeg4.mak
+++ b/tests/fate/mpeg4.mak
@@ -11,6 +11,11 @@ FATE_MPEG4-$(call ALLYES, AVI_DEMUXER MPEG4_UNPACK_BFRAMES_BSF AVI_MUXER) += fat
 fate-mpeg4-packed: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg4/packed_bframes.avi -flags +bitexact -fflags +bitexact -vsync cfr
 FATE_MPEG4-$(call ALLYES, AVI_DEMUXER MPEG4_DECODER) += fate-mpeg4-packed
 
+FATE_MPEG4-$(call ALLYES, FILE_PROTOCOL M4V_DEMUXER MPEG4_DECODER SCALE_FILTER \
+                          RAWVIDEO_ENCODER FRAMECRC_MUXER PIPE_PROTOCOL) \
+                          += fate-mpeg4-simple-studio-profile
+fate-mpeg4-simple-studio-profile: CMD = framecrc -bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg4/mpeg4_sstp_dpcm.m4v -sws_flags +accurate_rnd+bitexact -pix_fmt yuv422p10le -vf scale
+
 FATE_MPEG4-$(call DEMDEC, M4V, MPEG4) += fate-m4v  fate-m4v-cfr
 fate-m4v:     CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg4/demo.m4v
 fate-m4v-cfr: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg4/demo.m4v -vf fps=5
diff --git a/tests/ref/fate/mpeg4-simple-studio-profile b/tests/ref/fate/mpeg4-simple-studio-profile
new file mode 100644
index 0000000000..303265ae1a
--- /dev/null
+++ b/tests/ref/fate/mpeg4-simple-studio-profile
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 720x480
+#sar 0: 1/1
+0,          0,          0,        1,  1382400, 0x3d252879



More information about the ffmpeg-cvslog mailing list