• Vitaliy E Sugrobov's avatar
    Gif demuxer · 5603b2bf
    Vitaliy E Sugrobov authored
    Gif demuxer is capable of extracting multiple frames from gif file.
    In conjunction with gif decoder it implements support for reading
    animated gifs.
    Demuxer has two options available to user: default_delay and min_delay.
    These options are for protection from too rapid gif animations. In practice
    it is standard approach to slow down rendering of this kind of gifs. If you try to
    play gif with delay between frames of one hundredth of second (100fps) using
    one of major web browsers, you get significantly slower playback,
    around 10 fps. This is because browser detects that delay value is less than some
    threshold (usually 2 hundredths of second) and reset it to default value (usually 10
    hundredths of second, which corresponds to 10fps). Manipulating these options user
    can achieve the same effect during conversion to some video format. Otherwise user
    can set them to not protect from rapid animations at all.
    The other case when these options necessary is for gif images encoded according to
    gif87a standard since prior to gif89a there was no delay information included in file.
    Bump lavf minor version.
    Signed-off-by: 's avatarVitaliy E Sugrobov <vsugrob@hotmail.com>
    5603b2bf
allformats.c 11.3 KB