aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/tests/drawutils.c
diff options
context:
space:
mode:
authorVignesh Venkatasubramanian <vigneshv-at-google.com@ffmpeg.org>2023-06-26 10:47:09 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2023-07-13 17:25:02 -0400
commit7bcc1b4eb8534fce66e53d0fc2d66a899bbad8a2 (patch)
tree63bc5dee8ed455efd2d9b42f4e864fa5372a57cd /libavfilter/tests/drawutils.c
parenta7b3c0203fc059db13595e0d0935e50979d2f41c (diff)
downloadffmpeg-7bcc1b4eb8534fce66e53d0fc2d66a899bbad8a2.tar.gz
libsvtav1: Add workaround for gop_size == 1
In some versions of libsvtav1, setting intra_period_length to 0 does not produce the intended result (i.e.) all frames produced are not keyframes. Instead handle the gop_size == 1 as a special case by setting the pic_type to EB_AV1_KEY_PICTURE when encoding each frame so that all the output frames are keyframes. SVT-AV1 Bug: https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/2076 Example command: ffmpeg -f lavfi -i testsrc=duration=1:size=64x64:rate=30 -c:v libsvtav1 -g 1 -y test.webm Before: Only first frame is keyframe, rest are intraonly. After: All frames are keyframes. Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavfilter/tests/drawutils.c')
0 files changed, 0 insertions, 0 deletions