Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-18 20:51:16 +0400
committerClément Bœsch <ubitux@gmail.com>2013-04-19 04:05:01 +0400
commit3d786591b814baef324eab3a7fc8ba9d257d67ed (patch)
tree5706b78acc41ea940a9dfc559e3c29b09fdc9bdd /tests/lavf-regression.sh
parent007989c7a2215f54aeaf2393ab3aff0c208e862f (diff)
fate/gif: create meaningful gif encoding tests.
Diffstat (limited to 'tests/lavf-regression.sh')
-rwxr-xr-xtests/lavf-regression.sh15
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