Detecting whether the effects from the opengl plugin can be used

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Detecting whether the effects from the opengl plugin can be used

Alexandru Băluț
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Detecting whether the effects from the opengl plugin can be used

Ian Davidson
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Detecting whether the effects from the opengl plugin can be used

Alexandru Băluț
Hi Ian,

What is the simplest pipeline I could create to check this?

Thanks,
Alex

On 13 October 2017 at 09:58, Ian Davidson <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Detecting whether the effects from the opengl plugin can be used

Matthew Waters
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 <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (527 bytes) Download Attachment