[FFmpeg-devel] [PATCH] fate: add sub2video test.

Paul B Mahol onemda at gmail.com
Tue Jan 1 20:00:24 CET 2013


On 1/1/13, Nicolas George <nicolas.george at normalesup.org> wrote:
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  tests/fate/ffmpeg.mak    |    8 ++++++++

I do not have this file.

>  tests/ref/fate/sub2video |   51
> ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 59 insertions(+)
>  create mode 100644 tests/ref/fate/sub2video
>
> diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
> index 9845cd3..a352d75 100644
> --- a/tests/fate/ffmpeg.mak
> +++ b/tests/fate/ffmpeg.mak
> @@ -19,3 +19,11 @@ fate-force_key_frames: CMD = enc_dec \
>    "rawvideo -s 352x288 -pix_fmt yuv420p" tests/data/vsynth2.yuv \
>    avi "-c mpeg4 -g 240 -qscale 10 -force_key_frames 0.5,0:00:01.5" \
>    framecrc "" "" "-skip_frame nokey"
> +
> +FATE_SAMPLES_FFMPEG += fate-sub2video
> +fate-sub2video: tests/data/vsynth2.yuv
> +fate-sub2video: CMD = framecrc \
> +  -f rawvideo -r 5 -s 352x288 -pix_fmt yuv420p -i tests/data/vsynth2.yuv \
> +  -ss 132 -i $(SAMPLES)/sub/vobsub.idx \
> +  -filter_complex "[0:0]scale=720:480[v];[v][1:0]overlay" \
> +  -c rawvideo
> diff --git a/tests/ref/fate/sub2video b/tests/ref/fate/sub2video
> new file mode 100644
> index 0000000..eef92ab
> --- /dev/null
> +++ b/tests/ref/fate/sub2video
> @@ -0,0 +1,51 @@
> +#tb 0: 1/5
> +0,          0,          0,        1,   518400, 0x23b70a16
> +0,          1,          1,        1,   518400, 0xed20570d
> +0,          2,          2,        1,   518400, 0x00e76dc2
> +0,          3,          3,        1,   518400, 0xba0b4762
> +0,          4,          4,        1,   518400, 0x2d6d35bc
> +0,          5,          5,        1,   518400, 0x0fa54d0c
> +0,          6,          6,        1,   518400, 0x521a9dd0
> +0,          7,          7,        1,   518400, 0x84af02ec
> +0,          8,          8,        1,   518400, 0xe7564371
> +0,          9,          9,        1,   518400, 0x9e819780
> +0,         10,         10,        1,   518400, 0x5ed22da5
> +0,         11,         11,        1,   518400, 0x37ba3524
> +0,         12,         12,        1,   518400, 0xe30886e2
> +0,         13,         13,        1,   518400, 0xbbc83457
> +0,         14,         14,        1,   518400, 0xda250e00
> +0,         15,         15,        1,   518400, 0x1bc8c0fd
> +0,         16,         16,        1,   518400, 0x96639efd
> +0,         17,         17,        1,   518400, 0xfb6c9749
> +0,         18,         18,        1,   518400, 0x5010bad1
> +0,         19,         19,        1,   518400, 0x981cfc5c
> +0,         20,         20,        1,   518400, 0x061577e5
> +0,         21,         21,        1,   518400, 0x29c5df75
> +0,         22,         22,        1,   518400, 0x89253145
> +0,         23,         23,        1,   518400, 0x8ad4464e
> +0,         24,         24,        1,   518400, 0xf166efc2
> +0,         25,         25,        1,   518400, 0x96056fd5
> +0,         26,         26,        1,   518400, 0x7773a79b
> +0,         27,         27,        1,   518400, 0xfbb79f94
> +0,         28,         28,        1,   518400, 0x878ff9ef
> +0,         29,         29,        1,   518400, 0x3020e868
> +0,         30,         30,        1,   518400, 0x5f6f177e
> +0,         31,         31,        1,   518400, 0xad552c0a
> +0,         32,         32,        1,   518400, 0xd5f92274
> +0,         33,         33,        1,   518400, 0x5ebb31d6
> +0,         34,         34,        1,   518400, 0x638af636
> +0,         35,         35,        1,   518400, 0x86ceb15a
> +0,         36,         36,        1,   518400, 0x5e048608
> +0,         37,         37,        1,   518400, 0xda374344
> +0,         38,         38,        1,   518400, 0x7b85fac3
> +0,         39,         39,        1,   518400, 0x0182d5a9
> +0,         40,         40,        1,   518400, 0x7029c28e
> +0,         41,         41,        1,   518400, 0xd4d5d1f6
> +0,         42,         42,        1,   518400, 0x5b8def5e
> +0,         43,         43,        1,   518400, 0x99f44d8b
> +0,         44,         44,        1,   518400, 0xfa81cc49
> +0,         45,         45,        1,   518400, 0x67dab5d5
> +0,         46,         46,        1,   518400, 0xe0748529
> +0,         47,         47,        1,   518400, 0x48e3f42b
> +0,         48,         48,        1,   518400, 0x37d818a4
> +0,         49,         49,        1,   518400, 0x9f202407
> --
> 1.7.10.4
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list