From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
To: ffmpeg-devel@ffmpeg.org
Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Subject: [FFmpeg-devel] [PATCH 5/6] fate/amr[nw]b: Add remux tests
Date: Thu, 6 Jan 2022 13:07:09 +0100
Message-ID: <AM7PR03MB6660FF1459FBE41DF0E32AEB8F4C9@AM7PR03MB6660.eurprd03.prod.outlook.com> (raw)
In-Reply-To: <AM7PR03MB6660A38F0890A5335301DD558F4C9@AM7PR03MB6660.eurprd03.prod.outlook.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
tests/fate/amrnb.mak | 8 +++++-
tests/fate/amrwb.mak | 8 +++++-
tests/ref/fate/amrnb-remux | 58 ++++++++++++++++++++++++++++++++++++++
tests/ref/fate/amrwb-remux | 58 ++++++++++++++++++++++++++++++++++++++
4 files changed, 130 insertions(+), 2 deletions(-)
create mode 100644 tests/ref/fate/amrnb-remux
create mode 100644 tests/ref/fate/amrwb-remux
diff --git a/tests/fate/amrnb.mak b/tests/fate/amrnb.mak
index c0feec25dc..f4f74f14d9 100644
--- a/tests/fate/amrnb.mak
+++ b/tests/fate/amrnb.mak
@@ -30,7 +30,13 @@ FATE_AMRNB += fate-amrnb-12k2
fate-amrnb-12k2: CMD = pcm -i $(TARGET_SAMPLES)/amrnb/12.2k.amr
fate-amrnb-12k2: REF = $(SAMPLES)/amrnb/12.2k.pcm
+FATE_AMRNB_REMUX-$(call ALLYES, FILE_PROTOCOL AMR_DEMUXER AMR_PARSER \
+ AMR_MUXER FRAMECRC_MUXER PIPE_PROTOCOL) \
+ += fate-amrnb-remux
+fate-amrnb-remux: CMD = transcode amr $(TARGET_SAMPLES)/amrnb/10.2k.amr amr "-c copy" "-c copy -t 1"
+
$(FATE_AMRNB): CMP = stddev
FATE_SAMPLES_AVCONV-$(call DEMDEC, AMR, AMRNB) += $(FATE_AMRNB)
-fate-amrnb: $(FATE_AMRNB)
+FATE_SAMPLES_FFMPEG += $(FATE_AMRNB_REMUX-yes)
+fate-amrnb: $(FATE_AMRNB) $(FATE_AMRNB_REMUX-yes)
diff --git a/tests/fate/amrwb.mak b/tests/fate/amrwb.mak
index b93835d76d..617cefca00 100644
--- a/tests/fate/amrwb.mak
+++ b/tests/fate/amrwb.mak
@@ -41,7 +41,13 @@ FATE_AMRWB += fate-amrwb-23k85-2
fate-amrwb-23k85-2: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/deus-23k85.awb
fate-amrwb-23k85-2: REF = $(SAMPLES)/amrwb/deus-23k85.pcm
+FATE_AMRWB_REMUX-$(call ALLYES, FILE_PROTOCOL MOV_DEMUXER AMR_PARSER AMR_MUXER \
+ AMR_DEMUXER FRAMECRC_MUXER PIPE_PROTOCOL) \
+ += fate-amrwb-remux
+fate-amrwb-remux: CMD = transcode mov $(TARGET_SAMPLES)/amrwb/seed-23k85.awb amr "-c copy" "-c copy -t 1"
+
$(FATE_AMRWB): CMP = stddev
FATE_SAMPLES_AVCONV-$(call DEMDEC, AMR, AMRWB) += $(FATE_AMRWB)
-fate-amrwb: $(FATE_AMRWB)
+FATE_SAMPLES_FFMPEG += $(FATE_AMRWB_REMUX-yes)
+fate-amrwb: $(FATE_AMRWB) $(FATE_AMRWB_REMUX-yes)
diff --git a/tests/ref/fate/amrnb-remux b/tests/ref/fate/amrnb-remux
new file mode 100644
index 0000000000..4a78c479f2
--- /dev/null
+++ b/tests/ref/fate/amrnb-remux
@@ -0,0 +1,58 @@
+55311d26f9bb6faa36d99ee7cd34ee05 *tests/data/fate/amrnb-remux.amr
+7674 tests/data/fate/amrnb-remux.amr
+#tb 0: 1/8000
+#media_type 0: audio
+#codec_id 0: amr_nb
+#sample_rate 0: 8000
+#channel_layout 0: 4
+#channel_layout_name 0: mono
+0, 0, 0, 160, 27, 0xc9970c51
+0, 160, 160, 160, 27, 0xbaa00d05
+0, 320, 320, 160, 27, 0xa8af0d60
+0, 480, 480, 160, 27, 0xb6750d9f
+0, 640, 640, 160, 27, 0xcd7d0e5f
+0, 800, 800, 160, 27, 0xaf740d0f
+0, 960, 960, 160, 27, 0xcb1c0f93
+0, 1120, 1120, 160, 27, 0xccfd0e02
+0, 1280, 1280, 160, 27, 0xb3e60d1e
+0, 1440, 1440, 160, 27, 0xbe510d70
+0, 1600, 1600, 160, 27, 0xbeb30d65
+0, 1760, 1760, 160, 27, 0xd4730f2b
+0, 1920, 1920, 160, 27, 0xa8540cd0
+0, 2080, 2080, 160, 27, 0xafdb0c14
+0, 2240, 2240, 160, 27, 0xd9930f24
+0, 2400, 2400, 160, 27, 0xbe5f0cec
+0, 2560, 2560, 160, 27, 0xb44b0c6d
+0, 2720, 2720, 160, 27, 0xdc160ec9
+0, 2880, 2880, 160, 27, 0xb8a20ce3
+0, 3040, 3040, 160, 27, 0xb9120c90
+0, 3200, 3200, 160, 27, 0xcdc70e7f
+0, 3360, 3360, 160, 27, 0xc7c20f06
+0, 3520, 3520, 160, 27, 0xda530f0e
+0, 3680, 3680, 160, 27, 0x90750abc
+0, 3840, 3840, 160, 27, 0xa4840b6d
+0, 4000, 4000, 160, 27, 0x96ed0ad1
+0, 4160, 4160, 160, 27, 0xb6b30c26
+0, 4320, 4320, 160, 27, 0x786909ce
+0, 4480, 4480, 160, 27, 0xa4ae0c7d
+0, 4640, 4640, 160, 27, 0x9ff90ba2
+0, 4800, 4800, 160, 27, 0x914c0c22
+0, 4960, 4960, 160, 27, 0xa8df0c9c
+0, 5120, 5120, 160, 27, 0xb67f0d8e
+0, 5280, 5280, 160, 27, 0xb6810cca
+0, 5440, 5440, 160, 27, 0xa6110c80
+0, 5600, 5600, 160, 27, 0xda0f0ecf
+0, 5760, 5760, 160, 27, 0xd6270e0d
+0, 5920, 5920, 160, 27, 0xd2150ffc
+0, 6080, 6080, 160, 27, 0xbd010da4
+0, 6240, 6240, 160, 27, 0xb9eb0e46
+0, 6400, 6400, 160, 27, 0xc8a80eb6
+0, 6560, 6560, 160, 27, 0xcc6b0cec
+0, 6720, 6720, 160, 27, 0xab190db0
+0, 6880, 6880, 160, 27, 0xb3f90ca7
+0, 7040, 7040, 160, 27, 0xa84a0cc9
+0, 7200, 7200, 160, 27, 0xcdca0e8d
+0, 7360, 7360, 160, 27, 0xaf8b0d1c
+0, 7520, 7520, 160, 27, 0xd9980e15
+0, 7680, 7680, 160, 27, 0xcf810f8e
+0, 7840, 7840, 160, 27, 0xb7810bd0
diff --git a/tests/ref/fate/amrwb-remux b/tests/ref/fate/amrwb-remux
new file mode 100644
index 0000000000..c350fc0b61
--- /dev/null
+++ b/tests/ref/fate/amrwb-remux
@@ -0,0 +1,58 @@
+3634e03f106db1da796059bde3258efc *tests/data/fate/amrwb-remux.amr
+31241 tests/data/fate/amrwb-remux.amr
+#tb 0: 1/16000
+#media_type 0: audio
+#codec_id 0: amr_wb
+#sample_rate 0: 16000
+#channel_layout 0: 4
+#channel_layout_name 0: mono
+0, 0, 0, 320, 61, 0xc8891fe9
+0, 320, 320, 320, 61, 0xc2562027
+0, 640, 640, 320, 61, 0xe46e207f
+0, 960, 960, 320, 61, 0xa27a1c46
+0, 1280, 1280, 320, 61, 0xf1d42007
+0, 1600, 1600, 320, 61, 0x50d61af4
+0, 1920, 1920, 320, 61, 0xbacf1eef
+0, 2240, 2240, 320, 61, 0xbd691d7b
+0, 2560, 2560, 320, 61, 0xfd1323a2
+0, 2880, 2880, 320, 61, 0x7ca01f0e
+0, 3200, 3200, 320, 61, 0x2f812276
+0, 3520, 3520, 320, 61, 0xaef41ca8
+0, 3840, 3840, 320, 61, 0x2560211f
+0, 4160, 4160, 320, 61, 0xd6ad1fd4
+0, 4480, 4480, 320, 61, 0x87d81d18
+0, 4800, 4800, 320, 61, 0x11531a44
+0, 5120, 5120, 320, 61, 0x83011d4f
+0, 5440, 5440, 320, 61, 0xca39211f
+0, 5760, 5760, 320, 61, 0xa0031e8d
+0, 6080, 6080, 320, 61, 0x0b8a1980
+0, 6400, 6400, 320, 61, 0xd2931e62
+0, 6720, 6720, 320, 61, 0x0f7820fd
+0, 7040, 7040, 320, 61, 0xcc8c2149
+0, 7360, 7360, 320, 61, 0x29f82236
+0, 7680, 7680, 320, 61, 0xf7a71f9c
+0, 8000, 8000, 320, 61, 0xa64f1cba
+0, 8320, 8320, 320, 61, 0x685321c1
+0, 8640, 8640, 320, 61, 0x48002221
+0, 8960, 8960, 320, 61, 0xef0a1f53
+0, 9280, 9280, 320, 61, 0x31e321a0
+0, 9600, 9600, 320, 61, 0xb49f1ead
+0, 9920, 9920, 320, 61, 0xe5bb1f9d
+0, 10240, 10240, 320, 61, 0xc5971d19
+0, 10560, 10560, 320, 61, 0x33182328
+0, 10880, 10880, 320, 61, 0xb791204e
+0, 11200, 11200, 320, 61, 0x5db81bd8
+0, 11520, 11520, 320, 61, 0x9f171da7
+0, 11840, 11840, 320, 61, 0xec4a1974
+0, 12160, 12160, 320, 61, 0x980620e1
+0, 12480, 12480, 320, 61, 0x74cf1d0c
+0, 12800, 12800, 320, 61, 0xea761ef7
+0, 13120, 13120, 320, 61, 0xa1da1cc7
+0, 13440, 13440, 320, 61, 0x68741b28
+0, 13760, 13760, 320, 61, 0x87991cee
+0, 14080, 14080, 320, 61, 0x955f1d0f
+0, 14400, 14400, 320, 61, 0x8eea1e69
+0, 14720, 14720, 320, 61, 0xadb21ede
+0, 15040, 15040, 320, 61, 0xace61e29
+0, 15360, 15360, 320, 61, 0x67441c17
+0, 15680, 15680, 320, 61, 0x7f1b1e7c
--
2.32.0
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next prev parent reply other threads:[~2022-01-06 12:07 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-06 9:14 [FFmpeg-devel] [PATCH] avformat/Makefile: Add missing libamqp->urldecode dependency Andreas Rheinhardt
2022-01-06 10:52 ` [FFmpeg-devel] [PATCH 2/4] avformat/Makefile, amr: Add missing amr-demuxers->rawdec.o dependency Andreas Rheinhardt
2022-01-06 10:52 ` [FFmpeg-devel] [PATCH 3/4] avformat/amr: Don't reset AVFormatContext.priv_data Andreas Rheinhardt
2022-01-06 10:52 ` [FFmpeg-devel] [PATCH 4/4] avformat/amr: Fix writing AMR header Andreas Rheinhardt
2022-01-06 12:07 ` Andreas Rheinhardt [this message]
2022-01-06 12:07 ` [FFmpeg-devel] [PATCH 6/6] fate/amrwb: Fix container type Andreas Rheinhardt
2022-01-06 17:15 ` [FFmpeg-devel] [PATCH 07/10] avformat/Makefile: Add missing alp-muxer->rawenc.o dependency Andreas Rheinhardt
2022-01-06 17:15 ` [FFmpeg-devel] [PATCH 08/10] avformat/Makefile: Add missing amv-muxer->riffenc.o dependency Andreas Rheinhardt
2022-01-07 11:09 ` [FFmpeg-devel] [PATCH v2 08/18] configure: Add missing AMV muxer->riffenc dependency Andreas Rheinhardt
2022-01-06 17:15 ` [FFmpeg-devel] [PATCH 09/10] avformat/Makefile: Fix name of PhotoCD demuxer Andreas Rheinhardt
2022-01-06 17:31 ` Paul B Mahol
2022-01-06 17:15 ` [FFmpeg-devel] [PATCH 10/10] avformat/Makefile: Add entries for CRI, GEM and PGX image pipe demuxers Andreas Rheinhardt
2022-01-06 18:47 ` [FFmpeg-devel] [PATCH 11/12] avformat/rtsp: #if unused functions away, fix -O0 compilation Andreas Rheinhardt
2022-01-06 18:47 ` [FFmpeg-devel] [PATCH 12/12] avformat/matroskaenc: Fix build with only WebM muxer enabled Andreas Rheinhardt
2022-01-06 20:07 ` [FFmpeg-devel] [PATCH 13/14] configure: Let decklink indev suggest libzvbi Andreas Rheinhardt
2022-01-07 19:58 ` Marton Balint
2022-01-06 20:07 ` [FFmpeg-devel] [PATCH 14/14] avdevice/iec61883: #if unused code away, fix -O0 compilation Andreas Rheinhardt
2022-01-06 20:51 ` [FFmpeg-devel] [PATCH 15/15] avformat/img2dec: Don't include disabled demuxers Andreas Rheinhardt
2022-01-07 10:53 ` [FFmpeg-devel] [PATCH 16/18] avformat/matroskaenc: Move AAC extradata check to other audio checks Andreas Rheinhardt
2022-01-07 10:53 ` [FFmpeg-devel] [PATCH 17/18] fate/subtitles: Fix check for fate-binsub-mksenc test Andreas Rheinhardt
2022-01-07 10:53 ` [FFmpeg-devel] [PATCH 18/18] avformat/matroskaenc: Disable MKV-only code if MKV muxer is disabled Andreas Rheinhardt
2022-01-08 10:18 ` [FFmpeg-devel] [PATCH] avformat/Makefile: Add missing libamqp->urldecode dependency Andreas Rheinhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM7PR03MB6660FF1459FBE41DF0E32AEB8F4C9@AM7PR03MB6660.eurprd03.prod.outlook.com \
--to=andreas.rheinhardt@outlook.com \
--cc=ffmpeg-devel@ffmpeg.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git