From 7481e91982c45c22a650fd6d2bc3449edea6b634 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Sat, 11 Jan 2003 05:32:29 +0000 Subject: [PATCH] more formats Originally committed as revision 1442 to svn://svn.ffmpeg.org/ffmpeg/trunk --- tests/libav.regression.ref | 61 ++++++++++++++++++++------------------ tests/regression.sh | 28 ++++++++++++----- 2 files changed, 52 insertions(+), 37 deletions(-) diff --git a/tests/libav.regression.ref b/tests/libav.regression.ref index 4b1cf2ab47..a0926fcdc2 100644 --- a/tests/libav.regression.ref +++ b/tests/libav.regression.ref @@ -1,30 +1,33 @@ ffmpeg regression test -ef90f12bc797e5e5a1b861842337ea07 /tmp/a-libav.avi -/tmp/a-libav.avi CRC=3a24751b -1b4c24ad5186d7f636a3ef9e94fa0d0c /tmp/a-libav.asf -/tmp/a-libav.asf CRC=3a24751b -4508a1cbbe65a42e7da42b680b8ef7e5 /tmp/a-libav.rm -e5956eba346efaf8d485c8e595672f15 /tmp/a-libav.mpg -/tmp/a-libav.mpg CRC=917d4442 -48a0f69d9dd53cac1b3881d1d05568f0 /tmp/a-libav.swf -/tmp/a-libav.swf CRC=f81e4afd -310f44e654eef2d1991828684990ceb0 /tmp/a-libav.ffm -/tmp/a-libav.ffm CRC=2c9e3e17 -5db97638cbb4d8ac95cbd6cbe4db22b5 /tmp/a-libav.mjpeg -/tmp/a-libav.mjpeg CRC=394c0818 -aff140ce80a1c86c1bf54118ad23da7b /tmp/a-libav.pgmpipe -/tmp/a-libav.pgmpipe CRC=50151823 -5f50d148d57d25a900a071a5c471df9e /tmp/a-libav.ppmpipe -/tmp/a-libav.ppmpipe CRC=12f0c2c6 -5f50d148d57d25a900a071a5c471df9e /tmp/a-libav.gif -/tmp/a-libav%d.pgm CRC=07f57a1a -/tmp/a-libav%d.ppm CRC=3261ce73 -/tmp/a-libav%d.jpg CRC=b41cd20e -8854ea97f2d2172383941b001c69228b /tmp/a-libav.wav -/tmp/a-libav.wav CRC=f1ae5536 -8bce9c3758b0d38da2e0718b6ab57fb4 /tmp/a-libav.al -/tmp/a-libav.al CRC=5e6d372b -e64027a96ad5907ee281deff3286da0a /tmp/a-libav.ul -/tmp/a-libav.ul CRC=e028b50a -dbd11f783219485cae32024e47c19dfb /tmp/a-libav.au -/tmp/a-libav.au CRC=f1ae5536 +5094822b269fcbad417e22cd99e3988d *./data/a-libav.avi +./data/a-libav.avi CRC=0ddb1e18 +a409939656b9eb6e9a39712a60ec404b *./data/a-libav.asf +./data/a-libav.asf CRC=0ddb1e18 +7ee3ebfbcd0ae82f59b683ec18d09042 *./data/a-libav.rm +11c39c84b3aa4c6305fdc700f4407a66 *./data/a-libav.mpg +./data/a-libav.mpg CRC=61471a80 +976a303a3f2f3c262d52b6dd5e744328 *./data/a-libav.swf +./data/a-libav.swf CRC=d813a4a6 +30bde35dc73eeb7658b93cbecb4a08f8 *./data/a-libav.ffm +./data/a-libav.ffm CRC=8a5b1654 +27dff20bbab9a65b41fffe5233eb9ac7 *./data/a-libav.mjpeg +./data/a-libav.mjpeg CRC=fd137c0e +925b133612fda60c7b95136847e78681 *./data/a-libav.pbm +./data/a-libav.pbm CRC=91ae93e8 +aff140ce80a1c86c1bf54118ad23da7b *./data/a-libav.pgm +./data/a-libav.pgm CRC=50151823 +e690ec91467990bcf31a338bc55a7281 *./data/a-libav.ppm +./data/a-libav.ppm CRC=e4799106 +268421842abae52d1f0346e07401fe0d *./data/a-libav.gif +bf66705fbeee5355d8ff021d1e88fa6f *./data/a-libav.yuv4mpeg +./data/a-libav%d.pgm CRC=07f57a1a +./data/a-libav%d.ppm CRC=755c4b6a +./data/a-libav%d.jpg CRC=ed64ec39 +4b7690747c49e4e8e910359768e4a77e *./data/a-libav.wav +./data/a-libav.wav CRC=2a09519c +e2a6d6fae17394dfe87cb5bb8ae11837 *./data/a-libav.al +./data/a-libav.al CRC=efdf94c3 +4574d7e2c09e1e13663e61bd2889f12d *./data/a-libav.ul +./data/a-libav.ul CRC=6064b2f8 +7a21ff174e3cca1702e0826c4ca0eccf *./data/a-libav.au +./data/a-libav.au CRC=2a09519c diff --git a/tests/regression.sh b/tests/regression.sh index 6f29894728..e1cd8138f7 100755 --- a/tests/regression.sh +++ b/tests/regression.sh @@ -15,6 +15,8 @@ if [ "$1" = "mpeg4" ] ; then do_mpeg4=y elif [ "$1" = "mpeg" ] ; then do_mpeg=y +elif [ "$1" = "ac3" ] ; then + do_ac3=y elif [ "$1" = "libavtest" ] ; then do_libav=y logfile="$datadir/libav.regression" @@ -252,20 +254,30 @@ file=${outfile}libav.mjpeg do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file do_ffmpeg_crc $file -i $file +# pbmpipe +file=${outfile}libav.pbm +do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f imagepipe $file +do_ffmpeg_crc $file -f imagepipe -i $file + # pgmpipe -file=${outfile}libav.pgmpipe -do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f pgmpipe $file -do_ffmpeg_crc $file -f pgmpipe -i $file +file=${outfile}libav.pgm +do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f imagepipe $file +do_ffmpeg_crc $file -f imagepipe -i $file # ppmpipe -file=${outfile}libav.ppmpipe -do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f ppmpipe $file -do_ffmpeg_crc $file -f ppmpipe -i $file +file=${outfile}libav.ppm +do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f imagepipe $file +do_ffmpeg_crc $file -f imagepipe -i $file # gif file=${outfile}libav.gif -do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f ppmpipe $file -#do_ffmpeg_crc $file -f ppmpipe -i $file +do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file +#do_ffmpeg_crc $file -i $file + +# yuv4mpeg +file=${outfile}libav.yuv4mpeg +do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file +#do_ffmpeg_crc $file -i $file #################### # image formats