Hi,
On 07/10/2018 03:25 PM, molo wrote:
hi,
I am sorry to trouble you!
We encountered the problem of video picture jam in the
process of using the spice protocol, and the audio and video out
of sync problem also appeared in the drag and drop player
window. When trying to solve the problem, we changed the
encoding method from mjpeg to h264, but the problem didn't seem
to improve. After that we tried to encode with hardware, but it
failed. It seems that kvm can't access NVIDIA's device driver.
Two question as follows:
1、I want to confirm whether kvm can access the hardware
driver and perform hardware coding?
2、Have you ever encountered video jams, audio and video
out of sync? How to solve it? Wouldn't it be better to decode on
the client side via hardware?
As Victor mentioned video encoding is using x264enc. if i'm not
mistaken it's predefined to ultrafast encoding
which may cause video jams (since it is sw encoding high quality
encoding will probably be too slow and high cpu
consumer).
IIRC audio and video should be synchronized in both cases.
Client side should use hw decoding in case hw gstreamer decoder
plugin is available (although some additional
sw graphical operations may be done by spice after the decoding
phase)
Snir.
spice-protocol:0.12.14 release
client:our software based spice-gtk(0.35 release)
spice-server:0.14 release
Hope that I will receive your reply soon。ths!
Sincerely:yxh
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel
|
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel