[FFmpeg-devel] [PATCH] fate: add audio tests for Silicon Graphics Movie format

Peter Ross pross at xvid.org
Mon Dec 6 09:48:08 EET 2021


Signed-off-by: Peter Ross <pross at xvid.org>
---

Miminimal test vectors attached.
Can somebody help upload them to $SAMPLES/mv folder on rsync server?

 tests/fate/audio.mak          | 12 ++++++++++++
 tests/ref/fate/mv-mono16bit   |  8 ++++++++
 tests/ref/fate/mv-mono8bit    |  8 ++++++++
 tests/ref/fate/mv-stereo16bit |  8 ++++++++
 tests/ref/fate/mv-stereo8bit  |  8 ++++++++
 5 files changed, 44 insertions(+)
 create mode 100644 tests/ref/fate/mv-mono16bit
 create mode 100644 tests/ref/fate/mv-mono8bit
 create mode 100644 tests/ref/fate/mv-stereo16bit
 create mode 100644 tests/ref/fate/mv-stereo8bit

diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index fd9905ca0a..ed7ad9c220 100644
--- a/tests/fate/audio.mak
+++ b/tests/fate/audio.mak
@@ -38,6 +38,18 @@ fate-imc: CMD = pcm -i $(TARGET_SAMPLES)/imc/imc.avi
 fate-imc: CMP = oneoff
 fate-imc: REF = $(SAMPLES)/imc/imc-201706.pcm
 
+FATE_SAMPLES_AUDIO-$(call DEMDEC, MV, PCM_S8) += fate-mv-mono8bit
+fate-mv-mono8bit: CMD = framecrc -i $(TARGET_SAMPLES)/mv/mono8bit-minimal.movie -vn -af aresample
+
+FATE_SAMPLES_AUDIO-$(call DEMDEC, MV, PCM_S16BE) += fate-mv-mono16bit
+fate-mv-mono16bit: CMD = framecrc -i $(TARGET_SAMPLES)/mv/mono16bit-minimal.movie -vn -af aresample
+
+FATE_SAMPLES_AUDIO-$(call DEMDEC, MV, PCM_S8) += fate-mv-stereo8bit
+fate-mv-stereo8bit: CMD = framecrc -i $(TARGET_SAMPLES)/mv/stereo8bit-minimal.movie -vn -af aresample
+
+FATE_SAMPLES_AUDIO-$(call DEMDEC, MV, PCM_S16BE) += fate-mv-stereo16bit
+fate-mv-stereo16bit: CMD = framecrc -i $(TARGET_SAMPLES)/mv/stereo16bit-minimal.movie -vn -af aresample
+
 FATE_SAMPLES_AUDIO-$(call DEMDEC, FLV, NELLYMOSER) += fate-nellymoser
 fate-nellymoser: CMD = pcm -i $(TARGET_SAMPLES)/nellymoser/nellymoser.flv
 fate-nellymoser: CMP = oneoff
diff --git a/tests/ref/fate/mv-mono16bit b/tests/ref/fate/mv-mono16bit
new file mode 100644
index 0000000000..6c9e6df5e1
--- /dev/null
+++ b/tests/ref/fate/mv-mono16bit
@@ -0,0 +1,8 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 4
+#channel_layout_name 0: mono
+0,          0,          0,     4410,     8820, 0xa1d432c3
+0,       4410,       4410,     4410,     8820, 0x1e854d37
diff --git a/tests/ref/fate/mv-mono8bit b/tests/ref/fate/mv-mono8bit
new file mode 100644
index 0000000000..70b18029ed
--- /dev/null
+++ b/tests/ref/fate/mv-mono8bit
@@ -0,0 +1,8 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 4
+#channel_layout_name 0: mono
+0,          0,          0,     4410,     8820, 0x568f392f
+0,       4410,       4410,     4410,     8820, 0xb294ab09
diff --git a/tests/ref/fate/mv-stereo16bit b/tests/ref/fate/mv-stereo16bit
new file mode 100644
index 0000000000..a7632df0d0
--- /dev/null
+++ b/tests/ref/fate/mv-stereo16bit
@@ -0,0 +1,8 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 3
+#channel_layout_name 0: stereo
+0,          0,          0,     4410,    17640, 0x96c8faf5
+0,       4410,       4410,     4410,    17640, 0xe25dc559
diff --git a/tests/ref/fate/mv-stereo8bit b/tests/ref/fate/mv-stereo8bit
new file mode 100644
index 0000000000..360a7f74ab
--- /dev/null
+++ b/tests/ref/fate/mv-stereo8bit
@@ -0,0 +1,8 @@
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 44100
+#channel_layout 0: 3
+#channel_layout_name 0: stereo
+0,          0,          0,     4410,    17640, 0x35113ee3
+0,       4410,       4410,     4410,    17640, 0x128a5495
-- 
2.33.0

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono8bit-minimal.movie
Type: video/x-sgi-movie
Size: 70680 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211206/66dc1bc2/attachment.movie>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mono16bit-minimal.movie
Type: video/x-sgi-movie
Size: 79500 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211206/66dc1bc2/attachment-0001.movie>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stereo8bit-minimal.movie
Type: video/x-sgi-movie
Size: 79500 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211206/66dc1bc2/attachment-0002.movie>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stereo16bit-minimal.movie
Type: video/x-sgi-movie
Size: 97140 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20211206/66dc1bc2/attachment-0003.movie>
-------------- 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/20211206/66dc1bc2/attachment.sig>


More information about the ffmpeg-devel mailing list