Hi,

On Tue, Apr 21, 2020 at 07:42:20AM -0000, ozme...@hotmail.com wrote:
> So, can you discribe how can i use streaming method on Ovirt
> 4.3?

Looking at the hook you posted earlier:

        
https://github.com/oVirt/vdsm/blob/master/vdsm_hooks/spiceoptions/before_vm_start.py

It needs user to provide the options and for this feature to work
streaming=filter or streaming=all must be giving to spice server
to enable streaming.

> do i need to change something on host or engine I need to
> solve youtube or other video problems

For mjpeg encoding, you don't need to change anything. For
x264/vp8 with GStreamer, spice must be built with GStreamer
option enabled. You can check if that's the case for your spice
server library by running ldd in the .so file, e.g:

 spice (master 717ed19a) $ ldd ~/dev/lib64/libspice-server.so | grep -i gst
    libgstreamer-1.0.so.0 => /lib64/libgstreamer-1.0.so.0 (0x00007f393b57d000)
    libgstapp-1.0.so.0 => /lib64/libgstapp-1.0.so.0 (0x00007f393b568000)
    libgstbase-1.0.so.0 => /lib64/libgstbase-1.0.so.0 (0x00007f393b0df000)

Plus, you need the plugins for encoding in your host.

> Additionally, steraming needs to hardware accelerator, all
> streaming apps or offers hardware acceletor for best performace

As mentioned earlier, the encoding parameters are hardcoded [0]
so, even if you argue that gpu is preferred, that's not currently
supported but patches are welcome!

[0] 
https://gitlab.freedesktop.org/spice/spice/-/blob/master/server/gstreamer-encoder.c#L887

Video streaming like Youtube, you should get audio sync, lower
bandwidth, etc. 

Cheers,
Victor

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2OQYPMGOU3HZDDZNAUSKHWPYJPVRI3W5/

Reply via email to