aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lavf-regression.sh
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-02-12 11:52:10 +0100
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2012-02-18 16:41:39 +0100
commitf23a740303e0ae54f2dac936188475b9a9c761fc (patch)
tree8c08bab3d938525ee0063549ef604779594a6a67 /tests/lavf-regression.sh
parentf3bd226de653fe1335a6b33a41319e106c16204c (diff)
downloadffmpeg-f23a740303e0ae54f2dac936188475b9a9c761fc.tar.gz
Add muxer test based on stream-copy from FATE sample.
This should test muxing Theora into Ogg. Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'tests/lavf-regression.sh')
-rwxr-xr-xtests/lavf-regression.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index 49c77e84fd..316170bc51 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -13,6 +13,14 @@ eval do_$test=y
ENC_OPTS="$ENC_OPTS -metadata title=lavftest"
+do_lavf_fate()
+{
+ file=${outfile}lavf.$1
+ input="${samples}/$2"
+ do_avconv $file $DEC_OPTS -i "$input" $ENC_OPTS -vcodec copy -acodec copy
+ do_avconv_crc $file $DEC_OPTS -i $target_path/$file $3
+}
+
do_lavf()
{
file=${outfile}lavf.$1
@@ -126,6 +134,10 @@ if [ -n "$do_mkv" ] ; then
do_lavf mkv "-acodec mp2 -ab 64k -vcodec mpeg4"
fi
+if [ -n "$do_ogg_vp3" ] ; then
+do_lavf_fate ogg "vp3/coeff_level64.mkv"
+fi
+
if [ -n "$do_wtv" ] ; then
do_lavf wtv "-acodec mp2"
fi