Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 564 Bytes

67.md

File metadata and controls

21 lines (14 loc) · 564 Bytes

FFV1-SLICE-error_status

Name

error_status validity.

Definition

This test checks if the FFV1 error_status is valid; for version 3, valid error_status values are 0 to 2.

Reproducibility

Get FFmpeg source code, configure it, then:

mv libavcodec/ffv1enc.c ffv1enc.c
sed -e 's/buf_p\[bytes++] = 0;/buf_p\[bytes++] = 9;/g' ffv1enc.c > libavcodec/ffv1enc.c
make
mv ffv1enc.c libavcodec/ffv1enc.c
./ffmpeg -f lavfi -i "color=c=black:size=2x2" -vframes 1 -pix_fmt gray8 -write_crc32 0 -c:v ffv1 -level 3 -slices 1 FFV1-SLICE-error_status_v3.mkv