diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-10-28 02:38:51 +0300 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-10-29 00:55:52 +0300 |
commit | 97792e85c338d129342f5812e2a52048373e57d6 (patch) | |
tree | fd727aea655aa18beafe9212cfeef5e0159d92bb /tests/lavf-regression.sh | |
parent | 077939626eeaa0c1364065414c18ab9b3a072281 (diff) |
fate: add apng encoding/muxing test
Also test the fallback to png creation for a single frame.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'tests/lavf-regression.sh')
-rwxr-xr-x | tests/lavf-regression.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 8d961781d9..941f4d1ddd 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -212,6 +212,15 @@ do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -q do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24 fi +if [ -n "$do_apng" ] ; then +file=${outfile}lavf.apng +do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -pix_fmt rgb24 +do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24 +file=${outfile}lavf.png +do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -pix_fmt rgb24 -frames:v 1 -f apng +do_avconv_crc $file $DEC_OPTS -i $target_path/$file -pix_fmt rgb24 +fi + if [ -n "$do_yuv4mpeg" ] ; then file=${outfile}lavf.y4m do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS -t 1 -qscale 10 |