[Spice-devel] [PATCH spice-gtk 1/2] gstreamer: use custom playbin sink

Christophe Fergeau cfergeau at redhat.com
Thu Jan 4 09:26:40 UTC 2018


On Sun, Dec 31, 2017 at 05:46:24PM +0200, Snir Sheriber wrote:
> Use custom playbin sink instead of just appsink.
> In order to allow playbin to choose decoders that requires
> more complex pipelines (e.g. pipeline that requires color
> space conversion & uses gl memory).

What is gstreamer take on that? Are these playbin limitations something
we have to live with? Are they considered bugs which might be fixed in
future versions?

> The new sink composed as such:
> ... ! autovideoconvert ! gldownload ! appsink

Is autovideoconvert just a passthrough in the non-hardware accelerated
scenario? Or is this going to add some additional processing of the
data?
I think appsink is needed so that the decoded stream can be used with
the canvas. Do you expect situations where we are going to hardware
decode some stream, and then do some compositing using the canvas? Or
are the streams we want to hardware decode always going to correspond to
the full display, with no composition to do? In the latter case, I would
say that we don't even want to use appsink, but just use glsink or
whatever is appropriate.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20180104/cbf6aa34/attachment.sig>


More information about the Spice-devel mailing list