0

作为标题,我使用这个推荐在 Windows 上播放 gif,但它只显示第一帧然后关闭它。

gst-launch-1.0 filesrc location=demo.gif ! gdkpixbufdec ! videoconvert ! autovideosink

我想播放整个 gif 文件,是我忘记设置的一些 gst 元素或参数吗?

4

1 回答 1

0

在 gstreamer 1.14 之后,用户可以使用 libav 库的元素来创建 gif 管道。这是示例推荐。

gst-launch-1.0 filesrc location=demo.gif ! avdemux_gif ! avdec_gif ! autovideosink

于 2018-04-30T06:31:17.090 回答