stream decoding using gstreamer

Submitted by Snir Sheriber on Dec. 31, 2017, 3:46 p.m.

Details

Reviewer None
Submitted Dec. 31, 2017, 3:46 p.m.
Last Updated Dec. 31, 2017, 3:46 p.m.
Revision 1

Cover Letter(s)

Revision 1
      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(-)
    

Revisions