@@ -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
new file mode 100644
@@ -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
new file mode 100644
@@ -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
new file mode 100644
@@ -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
new file mode 100644
@@ -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
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