Il 01/09/2015 11:00, Francois Gouget ha scritto: > On Mon, 31 Aug 2015, Fabio Fantoni wrote: > [...] >> Is possible add to optionally enable streaming on client request instead >> enable/disable on start only spice-server side? > Spice already supports streaming video using its built-in MJPEG encoder. > That streaming can be disabled/configured using the server-side > StreamingVideo setting. > > This patch series simply makes it possible to widden the supported video > codecs through the use of GStreamer. As such it is completely > independent from the mechanism used to decide whether to stream video or > not. Thus any change to the latter policy should be made as a separate > patch. > > >> Also codec selection based on client parameter I think can be good >> instead check only if is supported. > My take on this is that it's the server which will perform the video > encoding and the codec that's used will have a big impact on server CPU > and on bandwidth use (maybe to a lesser extent). So the server > administrator should have the last say on which codec is best suited to > his server's server CPU/bandwidth capacity. > > That take is probably less relevant outside the context of a virtual > desktop server but in those cases the user running the client probably > also controls the machine running the Spice server so he can still pick > which codec to use. > > I tried latest gstreamer patches and seems difficult understand if really use gstreamer, is yes you did a good work the graphic quality and performance seems same/similar of without streaming. In attachment a qemu log of latest test with SPICE_DEBUG_LEVEL=9. Settings are streaming-video=all and with gstreamer using vp8 codec. From the log lines below I wonder if I'm really using gstremer and only it. Am I? I have noticed in the logs lines like the one below and I don't understand if glz involved instead of streaming: (/usr/sbin/xl:11883): SpiceWorker-Debug **: red_worker.c:11538:handle_dev_oom: OOM2 #draw=6, #red_draw=283, #glz_draw=278 current 6 pipes 0 It seems to me that there is streaming-video=filter beaviour instead of streaming-video=all or I not understand the debug lines? Another strange thing is many gstreamer bandwidth report very low rate: (/usr/sbin/xl:11883): Spice-Debug **: gstreamer_encoder.c:1336:gst_encoder_client_stream_report: client report: 0/5 drops in 270ms margins video 400/400 audio 4294967295/4294967295 bw 0.015/0.015Mbps If really can use very low bandwitch with vp8 compression maintaining good quality similar to loseless compression will be perfect. Thanks for any reply and sorry for my bad english.
Attachment:
qemu-dm-W7.7z
Description: Binary data
Attachment:
smime.p7s
Description: Firma crittografica S/MIME
_______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/spice-devel