Problem with GstDiscoverer on a PNG file

Mathieu Duponchelle mathieu at centricular.com
Wed Jan 23 22:30:18 UTC 2019


On 1/23/19 11:05 PM, David Ing wrote:
> When I run the GstDiscoverer on a PNG image file I get GST_DISCOVERER_ERROR.
>
> So basically I can't create a GESUriClipAsset from a PNG file because discovery is failing.
>
> Questions ...
>
>  1. Is discovery supposed to fail for image files?
>

No, do you have a png decoder available (pngdec)?

>  1. What is the best way to create a GESClip which displays a PNG image for a period of time?
>

GESClip() will create a GESImageSource internally, so that's the correct way,
just use set_duration() as usual :)

>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-- 
Mathieu Duponchelle ยท https://www.centricular.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190123/085272ad/attachment.html>


More information about the gstreamer-devel mailing list