3 # automatic regression test for ffmpeg
7 # Even in the 21st century some diffs are not supporting -u.
8 diff -u "$0" "$0" > /dev/null 2>&1
15 diff -w "$0" "$0" > /dev/null 2>&1
17 diff_cmd="$diff_cmd -w"
24 logfile="$datadir/ffmpeg.regression"
28 if [ "$1" = "mpeg4" ] ; then
30 elif [ "$1" = "mpeg" ] ; then
33 elif [ "$1" = "ac3" ] ; then
35 elif [ "$1" = "huffyuv" ] ; then
37 elif [ "$1" = "mpeg2thread" ] ; then
39 elif [ "$1" = "snow" ] ; then
41 elif [ "$1" = "libavtest" ] ; then
43 logfile="$datadir/libav.regression"
86 tiny_psnr="./tiny_psnr"
88 benchfile="$datadir/ffmpeg.bench"
90 raw_dst="$datadir/out.yuv"
91 raw_ref="$datadir/ref.yuv"
93 pcm_dst="$datadir/out.wav"
94 pcm_ref="$datadir/ref.wav"
95 if [ X"`echo | md5sum 2> /dev/null`" != X ]; then
96 do_md5sum() { md5sum -b $1; }
97 elif [ -x /sbin/md5 ]; then
98 do_md5sum() { /sbin/md5 -r $1 | sed 's# \**\./# *./#'; }
100 do_md5sum() { echo No md5sum program found; }
103 # create the data directory if it does not exists
110 echo $ffmpeg -y -flags +BITEXACT -dct FASTINT -idct SIMPLE $*
111 $ffmpeg -y -flags +BITEXACT -dct FASTINT -idct SIMPLE -benchmark $* > $datadir/bench.tmp 2> /tmp/ffmpeg$$
112 egrep -v "^(Stream|Press|Input|Output|frame| Stream| Duration|video:)" /tmp/ffmpeg$$ || true
114 do_md5sum $f >> $logfile
115 if [ $f = $raw_dst ] ; then
116 $tiny_psnr $f $raw_ref >> $logfile
117 elif [ $f = $pcm_dst ] ; then
118 $tiny_psnr $f $pcm_ref 2 >> $logfile
122 expr "`cat $datadir/bench.tmp`" : '.*utime=\(.*s\)' > $datadir/bench2.tmp
123 echo `cat $datadir/bench2.tmp` $f >> $benchfile
130 echo $ffmpeg -y -flags +BITEXACT -dct FASTINT -idct SIMPLE $* -f crc $datadir/ffmpeg.crc
131 $ffmpeg -y -flags +BITEXACT -dct FASTINT -idct SIMPLE $* -f crc $datadir/ffmpeg.crc > /tmp/ffmpeg$$ 2>&1
132 egrep -v "^(Stream|Press|Input|Output|frame| Stream| Duration|video:|ffmpeg version| configuration| built)" /tmp/ffmpeg$$ || true
134 echo "$f `cat $datadir/ffmpeg.crc`" >> $logfile
141 echo $ffmpeg -y -flags +BITEXACT -dct FASTINT -idct SIMPLE $*
142 $ffmpeg -y -flags +BITEXACT -dct FASTINT -idct SIMPLE -benchmark $* > $datadir/bench.tmp 2> /tmp/ffmpeg$$
143 egrep -v "^(Stream|Press|Input|Output|frame| Stream| Duration|video:)" /tmp/ffmpeg$$ || true
145 expr "`cat $datadir/bench.tmp`" : '.*utime=\(.*s\)' > $datadir/bench2.tmp
146 echo `cat $datadir/bench2.tmp` $f >> $benchfile
149 echo "ffmpeg regression test" > $logfile
150 echo "ffmpeg benchmarks" > $benchfile
152 ###################################
153 # generate reference for quality check
154 do_ffmpeg_nocheck $raw_ref -y -f pgmyuv -i $raw_src -an -f rawvideo $raw_ref
155 do_ffmpeg_nocheck $pcm_ref -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -f wav $pcm_ref
157 ###################################
158 if [ -n "$do_mpeg" ] ; then
160 file=${outfile}mpeg1.mpg
161 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -f mpeg1video $file
164 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
167 ###################################
168 if [ -n "$do_mpeg2" ] ; then
170 file=${outfile}mpeg2.mpg
171 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video $file
174 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
177 file=${outfile}mpeg2.mpg
178 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -idct INT -dct INT -f mpeg1video $file
181 do_ffmpeg $raw_dst -y -idct INT -i $file -f rawvideo $raw_dst
183 # mpeg2 encoding interlaced
184 file=${outfile}mpeg2i.mpg
185 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video -flags +ILDCT+ILME $file
188 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
191 ###################################
192 if [ -n "$do_mpeg2thread" ] ; then
193 # mpeg2 encoding interlaced
194 file=${outfile}mpeg2thread.mpg
195 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec mpeg2video -f mpeg1video -bf 2 -flags +ILDCT+ILME -threads 2 $file
198 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
200 # mpeg2 encoding interlaced
201 file=${outfile}mpeg2reuse.mpg
202 do_ffmpeg $file -y -sameq -me_threshold 256 -mb_threshold 1024 -i ${outfile}mpeg2thread.mpg -vcodec mpeg2video -f mpeg1video -bf 2 -flags +ILDCT+ILME -threads 4 $file
205 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
208 ###################################
209 if [ -n "$do_msmpeg4v2" ] ; then
211 file=${outfile}msmpeg4v2.avi
212 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec msmpeg4v2 $file
215 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
218 ###################################
219 if [ -n "$do_msmpeg4" ] ; then
221 file=${outfile}msmpeg4.avi
222 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec msmpeg4 $file
225 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
228 ###################################
229 if [ -n "$do_wmv1" ] ; then
231 file=${outfile}wmv1.avi
232 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec wmv1 $file
235 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
238 ###################################
239 if [ -n "$do_wmv2" ] ; then
241 file=${outfile}wmv2.avi
242 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec wmv2 $file
245 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
248 ###################################
249 if [ -n "$do_h261" ] ; then
251 file=${outfile}h261.avi
252 do_ffmpeg $file -y -qscale 11 -f pgmyuv -i $raw_src -s 352x288 -an -vcodec h261 $file
255 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
258 ###################################
259 if [ -n "$do_h263" ] ; then
261 file=${outfile}h263.avi
262 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -s 352x288 -an -vcodec h263 $file
265 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
268 ###################################
269 if [ -n "$do_h263p" ] ; then
271 file=${outfile}h263p.avi
272 do_ffmpeg $file -y -qscale 2 -flags +UMV+AIV+AIC -f pgmyuv -i $raw_src -s 352x288 -an -vcodec h263p -ps 300 $file
275 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
278 ###################################
279 if [ -n "$do_mpeg4" ] ; then
281 file=${outfile}odivx.mp4
282 do_ffmpeg $file -y -flags +MV4 -hq -qscale 10 -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file
285 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
288 ###################################
289 if [ -n "$do_huffyuv" ] ; then
291 file=${outfile}huffyuv.avi
292 do_ffmpeg $file -y -f pgmyuv -i $raw_src -an -vcodec huffyuv -pix_fmt yuv422p $file
295 do_ffmpeg $raw_dst -y -i $file -f rawvideo -strict -2 -pix_fmt yuv420p $raw_dst
298 ###################################
299 if [ -n "$do_rc" ] ; then
301 file=${outfile}mpeg4-rc.avi
302 do_ffmpeg $file -y -b 400 -bf 2 -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file
304 # mpeg4 rate control decoding
305 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
308 ###################################
309 if [ -n "$do_mpeg4adv" ] ; then
311 file=${outfile}mpeg4-adv.avi
312 do_ffmpeg $file -y -qscale 9 -flags +MV4+PART+AIC+TRELL -hq -ps 200 -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file
315 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
318 ###################################
319 if [ -n "$do_mpeg4thread" ] ; then
321 file=${outfile}mpeg4-thread.avi
322 do_ffmpeg $file -y -b 500 -flags +MV4+PART+AIC+TRELL -hq -ps 200 -bf 2 -f pgmyuv -i $raw_src -an -vcodec mpeg4 -threads 2 $file
325 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
328 ###################################
329 if [ -n "$do_mpeg4adv" ] ; then
331 file=${outfile}mpeg4-Q.avi
332 do_ffmpeg $file -y -qscale 7 -flags +MV4+QPEL -mbd 2 -bf 2 -cmp 1 -subcmp 2 -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file
335 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
338 ###################################
339 if [ -n "$do_error" ] ; then
341 file=${outfile}error-mpeg4-adv.avi
342 do_ffmpeg $file -y -qscale 7 -flags +MV4+PART+AIC -mbd 2 -ps 250 -error 10 -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file
344 # damaged mpeg4 decoding
345 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
348 ###################################
349 if [ -n "$do_mpeg4nr" ] ; then
351 file=${outfile}mpeg4-nr.avi
352 do_ffmpeg $file -y -qscale 8 -flags +MV4 -mbd 2 -nr 200 -f pgmyuv -i $raw_src -an -vcodec mpeg4 $file
355 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
358 ###################################
359 if [ -n "$do_mpeg1b" ] ; then
361 file=${outfile}mpeg1b.mpg
362 do_ffmpeg $file -y -qscale 8 -bf 3 -ps 200 -f pgmyuv -i $raw_src -an -vcodec mpeg1video -f mpeg1video $file
365 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
368 ###################################
369 if [ -n "$do_mjpeg" ] ; then
371 file=${outfile}mjpeg.avi
372 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec mjpeg -pix_fmt yuvj420p $file
375 do_ffmpeg $raw_dst -y -i $file -f rawvideo -pix_fmt yuv420p $raw_dst
378 ###################################
379 if [ -n "$do_ljpeg" ] ; then
381 file=${outfile}ljpeg.avi
382 do_ffmpeg $file -y -f pgmyuv -i $raw_src -an -vcodec ljpeg -strict -1 $file
385 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
388 ###################################
389 if [ -n "$do_rv10" ] ; then
391 file=${outfile}rv10.rm
392 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an $file
395 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
398 ###################################
399 if [ -n "$do_rv20" ] ; then
401 file=${outfile}rv20.rm
402 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -vcodec rv20 -an $file
405 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
408 ###################################
409 if [ -n "$do_asv1" ] ; then
411 file=${outfile}asv1.avi
412 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec asv1 $file
415 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
418 ###################################
419 if [ -n "$do_asv2" ] ; then
421 file=${outfile}asv2.avi
422 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec asv2 $file
425 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
428 ###################################
429 if [ -n "$do_flv" ] ; then
431 file=${outfile}flv.flv
432 do_ffmpeg $file -y -qscale 10 -f pgmyuv -i $raw_src -an -vcodec flv $file
435 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
438 ###################################
439 if [ -n "$do_ffv1" ] ; then
441 file=${outfile}ffv1.avi
442 do_ffmpeg $file -y -strict -2 -f pgmyuv -i $raw_src -an -vcodec ffv1 $file
445 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
448 ###################################
449 if [ -n "$do_snow" ] ; then
451 file=${outfile}snow.avi
452 do_ffmpeg $file -y -strict -2 -f pgmyuv -i $raw_src -an -vcodec snow -qscale 2 $file
455 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
458 file=${outfile}snow53.avi
459 do_ffmpeg $file -y -strict -2 -f pgmyuv -i $raw_src -an -vcodec snow -pred 1 -flags +MV4+QPEL $file
462 do_ffmpeg $raw_dst -y -i $file -f rawvideo $raw_dst
465 ###################################
466 if [ -n "$do_dv" ] ; then
469 do_ffmpeg $file -dct INT -y -f pgmyuv -i $raw_src -s pal -an $file
472 do_ffmpeg $raw_dst -y -i $file -f rawvideo -s cif $raw_dst
475 ###################################
476 if [ -n "$do_svq1" ] ; then
478 file=${outfile}svq1.mov
479 do_ffmpeg $file -y -f pgmyuv -i $raw_src -an -vcodec svq1 -qscale 3 -pix_fmt yuv410p $file
482 do_ffmpeg $raw_dst -y -i $file -f rawvideo -pix_fmt yuv420p $raw_dst
485 ###################################
486 if [ -n "$do_mp2" ] ; then
488 file=${outfile}mp2.mp2
489 do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src $file
492 do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
493 $tiny_psnr $pcm_dst $pcm_ref 2 1924 >> $logfile
496 ###################################
497 if [ -n "$do_ac3" ] ; then
499 file=${outfile}ac3.rm
500 do_ffmpeg $file -y -ab 128 -ac 2 -f s16le -i $pcm_src -vn $file
503 #do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
506 ###################################
507 if [ -n "$do_g726" ] ; then
509 file=${outfile}g726.wav
510 do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -ab 32 -ac 1 -ar 8000 -acodec g726 $file
513 do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
516 ###################################
517 if [ -n "$do_adpcm_ima_wav" ] ; then
519 file=${outfile}adpcm_ima.wav
520 do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -acodec adpcm_ima_wav $file
523 do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
526 ###################################
527 if [ -n "$do_adpcm_ms" ] ; then
529 file=${outfile}adpcm_ms.wav
530 do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -acodec adpcm_ms $file
533 do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
536 ###################################
537 if [ -n "$do_adpcm_yam" ] ; then
539 file=${outfile}adpcm_yam.wav
540 do_ffmpeg $file -y -ab 128 -ac 2 -ar 44100 -f s16le -i $pcm_src -acodec adpcm_yamaha $file
543 do_ffmpeg $pcm_dst -y -i $file -f wav $pcm_dst
546 ###################################
548 ###################################
550 if [ -n "$do_libav" ] ; then
553 file=${outfile}libav.avi
554 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
555 do_ffmpeg_crc $file -i $file
558 file=${outfile}libav.asf
559 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src -acodec mp2 $file
560 do_ffmpeg_crc $file -i $file -r 25
563 file=${outfile}libav.rm
564 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
566 #do_ffmpeg_crc $file -i $file
569 file=${outfile}libav.mpg
570 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
571 do_ffmpeg_crc $file -i $file
574 file=${outfile}libav.ts
575 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
576 do_ffmpeg_crc $file -i $file
578 # swf (decode audio only)
579 file=${outfile}libav.swf
580 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src -acodec mp2 $file
581 do_ffmpeg_crc $file -i $file
584 file=${outfile}libav.ffm
585 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src $file
586 do_ffmpeg_crc $file -i $file
589 file=${outfile}libav.flv
590 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src -an $file
591 do_ffmpeg_crc $file -i $file
594 file=${outfile}libav.mov
595 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src -acodec pcm_alaw $file
596 do_ffmpeg_crc $file -i $file
599 file=${outfile}libav.nut
600 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src -acodec mp2 $file
601 do_ffmpeg_crc $file -i $file
604 file=${outfile}libav.dv
605 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f s16le -i $pcm_src -ar 48000 -r 25 -s pal -ac 2 $file
606 do_ffmpeg_crc $file -i $file
611 #file=${outfile}libav.mjpeg
612 #do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file
613 #do_ffmpeg_crc $file -i $file
616 file=${outfile}libav.pbm
617 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file
618 do_ffmpeg_crc $file -f image2pipe -i $file
621 file=${outfile}libav.pgm
622 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file
623 do_ffmpeg_crc $file -f image2pipe -i $file
626 file=${outfile}libav.ppm
627 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src -f image2pipe $file
628 do_ffmpeg_crc $file -f image2pipe -i $file
631 file=${outfile}libav.gif
632 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file
633 #do_ffmpeg_crc $file -i $file
636 file=${outfile}libav.y4m
637 do_ffmpeg $file -t 1 -y -qscale 10 -f pgmyuv -i $raw_src $file
638 #do_ffmpeg_crc $file -i $file
642 # pgm (we do not do md5 on image files yet)
643 file=${outfile}libav%d.pgm
644 $ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $file
645 do_ffmpeg_crc $file -i $file
647 # ppm (we do not do md5 on image files yet)
648 file=${outfile}libav%d.ppm
649 $ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src $file
650 do_ffmpeg_crc $file -i $file
652 # jpeg (we do not do md5 on image files yet)
653 file=${outfile}libav%d.jpg
654 $ffmpeg -t 0.5 -y -qscale 10 -f pgmyuv -i $raw_src -flags +BITEXACT -dct FASTINT -idct SIMPLE -pix_fmt yuvj420p -f image2 $file
655 do_ffmpeg_crc $file -f image2 -i $file
661 file=${outfile}libav.wav
662 do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file
663 do_ffmpeg_crc $file -i $file
666 file=${outfile}libav.al
667 do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file
668 do_ffmpeg_crc $file -i $file
671 file=${outfile}libav.ul
672 do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file
673 do_ffmpeg_crc $file -i $file
676 file=${outfile}libav.au
677 do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file
678 do_ffmpeg_crc $file -i $file
681 file=${outfile}libav.mmf
682 do_ffmpeg $file -t 1 -y -qscale 10 -f s16le -i $pcm_src $file
683 do_ffmpeg_crc $file -i $file
686 # pix_fmt conversions
687 conversions="yuv420p yuv422p yuv444p yuv422 yuv410p yuv411p yuvj420p \
688 yuvj422p yuvj444p rgb24 bgr24 rgba32 rgb565 rgb555 gray monow \
690 for pix_fmt in $conversions ; do
691 file=${outfile}libav-${pix_fmt}.yuv
692 do_ffmpeg_nocheck $file -r 1 -t 1 -y -f pgmyuv -i $raw_src \
693 -f rawvideo -s 352x288 -pix_fmt $pix_fmt $raw_dst
694 do_ffmpeg $file -f rawvideo -s 352x288 -pix_fmt $pix_fmt -i $raw_dst \
695 -f rawvideo -s 352x288 -pix_fmt yuv444p $file
702 if $diff_cmd "$logfile" "$reffile" ; then
704 echo Regression test succeeded.
708 echo Regression test: Error.