[MPlayer-dev-eng] [PATCH] gif demux & decode support

Arpi arpi at thot.banki.hu
Tue Jan 7 00:09:40 CET 2003


Hi,

>   - what fields in demuxer_t should be set to what during demux_open
NOTHING!

you have to add your sterams (1 video only i guess) by calling
new_sh_video(demuxer, stream id), and then fill THAT struct returned by this
func.

you'd better checking some other demuxer's source, i suggest you the fli
one, it's somewhere close to the gif.

>   - how to handle that GIFs are not constant framerate

just fill pts values when adding new packets to the queue, and add a case
into video.c that handle your demuxer as pts-based variable fps.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu


More information about the MPlayer-dev-eng mailing list