diff options
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/documentation.html | 1 | ||||
-rw-r--r-- | DOCS/formats.html | 28 | ||||
-rw-r--r-- | DOCS/tech/formats.txt | 6 |
3 files changed, 35 insertions, 0 deletions
diff --git a/DOCS/documentation.html b/DOCS/documentation.html index 9841725706..3a604ffa04 100644 --- a/DOCS/documentation.html +++ b/DOCS/documentation.html @@ -65,6 +65,7 @@ <LI><A HREF="formats.html#ogg">2.1.1.12 OGG/OGM files</A></LI> <LI><A HREF="formats.html#sdp">2.1.1.13 SDP files</A></LI> <LI><A HREF="formats.html#pva">2.1.1.14 PVA files</A></LI> + <LI><A HREF="formats.html#gif">2.1.1.15 GIF files</A></LI> </UL> </LI> <LI><A HREF="formats.html#audio_formats">2.1.2 Audio formats</A> diff --git a/DOCS/formats.html b/DOCS/formats.html index ae3c4d5e82..50cbc20ddc 100644 --- a/DOCS/formats.html +++ b/DOCS/formats.html @@ -233,6 +233,34 @@ <A HREF="http://www.technotrend.de/download/av_format_v1.pdf">http://www.technotrend.de/download/av_format_v1.pdf</A></P> +<H4><A NAME="gif">2.1.1.15 GIF files</A></H4> + +<P>The <B>GIF</B> format is a common format for web graphics. There are two + versions of the GIF spec, GIF87a and GIF89a. The main difference is that + GIF89a allows for animation. MPlayer supports both formats through use + of libungif or another libgif-compatible library. Non-animated GIFs will + be displayed as single frame videos. (Use the <CODE>-loop</CODE> and + <CODE>-fixed-vo</CODE> options to display these longer.)</P> + +<P>MPlayer currently does not support seeking in GIF files. GIF files do + not necessarily have a fixed frame size, nor a fixed framerate. Rather, + each frame is of independant size and is supposed to be positioned in a + certain place on a field of fixed-size. The framerate is controlled by + an optional block before each frame that specifies a next frame's delay + in centiseconds.</P> + +<P>Standard GIF files contain 24-bit RGB frames with at most an 8-bit + indexed pallete. These frames are usually LZW-compressed, although + some GIF encoders produce uncompressed frames to avoid patent issues + with LZW compression.</P> + +<P>Though many common Linux distributions come with libungif, you can + download a copy from the following address: + <A HREF="http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml">http://prtr-13.ucsc.edu/~badger/software/libungif/index.shtml</A></P> + +<P>The GIF specification can be downloaded from the following address: + <A HREF="http://www.w3.org/Graphics/GIF/spec-gif89a.txt">http://www.w3.org/Graphics/GIF/spec-gif89a.txt</A></P> + <H3><A NAME="audio_formats">2.1.2 Audio formats</A></H3> <P>MPlayer is a <B>Movie</B> and not a <B>Media</B> player, although diff --git a/DOCS/tech/formats.txt b/DOCS/tech/formats.txt index 8b80c672b4..11419b291d 100644 --- a/DOCS/tech/formats.txt +++ b/DOCS/tech/formats.txt @@ -152,3 +152,9 @@ Note, that similarity of real and asf has some background - they worked together on the (never finished/used) ASF v2 spec for some time. + + - GIF files: + The GIF format is a common format for web graphics that supports + animation. These are read through libungif or compatible library. + Variable frame delays are supported, but seeking is not supported. + Seeking will be supported once an index of gif frames can be built. |