X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tests%2Flavf-regression.sh;h=e48358c1d0bb839d5698776628443d8202d03e6c;hb=e37f161e66e042d6c2c7470c4d9881df9427fc4a;hp=75029edcfd1db6ee5e1a0ec856bec0e491f5af94;hpb=e771e6dd63e837220aa5d959486546d2be972e83;p=ffmpeg diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh index 75029edcfd1..e48358c1d0b 100755 --- a/tests/lavf-regression.sh +++ b/tests/lavf-regression.sh @@ -11,6 +11,8 @@ set -e eval do_$test=y +ENC_OPTS="$ENC_OPTS -metadata title=lavftest" + do_lavf() { file=${outfile}lavf.$1 @@ -44,26 +46,26 @@ do_audio_only() } if [ -n "$do_avi" ] ; then -do_lavf avi "-acodec mp2" +do_lavf avi "-acodec mp2 -ab 64k" fi if [ -n "$do_asf" ] ; then -do_lavf asf "-acodec mp2" "-r 25" +do_lavf asf "-acodec mp2 -ab 64k" "-r 25" fi if [ -n "$do_rm" ] ; then file=${outfile}lavf.rm -do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1 -qscale 10 -acodec ac3_fixed -b:a 64k +do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $DEC_OPTS -ar 44100 -f s16le -i $pcm_src $ENC_OPTS -t 1 -qscale 10 -acodec ac3_fixed -ab 64k # broken #do_avconv_crc $file -i $target_path/$file fi if [ -n "$do_mpg" ] ; then -do_lavf mpg +do_lavf mpg "-ab 64k" fi if [ -n "$do_mxf" ] ; then -do_lavf mxf "-ar 48000 -bf 2 -timecode_frame_start 264363" +do_lavf mxf "-ar 48000 -bf 2 -timecode 02:56:14:13" fi if [ -n "$do_mxf_d10" ]; then @@ -71,7 +73,7 @@ do_lavf mxf_d10 "-ar 48000 -ac 2 -r 25 -s 720x576 -vf pad=720:608:0:32 -vcodec m fi if [ -n "$do_ts" ] ; then -do_lavf ts "-mpegts_transport_stream_id 42" +do_lavf ts "-ab 64k -mpegts_transport_stream_id 42" fi if [ -n "$do_swf" ] ; then @@ -79,7 +81,7 @@ do_lavf swf -an fi if [ -n "$do_ffm" ] ; then -do_lavf ffm +do_lavf ffm "-ab 64k" fi if [ -n "$do_flv_fmt" ] ; then @@ -87,7 +89,7 @@ do_lavf flv -an fi if [ -n "$do_mov" ] ; then -do_lavf mov "-acodec pcm_alaw -c:v mpeg4" +do_lavf mov "-acodec pcm_alaw -vcodec mpeg4" fi if [ -n "$do_dv_fmt" ] ; then @@ -99,11 +101,15 @@ do_lavf gxf "-ar 48000 -r 25 -s pal -ac 1" fi if [ -n "$do_nut" ] ; then -do_lavf nut "-acodec mp2" +do_lavf nut "-acodec mp2 -ab 64k" fi if [ -n "$do_mkv" ] ; then -do_lavf mkv "-c:a mp2 -c:v mpeg4" +do_lavf mkv "-acodec mp2 -ab 64k -vcodec mpeg4" +fi + +if [ -n "$do_wtv" ] ; then +do_lavf wtv "-acodec mp2" fi @@ -149,6 +155,8 @@ fi if [ -n "$do_png" ] ; then do_image_formats png +do_image_formats png "-pix_fmt gray16be" +do_image_formats png "-pix_fmt rgb48be" fi if [ -n "$do_bmp" ] ; then @@ -175,6 +183,10 @@ if [ -n "$do_pcx" ] ; then do_image_formats pcx fi +if [ -n "$do_dpx" ] ; then +do_image_formats dpx +fi + if [ -n "$do_xwd" ] ; then do_image_formats xwd fi @@ -221,6 +233,14 @@ if [ -n "$do_rso" ] ; then do_audio_only rso fi +if [ -n "$do_sox" ] ; then +do_audio_only sox +fi + +if [ -n "$do_caf" ] ; then +do_audio_only caf +fi + # pix_fmt conversions if [ -n "$do_pixfmt" ] ; then