Using Gstreamer to stream openGL framebuffer

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

Using Gstreamer to stream openGL framebuffer

Arvin6
I'm almost every example, the source for the feed is either a file or a device. I'm writing a screen casting app that needs to cast the screen over tcp/http to the client. I wanted to use GStreamer for this purpose but couldn't quite find out how. I've also heard about Qt wrappers for Gstreamer.

What do I use in place of filesrc or ximagesrc? I couldn't find an example where raw data from volatile memory (openGL framebuffer) is used to stream a video over tcp / http?

I'd be grateful to get any valuable advise from anyone.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using Gstreamer to stream openGL framebuffer

Michael MacIntosh
If you actually have frames from some other source you could use the
appsrc element to push your openGL buffers into your pipeline that would
stream it to some source.  But you would probably need to timestamp your
buffers as you push them into the pipeline. There are also a few
examples on how to use appsrc / appsink in the repo (they are very useful).

Cheers,
Michael.


On 7/31/2017 8:52 AM, Arvin6 wrote:

> I'm almost every example, the source for the feed is either a file or a
> device. I'm writing a screen casting app that needs to cast the screen over
> tcp/http to the client. I wanted to use GStreamer for this purpose but
> couldn't quite find out how. I've also heard about Qt wrappers for
> Gstreamer.
>
> What do I use in place of filesrc or ximagesrc? I couldn't find an example
> where raw data from volatile memory (openGL framebuffer) is used to stream a
> video over tcp / http?
>
> I'd be grateful to get any valuable advise from anyone.
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Using-Gstreamer-to-stream-openGL-framebuffer-tp4684033.html
> Sent from the GStreamer-devel mailing list archive at 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
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Using Gstreamer to stream openGL framebuffer

Arvin6
Thank you so much. I'll look into it.
Loading...