diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-18 18:51:16 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-19 02:05:01 +0200 |
commit | 3d786591b814baef324eab3a7fc8ba9d257d67ed (patch) | |
tree | 5706b78acc41ea940a9dfc559e3c29b09fdc9bdd /tests/lavf-regression.sh | |
parent | 007989c7a2215f54aeaf2393ab3aff0c208e862f (diff) | |
download | ffmpeg-3d786591b814baef324eab3a7fc8ba9d257d67ed.tar.gz |
fate/gif: create meaningful gif encoding tests.
Diffstat (limited to 'tests/lavf-regression.sh')
-rwxr-xr-x | tests/lavf-regression.sh | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 1393909680..196e9654d7 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -49,11 +49,7 @@ do_image_formats() { outfile="$datadir/images/$1/" mkdir -p "$outfile" - if [ "$1" = "gif" ]; then - file=${outfile}02.$1 - else - file=${outfile}%02d.$1 - fi + file=${outfile}%02d.$1 run_avconv $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $2 $ENC_OPTS -t 0.5 -y -qscale 10 $target_path/$file do_md5sum ${outfile}02.$1 do_avconv_crc $file $DEC_OPTS -i $target_path/$file $3 @@ -184,18 +180,9 @@ do_streamed_images ppm fi if [ -n "$do_gif" ] ; then -# this tests the gif muxer file=${outfile}lavf.gif do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 -pix_fmt rgb24 do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24 -# and this the gif encoder -do_image_formats gif "" "-pix_fmt rgb24" -do_image_formats gif "-pix_fmt rgb4_byte" "-pix_fmt rgb24" -do_image_formats gif "-pix_fmt bgr4_byte" "-pix_fmt rgb24" -do_image_formats gif "-pix_fmt rgb8" "-pix_fmt rgb24" -do_image_formats gif "-pix_fmt bgr8" "-pix_fmt rgb24" -do_image_formats gif "-pix_fmt gray" "-pix_fmt rgb24" -do_image_formats gif "-pix_fmt pal8" "-pix_fmt rgb24" fi if [ -n "$do_yuv4mpeg" ] ; then |