[Spice-devel] Video streaming problem

Victor Toso lists at victortoso.com
Fri Mar 10 17:35:57 UTC 2017


Hi,

On Fri, Mar 10, 2017 at 08:24:24PM +0800, Jayce Wong wrote:
> Hi guys,
>
> I have built and installed the newest version of spice-server, spice-gtk,
> and spice-protocol (*Fri Mar 10 07:00:00 UTC 2017*). When I set
> "SPICE_DEBUG_LEVEL=5", and add "--spice-debug" when start spicy, and then I
> found that the SPICE is using glz-decoder even when I change
> prefer-video-codecs to vp9.

Maybe you don't have vp8/vp9 decoders? You can check with
gst-inspect-1.0 | grep -i vp8

> So I wonder how to know which video codecs is using by SPICE?

If you have the following patches [0] applied in spice-gtk, you
should get the 'streaming=something' in spicy. It is useful for testing.

[0] https://lists.freedesktop.org/archives/spice-devel/2017-March/036202.html

Without this patches, I only pay attention to which decoder is being
used (gstvideo => vp8, vp9, h264 or mjepg for mjpeg stream)

> Besides, when I set Qemu command "streaming-video=filter", there will be
> many white lines on the screen of guest OS. After searching on google, I
> found that the default value of "streaming-video" is off.

Having streaming-video=all/filter is necessary to make spice-server
stream.

> If "streaming-video" is turned to off, will SPICE still detect the screen
> of guest OS and send stream to client?

No.

> Thanks for answering and sorry for my English.

Cheers,
        toso
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170310/77d021ea/attachment.sig>


More information about the Spice-devel mailing list