mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user