Detecting whether the effects from the opengl plugin can be used

Matthew Waters ystreet00 at gmail.com
Fri Oct 13 09:25:22 UTC 2017


gltestsrc ! gleffects ! fakesink

or some variant.

Set pipeline to paused.
If no error, then you're 99% ok with using the opengl elements.

Cheers
-Matt

On 13/10/17 19:27, Alexandru Băluț wrote:
> Hi Ian,
>
> What is the simplest pipeline I could create to check this?
>
> Thanks,
> Alex
>
> On 13 October 2017 at 09:58, Ian Davidson <id012c3076 at blueyonder.co.uk
> <mailto:id012c3076 at blueyonder.co.uk>> wrote:
>
>     Hi Alex,
>
>     Could you try to link opengl into your pipeline and see if you
>     were successful?
>
>     Ian
>
>
>
>     On 12/10/2017 21:51, Alexandru Băluț wrote:
>
>         In Pitivi we'd like to hide the GL effects when the system has
>         no GL component. A quick inspection (gst-inspect-1.0 | grep -i
>         gl) shows these effects are provided by the "opengl" plugin,
>         so for now we only care about the "opengl" plugin from
>         gst-plugins-bad.
>
>         How can we programmatically figure out beforehand whether
>         these effects can be used?
>
>         Thanks,
>         Alex
>
>
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171013/15957356/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 516 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20171013/15957356/attachment.sig>


More information about the gstreamer-devel mailing list