Offscreen rendering

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

Offscreen rendering

claudiocordara
Hi all,

I am new to gstreamer,these days we have successfully compiled and installed
all the components to use WPE with gstreamer, our final goal is to get the
streaming data
available offscreen so that they can be used, for example sent online,
instead
of rendered on a graphic window.
However, we have not been able to find a way to achieve this result.
The questions are :

1. Which videosink would I use instead of glimagesink ?
2. How do I fetch the decoded video data ?

Thank You
Claudio Cordara



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Offscreen rendering

Nicolas Dufresne-5
Le vendredi 21 juin 2019 à 08:59 -0500, claudiocordara a écrit :

> Hi all,
>
> I am new to gstreamer,these days we have successfully compiled and installed
> all the components to use WPE with gstreamer, our final goal is to get the
> streaming data
> available offscreen so that they can be used, for example sent online,
> instead
> of rendered on a graphic window.
> However, we have not been able to find a way to achieve this result.
> The questions are :
>
> 1. Which videosink would I use instead of glimagesink ?
> 2. How do I fetch the decoded video data ?
There is tones of possibilities to send data to your app for custom
handling. appsink, fdsink, filesink, udpsink, tcpsink, etc. Though, if
you need to re-stream something to another node in your network, it's
probably better to do so with GStreamer instead of in your app. Be
aware that raw video isn't very suitable for streaming.

>
> Thank You
> Claudio Cordara
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> 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 (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Offscreen rendering

Philippe Normand
In reply to this post by claudiocordara
On Fri, 2019-06-21 at 08:59 -0500, claudiocordara wrote:

> Hi all,
>
> I am new to gstreamer,these days we have successfully compiled and
> installed
> all the components to use WPE with gstreamer, our final goal is to
> get the
> streaming data
> available offscreen so that they can be used, for example sent
> online,
> instead
> of rendered on a graphic window.
> However, we have not been able to find a way to achieve this result.
> The questions are :
>
> 1. Which videosink would I use instead of glimagesink ?

The wpesrc element outputs video frames already uploaded in the GPU. So
if you want stream this you would need to download the frames (with
gldownload), encode them and stream over the network, using RTP for
instance.

> 2. How do I fetch the decoded video data ?
>

It depends on which protocol you use to stream the data of course. If
you choose RTP, you can use udpsrc and decodebin. I think there's also
a source element now in git master for rtp:// URIs.

Philippe


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