Revision 83dddc4a tests/regression.sh

View differences:

tests/regression.sh
129 129
###################################
130 130
if [ -n "$do_mpeg2" ] ; then
131 131
# mpeg2 encoding
132
file=${outfile}mpeg2.vob
133
do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video $file 
132
file=${outfile}mpeg2.mpg
133
do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video $file 
134

  
135
# mpeg2 decoding
136
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
137

  
138
# mpeg2 encoding interlaced
139
file=${outfile}mpeg2i.mpg
140
do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video -interlace $file 
134 141

  
135 142
# mpeg2 decoding
136 143
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
......
240 247
if [ -n "$do_mpeg1b" ] ; then
241 248
# mpeg1
242 249
file=${outfile}mpeg1b.mpg
243
do_ffmpeg $file -y -qscale 8 -bf 3 -ps 200 -f pgmyuv -i $raw_src -an -vcodec mpeg1video $file
250
do_ffmpeg $file -y -qscale 8 -bf 3 -ps 200 -f pgmyuv -i $raw_src -an -vcodec mpeg1video -f mpeg1video $file
244 251

  
245 252
# mpeg1 decoding
246 253
do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst 

Also available in: Unified diff