diff mbox series

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

Message ID 847ba1a010a8adbe88966a05864d0ec9fab85916.1638859331.git.pross@xvid.org
State New
Headers show
Series [FFmpeg-devel,PATCHv2] fate: add audio tests for Silicon Graphics Movie format | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 fail Make fate failed
andriy/make_ppc success Make finished
andriy/make_fate_ppc fail Make fate failed

Commit Message

Peter Ross Dec. 7, 2021, 6:44 a.m. UTC
Signed-off-by: Peter Ross <pross@xvid.org>
---
Modified to use codec copy instead of aresample
Samples attached to: https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2021-December/288976.html

 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 mbox series

Patch

diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index fd9905ca0a..1aa5e80bb9 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 -acodec copy
+
+FATE_SAMPLES_AUDIO-$(call DEMDEC, MV, PCM_S16BE) += fate-mv-mono16bit
+fate-mv-mono16bit: CMD = framecrc -i $(TARGET_SAMPLES)/mv/mono16bit-minimal.movie -vn -acodec copy
+
+FATE_SAMPLES_AUDIO-$(call DEMDEC, MV, PCM_S8) += fate-mv-stereo8bit
+fate-mv-stereo8bit: CMD = framecrc -i $(TARGET_SAMPLES)/mv/stereo8bit-minimal.movie -vn -acodec copy
+
+FATE_SAMPLES_AUDIO-$(call DEMDEC, MV, PCM_S16BE) += fate-mv-stereo16bit
+fate-mv-stereo16bit: CMD = framecrc -i $(TARGET_SAMPLES)/mv/stereo16bit-minimal.movie -vn -acodec copy
+
 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..a5c46fd3f2
--- /dev/null
+++ b/tests/ref/fate/mv-mono16bit
@@ -0,0 +1,8 @@ 
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16be
+#sample_rate 0: 44100
+#channel_layout 0: 4
+#channel_layout_name 0: mono
+0,          0,          0,     4410,     8820, 0xc48232c3
+0,       4410,       4410,     4410,     8820, 0x47fd4d37
diff --git a/tests/ref/fate/mv-mono8bit b/tests/ref/fate/mv-mono8bit
new file mode 100644
index 0000000000..11111fb9a5
--- /dev/null
+++ b/tests/ref/fate/mv-mono8bit
@@ -0,0 +1,8 @@ 
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s8
+#sample_rate 0: 44100
+#channel_layout 0: 4
+#channel_layout_name 0: mono
+0,          0,          0,     4410,     4410, 0x47df392f
+0,       4410,       4410,     4410,     4410, 0x2ed6ab09
diff --git a/tests/ref/fate/mv-stereo16bit b/tests/ref/fate/mv-stereo16bit
new file mode 100644
index 0000000000..3984acf931
--- /dev/null
+++ b/tests/ref/fate/mv-stereo16bit
@@ -0,0 +1,8 @@ 
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s16be
+#sample_rate 0: 44100
+#channel_layout 0: 3
+#channel_layout_name 0: stereo
+0,          0,          0,     4410,    17640, 0x32a4faf5
+0,       4410,       4410,     4410,    17640, 0x0617c559
diff --git a/tests/ref/fate/mv-stereo8bit b/tests/ref/fate/mv-stereo8bit
new file mode 100644
index 0000000000..026a9a23cc
--- /dev/null
+++ b/tests/ref/fate/mv-stereo8bit
@@ -0,0 +1,8 @@ 
+#tb 0: 1/44100
+#media_type 0: audio
+#codec_id 0: pcm_s8
+#sample_rate 0: 44100
+#channel_layout 0: 3
+#channel_layout_name 0: stereo
+0,          0,          0,     4410,     8820, 0x39fa3ee3
+0,       4410,       4410,     4410,     8820, 0xb3885495