aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lavf-regression.sh
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-02 21:59:02 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-02 21:59:02 +0000
commit1dd9ff871a746683733e2eac4153389e1500ec73 (patch)
tree719a0594bde0d90b09b7b4258394a297b0535479 /tests/lavf-regression.sh
parent801b571e33eed5aefac708cc361005448bf8387d (diff)
downloadffmpeg-1dd9ff871a746683733e2eac4153389e1500ec73.tar.gz
Place regtest-pixfmt output files in separate dir
This test generates many output files, and keeping them separate is convenient. Originally committed as revision 22157 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests/lavf-regression.sh')
-rwxr-xr-xtests/lavf-regression.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh
index a23a58fc1d..3f4a677bb3 100755
--- a/tests/lavf-regression.sh
+++ b/tests/lavf-regression.sh
@@ -207,11 +207,13 @@ fi
# pix_fmt conversions
if [ -n "$do_pixfmt" ] ; then
+outfile="$datadir/pixfmt/"
+mkdir -p "$outfile"
conversions="yuv420p yuv422p yuv444p yuyv422 yuv410p yuv411p yuvj420p \
yuvj422p yuvj444p rgb24 bgr24 rgb32 rgb565 rgb555 gray monow \
monob yuv440p yuvj440p"
for pix_fmt in $conversions ; do
- file=${outfile}lavf-${pix_fmt}.yuv
+ file=${outfile}${pix_fmt}.yuv
do_ffmpeg_nocheck $file -r 1 -t 1 -f image2 -vcodec pgmyuv -i $raw_src \
-f rawvideo -s 352x288 -pix_fmt $pix_fmt $target_path/$raw_dst
do_ffmpeg $file -f rawvideo -s 352x288 -pix_fmt $pix_fmt -i $target_path/$raw_dst \