[FFmpeg-devel] [PATCH] fate: add demux test for OggOpus

James Almer jamrial at gmail.com
Sat Apr 2 22:50:21 CEST 2016


Signed-off-by: James Almer <jamrial at gmail.com>
---
 tests/fate/demux.mak         |  3 +++
 tests/ref/fate/oggopus-demux | 43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 tests/ref/fate/oggopus-demux

diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak
index dad77ec..4cb14c4 100644
--- a/tests/fate/demux.mak
+++ b/tests/fate/demux.mak
@@ -78,6 +78,9 @@ fate-nistsphere-demux: CMD = crc -i $(TARGET_SAMPLES)/nistsphere/nist-ulaw.nist
 FATE_SAMPLES_DEMUX-$(CONFIG_NSV_DEMUXER) += fate-nsv-demux
 fate-nsv-demux: CMD = framecrc -i $(TARGET_SAMPLES)/nsv/witchblade-51kbps.nsv -t 6 -vcodec copy -acodec copy
 
+FATE_SAMPLES_DEMUX-$(CONFIG_OGG_DEMUXER) += fate-oggopus-demux
+fate-oggopus-demux: CMD = framecrc -i $(TARGET_SAMPLES)/ogg/intro-partial.opus -c:a copy
+
 FATE_SAMPLES_DEMUX-$(CONFIG_OGG_DEMUXER) += fate-oggvp8-demux
 fate-oggvp8-demux: CMD = framecrc -i $(TARGET_SAMPLES)/ogg/videotest.ogv -c:v copy
 
diff --git a/tests/ref/fate/oggopus-demux b/tests/ref/fate/oggopus-demux
new file mode 100644
index 0000000..acbfa4b
--- /dev/null
+++ b/tests/ref/fate/oggopus-demux
@@ -0,0 +1,43 @@
+#extradata 0:       19, 0x399c0471
+#tb 0: 1/48000
+0,       -356,       -356,      960,      402, 0x89b1c40f
+0,        604,        604,      960,      216, 0x7bf97146
+0,       1564,       1564,      960,      215, 0x6cb86d8b
+0,       2524,       2524,      960,      218, 0x9cfd691c
+0,       3484,       3484,      960,      218, 0xd7fe6a94
+0,       4444,       4444,      960,      194, 0x35735de6
+0,       5404,       5404,      960,      216, 0x3ee6705a
+0,       6364,       6364,      960,      218, 0x67eb6cb1
+0,       7324,       7324,      960,      218, 0x32d0700d
+0,       8284,       8284,      960,      219, 0xcb7f6c60
+0,       9244,       9244,      960,      218, 0x9c866b33
+0,      10204,      10204,      960,      217, 0xfe3e6a53
+0,      11164,      11164,      960,      218, 0x13586833
+0,      12124,      12124,      960,      222, 0xbcb2669e
+0,      13084,      13084,      960,      218, 0x8dfc6e33
+0,      14044,      14044,      960,      217, 0xf5957051
+0,      15004,      15004,      960,      210, 0xed126e6b
+0,      15964,      15964,      960,      216, 0xbf947249
+0,      16924,      16924,      960,      203, 0x6c7e680a
+0,      17884,      17884,      960,      209, 0xf78f6af4
+0,      18844,      18844,      960,      217, 0xd60c684d
+0,      19804,      19804,      960,      218, 0x89056a7a
+0,      20764,      20764,      960,      219, 0x0bc674ad
+0,      21724,      21724,      960,      217, 0xb1d86d1a
+0,      22684,      22684,      960,      220, 0x433d685a
+0,      23644,      23644,      960,      364, 0x0c88be84
+0,      24604,      24604,      960,      221, 0x804a733d
+0,      25564,      25564,      960,      215, 0x6e9d6e9b
+0,      26524,      26524,      960,      215, 0x63016a83
+0,      27484,      27484,      960,      218, 0xf9a46fbe
+0,      28444,      28444,      960,      216, 0xa0d66c08
+0,      29404,      29404,      960,      216, 0xa2ca6d0a
+0,      30364,      30364,      960,      216, 0xf50e6f1d
+0,      31324,      31324,      960,      215, 0x6aaa70b6
+0,      32284,      32284,      960,      219, 0x7ceb6ba0
+0,      33244,      33244,      960,      220, 0x398d6ca9
+0,      34204,      34204,      960,      218, 0x7bd06ed5
+0,      35164,      35164,      960,      219, 0xe2906c62
+0,      36124,      36124,      960,      217, 0xcf316ba1
+0,      37084,      37084,      960,      217, 0x470b6eea
+0,      38044,      38044,      356,      359, 0x36c2a18a, S=1,       10, 0x0232005e
-- 
2.7.3



More information about the ffmpeg-devel mailing list