video sink by window ID
Matthew Waters
ystreet00 at gmail.com
Fri May 22 13:38:12 UTC 2020
Yes, this is possible, but only if you write code by using the
GstVideoOverlay interface.
On X11, the Window is passed to the gst_video_overlay_set_window_handle().
Of course, if there is a specific video sink for your toolkit
integration, you should try using that first though.
Cheers
-Matt
On 22/5/20 10:09 pm, Peter Maersk-Moller wrote:
> Hi
>
> Is there a way to make a gstreamer video sink display video in another
> application using the X11 Window id as identifier pretty much the same
> way mplayer is using its '-wid' parameter to send video to another
> applications window/frame like a Tk frame. I think SDL can do it too,
> but probably only on X11 platforms.
>
> And can it be made to work with CLI version of gst-launch-1.0 ?
>
> I have checked the ximagesink, the xvimagesink and the glimagesink,
> but they do not have a window id parameter.
>
> Google search on subject for GStreamer, but maybe I am looking for the
> wrong keywords.
>
> Thanks in advance.
>
> Peter Maersk-Moller
>
> _______________________________________________
> 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/20200522/418aeb59/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200522/418aeb59/attachment.sig>
More information about the gstreamer-devel
mailing list