gif playback pipeline

Jesper Jensen via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <[email protected]>
Hey,

Does anyone have a working gif decoding pipeline? I've been trying to get one
working, but I'm having a hard time getting gstreamer to accuratly decode and
play the entire gif. It seems to get stuck halfway through every time, and
fiddling with it only gets it to go a little futher.

I'm using the libav based gif decoder, and I've tested that the gif itself works
fine in ffmpeg. In fact it looks to work fine in libav in gstreamer as well,
with all my issues coming from QoS.

The basic pipeline is:
gst-launch-1.0 filesrc location=<file> ! avdemux_gif ! avdec_gif ! videoconvert ! autovideosink
This gets me 1 frame of decoded output with the rest dropped for QoS (the debug
log reveals this).

If I add videorate and switch to glimagesink with qos disabled, I can get it to
decode everything but the last frame:
gst-launch-1.0 filesrc location=<file> ! avdemux_gif ! avdec_gif ! videoconvert ! videorate ! glimagesink qos=false
This seems to be the best I can get gstreamer to do, but I'm also pretty new to
this whole thing. Has anybody been able to do better? I'm especially interested
in doing better with playbin (which seems particularly useless for gif decoding).

Regards,

-- 
Jesper Jensen
PGP Fingerprint: DC1E 2882 4A1B 9821 B7E4  3D3D F1FB F142 B815 2A85
http://keybase.io/delusional
Damstræde 90
9220 Aalborg Øst
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCgAdFiEE1JD0iYhb+nokN+hDxPu2kw/kV9YFAmSjMAcACgkQxPu2kw/k
V9anzggAoDl+DEQRrhihWoS2oS3mAjt4Id1sGZv/z1wGS12DByMt3KeoFloP43ja
pbQWmg0NIlhnrRwMfI5QZDe7r3wSSHk8xWvtM72BQiLprxPB8OgpdA4vQ2Fhfpfd
Sl3eIeucUOYipQSzRMMrydPwjv/2ddbgI3HY7BtqWlaZsBq/RagPjBBcA6Hsk12u
t8Xz3YSD29sHDFMBtGrLLjAiB6DejrCky9GDYC0lvLPPSx7RzOdykjG8qs0P4FSS
1SCaZPFehuugzvUjJXwX1a//rQ/D8vRlg9r92+3MRS5tbBmP9UhK81PTop/lW5zz
JztJ/Ob42iJn/IC62gqRgm20CPEEkQ==
=qq23
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.