Revision ce2e4ae3 tests/lavfi-regression.sh
tests/lavfi-regression.sh | ||
---|---|---|
86 | 86 |
done |
87 | 87 |
fi |
88 | 88 |
|
89 |
if [ -n "$do_lavfi_pixdesc" ]; then |
|
90 |
pix_fmts="$($ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^IO' | cut -d' ' -f2)" |
|
91 |
|
|
92 |
ref_file=tests/ref/lavfi/lavfi_pixdesc |
|
93 |
rm -f $ref_file |
|
94 |
res_file=$logfile |
|
95 |
|
|
96 |
for pix_fmt in $pix_fmts; do |
|
97 |
# print to the reference logfile |
|
98 |
logfile=$ref_file |
|
99 |
do_video_encoding "lavfi_pixdesc-${pix_fmt}.nut" "" \ |
|
100 |
"-vf slicify=random,format=$pix_fmt -vcodec rawvideo -pix_fmt $pix_fmt" |
|
101 |
|
|
102 |
# print to the result logfile |
|
103 |
logfile=$res_file |
|
104 |
do_video_encoding "lavfi_pixdesc-${pix_fmt}.nut" "" \ |
|
105 |
"-vf slicify=random,format=$pix_fmt,pixdesctest -vcodec rawvideo -pix_fmt $pix_fmt" |
|
106 |
done |
|
107 |
fi |
|
108 |
|
|
89 | 109 |
# TODO: add tests for |
90 | 110 |
# direct rendering, |
91 | 111 |
# chains with feedback loops |
Also available in: Unified diff