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>
This commit is contained in:
Reimar Döffinger
2012-02-12 11:52:10 +01:00
parent f3bd226de6
commit f23a740303
6 changed files with 29 additions and 3 deletions

View File

@ -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