diff options
author | Vitaliy E Sugrobov <vsugrob@hotmail.com> | 2012-11-30 12:58:56 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-11-30 14:33:58 +0000 |
commit | 5603b2bf6e00f0f7d96448535f9fe6c293308225 (patch) | |
tree | a918f9ad9f4fc8521af65df57c0410e7253c7ffc /libavformat/img2dec.c | |
parent | 005cb97e3e710a5266cbcad47b1c5060933646bd (diff) | |
download | ffmpeg-streaming-5603b2bf6e00f0f7d96448535f9fe6c293308225.zip ffmpeg-streaming-5603b2bf6e00f0f7d96448535f9fe6c293308225.tar.gz |
Gif demuxer
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: Vitaliy E Sugrobov <vsugrob@hotmail.com>
Diffstat (limited to 'libavformat/img2dec.c')
0 files changed, 0 insertions, 0 deletions