[Spice-devel] [PATCH spice-gtk 0/2] stream decoding using gstreamer

Snir Sheriber ssheribe at redhat.com
Sun Dec 31 15:46:23 UTC 2017


spice gstreamer decoder decodes streams using the gstreamer framework.,
In order to do that it uses pipeline of gst elements that is being built
automatically by the playbin element.

Currently the basic image drawing in spice-client is done in-memory
and using BGRA raw images, so the pipeline playbin builds is directed to an
appsrc element with caps that requires these (video/x-raw,format=BGRx).
HW decoders (wrapped as gstreamer elements) are not always support such
output and for this reason sometimes more complex pipeline is needed,
the thing is playbin will usually fail to build complex pipelines even
when all the required elements are available.
Adding color space conversion element and gl conversion element to the
pipeline's sink should make playbin be able to use decoders that their
output is in glmemory and\or different color format.
(This should not cause an overhead when these elements are not in use but
still need to check that :p)



Snir Sheriber (2):
  gstreamer: use custom playbin sink
  Let user rank gstreamer element

 src/channel-display-gst.c | 55 ++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 47 insertions(+), 8 deletions(-)

-- 
2.9.5



More information about the Spice-devel mailing list