Draw same video on multiple windows.

Sebastian Dröge sebastian at centricular.com
Sun Jan 12 01:23:29 PST 2014


On So, 2014-01-12 at 05:28 -0200, Pedro Lacerda wrote:
> I'm building an application that enable user manage RTP streams and change
> their destinations interactively, for visual feedback I want the same video
> be displayed on multiple windows.
> 
> Ideally I simply watch for 'prepare-window-handle' events and
> set_window_handle() for multiple handlers but seems that each video sink
> can only draw to one window. My workaround is link a tee to multiple
> autovideosink/xvimagesink elements.
> 
> Certainly you can provide better solutions, which they are?

The only other solution I see here is to implement a custom multi-window
sink that uses a specific video rendering API. And then ideally does not
e.g. require uploading the frames multiple times to the GPU but only
once for all windows together.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140112/5f3d0ec2/attachment.pgp>


More information about the gstreamer-devel mailing list