[FFmpeg-devel] [PATCH] fate: Add test for vc1test demuxer

mypopy at gmail.com mypopy at gmail.com
Mon Nov 12 05:11:53 EET 2018


On Wed, Oct 24, 2018 at 11:10 PM Jun Zhao <mypopydev at gmail.com> wrote:
>
> Signed-off-by: Jun Zhao <mypopydev at gmail.com>
> ---
>  tests/fate/microsoft.mak       |    6 ++++++
>  tests/ref/fate/vc1test_smm0005 |   29 +++++++++++++++++++++++++++++
>  tests/ref/fate/vc1test_smm0015 |   30 ++++++++++++++++++++++++++++++
>  3 files changed, 65 insertions(+), 0 deletions(-)
>  create mode 100644 tests/ref/fate/vc1test_smm0005
>  create mode 100644 tests/ref/fate/vc1test_smm0015
>
> diff --git a/tests/fate/microsoft.mak b/tests/fate/microsoft.mak
> index c450c0d..a2c3b62 100644
> --- a/tests/fate/microsoft.mak
> +++ b/tests/fate/microsoft.mak
> @@ -71,6 +71,12 @@ fate-vc1_sa20021: CMD = framecrc -i $(TARGET_SAMPLES)/vc1/SA20021.vc1
>  FATE_VC1-$(CONFIG_VC1_DEMUXER) += fate-vc1_ilaced_twomv
>  fate-vc1_ilaced_twomv: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vc1/ilaced_twomv.vc1
>
> +FATE_VC1-$(CONFIG_VC1T_DEMUXER) += fate-vc1test_smm0005
> +fate-vc1test_smm0005: CMD = framecrc -i $(TARGET_SAMPLES)/vc1/SMM0005.rcv
> +
> +FATE_VC1-$(CONFIG_VC1T_DEMUXER) += fate-vc1test_smm0015
> +fate-vc1test_smm0015: CMD = framecrc -i $(TARGET_SAMPLES)/vc1/SMM0015.rcv
> +
>  FATE_VC1-$(CONFIG_MOV_DEMUXER) += fate-vc1-ism
>  fate-vc1-ism: CMD = framecrc -i $(TARGET_SAMPLES)/isom/vc1-wmapro.ism -an
>
> diff --git a/tests/ref/fate/vc1test_smm0005 b/tests/ref/fate/vc1test_smm0005
> new file mode 100644
> index 0000000..670dd8d
> --- /dev/null
> +++ b/tests/ref/fate/vc1test_smm0005
> @@ -0,0 +1,29 @@
> +#tb 0: 1/1
> +#media_type 0: video
> +#codec_id 0: rawvideo
> +#dimensions 0: 720x480
> +#sar 0: 0/1
> +0,          0,          0,        1,   518400, 0xfc2e6c0f
> +0,          1,          1,        1,   518400, 0xb6fa68ba
> +0,          2,          2,        1,   518400, 0x0c13a4c9
> +0,          3,          3,        1,   518400, 0x351e940d
> +0,          4,          4,        1,   518400, 0x07ad35cb
> +0,          5,          5,        1,   518400, 0x0c2b1413
> +0,          6,          6,        1,   518400, 0xf770b86b
> +0,          7,          7,        1,   518400, 0xb1ec5f47
> +0,          8,          8,        1,   518400, 0xee591da8
> +0,          9,          9,        1,   518400, 0x18046c55
> +0,         10,         10,        1,   518400, 0xcfe7bb62
> +0,         11,         11,        1,   518400, 0x260e7ecd
> +0,         12,         12,        1,   518400, 0x3a3034cc
> +0,         13,         13,        1,   518400, 0xee7800dd
> +0,         14,         14,        1,   518400, 0xdc4176b4
> +0,         15,         15,        1,   518400, 0x7bb037db
> +0,         16,         16,        1,   518400, 0x4d4721d1
> +0,         17,         17,        1,   518400, 0xbd5cc3b4
> +0,         18,         18,        1,   518400, 0x678acc34
> +0,         19,         19,        1,   518400, 0xb3ffba44
> +0,         20,         20,        1,   518400, 0xda9ebefb
> +0,         21,         21,        1,   518400, 0xb810bc59
> +0,         22,         22,        1,   518400, 0xc79fc02d
> +0,         23,         23,        1,   518400, 0x28d9ad0d
> \ No newline at end of file
> diff --git a/tests/ref/fate/vc1test_smm0015 b/tests/ref/fate/vc1test_smm0015
> new file mode 100644
> index 0000000..3183d6b
> --- /dev/null
> +++ b/tests/ref/fate/vc1test_smm0015
> @@ -0,0 +1,30 @@
> +#tb 0: 1/25
> +#media_type 0: video
> +#codec_id 0: rawvideo
> +#dimensions 0: 720x576
> +#sar 0: 0/1
> +0,          0,          0,        1,   622080, 0x68c84e70
> +0,          1,          1,        1,   622080, 0xc29f7155
> +0,          2,          2,        1,   622080, 0x78900210
> +0,          3,          3,        1,   622080, 0x4d44c353
> +0,          4,          4,        1,   622080, 0xd230b3dd
> +0,          5,          5,        1,   622080, 0xd72a029c
> +0,          6,          6,        1,   622080, 0xc76acb50
> +0,          7,          7,        1,   622080, 0xf90816ab
> +0,          8,          8,        1,   622080, 0x56996b77
> +0,          9,          9,        1,   622080, 0x1784890f
> +0,         10,         10,        1,   622080, 0xbc4c81f2
> +0,         11,         11,        1,   622080, 0xab5f02ac
> +0,         12,         12,        1,   622080, 0x539bb59c
> +0,         13,         13,        1,   622080, 0xa34bf120
> +0,         14,         14,        1,   622080, 0xa671eaac
> +0,         15,         15,        1,   622080, 0x51d77a74
> +0,         16,         16,        1,   622080, 0x6d15c7b0
> +0,         17,         17,        1,   622080, 0x1bf7535a
> +0,         18,         18,        1,   622080, 0x8ed2e73c
> +0,         19,         19,        1,   622080, 0x9f4f86a6
> +0,         20,         20,        1,   622080, 0x95e05b22
> +0,         21,         21,        1,   622080, 0x29c570a0
> +0,         22,         22,        1,   622080, 0xc612f057
> +0,         23,         23,        1,   622080, 0xe782d106
> +0,         24,         24,        1,   622080, 0xeee9a3b7
> --
> 1.7.1
>
Will push the patch, now the test clips have been updated to fate
server by Micheal. Tks.


More information about the ffmpeg-devel mailing list