fate/demux: add an AV1 Annex B test
authorJames Almer <jamrial@gmail.com>
Mon, 18 Nov 2019 13:44:32 +0000 (10:44 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 29 Nov 2019 21:58:42 +0000 (18:58 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
tests/fate/demux.mak
tests/ref/fate/av1-annexb-demux [new file with mode: 0644]

index eb8d8c3..9f3a6be 100644 (file)
@@ -10,6 +10,9 @@ fate-adts-id3v2-two-tags-demux: CMD = framecrc -i $(TARGET_SAMPLES)/aac/id3v2_tw
 FATE_SAMPLES_DEMUX-$(CONFIG_AEA_DEMUXER) += fate-aea-demux
 fate-aea-demux: CMD = crc -i $(TARGET_SAMPLES)/aea/chirp.aea -c:a copy
 
+FATE_SAMPLES_DEMUX-$(CONFIG_AV1_DEMUXER) += fate-av1-annexb-demux
+fate-av1-annexb-demux: CMD = framecrc -i $(TARGET_SAMPLES)/av1/annexb.obu -c:v copy
+
 FATE_SAMPLES_DEMUX-$(CONFIG_AST_DEMUXER) += fate-ast
 fate-ast: CMD = crc -i $(TARGET_SAMPLES)/ast/demo11_02_partial.ast -c copy
 
diff --git a/tests/ref/fate/av1-annexb-demux b/tests/ref/fate/av1-annexb-demux
new file mode 100644 (file)
index 0000000..139a893
--- /dev/null
@@ -0,0 +1,16 @@
+#extradata 0:       13, 0x0e4c033a
+#tb 0: 1/1200000
+#media_type 0: video
+#codec_id 0: av1
+#dimensions 0: 300x300
+#sar 0: 0/1
+0,          0,          0,    48000,    12691, 0xf0adcc79
+0,      48000,      48000,    48000,     4975, 0x1742a45f, F=0x0
+0,      96000,      96000,    48000,      928, 0x7408be1a, F=0x0
+0,     144000,     144000,    48000,      702, 0x1d4464ca, F=0x0
+0,     192000,     192000,    48000,     1372, 0x37999ccf, F=0x0
+0,     240000,     240000,    48000,     1085, 0x06b61548, F=0x0
+0,     288000,     288000,    48000,     1533, 0x5e05dea3, F=0x0
+0,     336000,     336000,    48000,     1416, 0x31d4b906, F=0x0
+0,     384000,     384000,    48000,      108, 0xf52a2c59, F=0x0
+0,     432000,     432000,    48000,     1740, 0x1f065d09, F=0x0