[FFmpeg-devel] [PATCHv2] fate/microsoft: add mss2 region test case

Peter Ross pross at xvid.org
Wed Oct 26 11:52:46 EEST 2022


---

test file: https://trac.ffmpeg.org/attachment/ticket/3255/mss2_2.wmv (30 KiB)

 tests/fate/microsoft.mak   | 3 ++-
 tests/ref/fate/mss2-region | 7 +++++++
 2 files changed, 9 insertions(+), 1 deletion(-)
 create mode 100644 tests/ref/fate/mss2-region

diff --git a/tests/fate/microsoft.mak b/tests/fate/microsoft.mak
index ee1a062425..e98ab30aae 100644
--- a/tests/fate/microsoft.mak
+++ b/tests/fate/microsoft.mak
@@ -14,8 +14,9 @@ FATE_MSS2-$(call FRAMECRC, ASF, MSS2, SCALE_FILTER) += fate-mss2-rgb555 fate-mss
 fate-mss2-rgb555:  CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rle555.wmv  -pix_fmt rgb555le -vf scale
 fate-mss2-rgb555s: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rle555s.wmv -pix_fmt rgb555le -vf scale
 
-FATE_MSS2 += fate-mss2-wmv
+FATE_MSS2 += fate-mss2-wmv fate-mss2-region
 fate-mss2-wmv: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/msscreencodec.wmv -an -frames 100
+fate-mss2-region: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/mss2_2.wmv -an
 
 FATE_MSS2-$(call FRAMECRC, ASF, MSS2) += $(FATE_MSS2)
 
diff --git a/tests/ref/fate/mss2-region b/tests/ref/fate/mss2-region
new file mode 100644
index 0000000000..c0a99f3e1f
--- /dev/null
+++ b/tests/ref/fate/mss2-region
@@ -0,0 +1,7 @@
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x120
+#sar 0: 0/1
+0,          0,          0,        1,    57600, 0x51bc82a3
+0,       3000,       3000,        1,    57600, 0x51bc82a3
-- 
2.35.1

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20221026/2d08f33f/attachment.sig>


More information about the ffmpeg-devel mailing list