[FFmpeg-devel] [PATCH 3/3] fate/demux: add an AV1 Annex B test

James Almer jamrial at gmail.com
Sat Nov 30 00:02:35 EET 2019


On 11/18/2019 11:48 AM, James Almer wrote:
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
>  tests/fate/demux.mak            |  3 +++
>  tests/ref/fate/av1-annexb-demux | 16 ++++++++++++++++
>  2 files changed, 19 insertions(+)
>  create mode 100644 tests/ref/fate/av1-annexb-demux
> 
> diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak
> index eb8d8c3655..9f3a6be276 100644
> --- a/tests/fate/demux.mak
> +++ b/tests/fate/demux.mak
> @@ -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
> index 0000000000..139a893ec1
> --- /dev/null
> +++ b/tests/ref/fate/av1-annexb-demux
> @@ -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

Pushed.


More information about the ffmpeg-devel mailing list