Re: jpeg problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wed, Jul 22, 2015 at 04:14:23PM +0800, 乱舞 wrote:
> hi,all:
>     When  I  transport images with jpeg in spice  to  reduce bandwidth.
> i modify the spice-server   red_worker.c
>
> worker->jpeg_state = SPICE_WAN_COMPRESSION_ALWAYS;
> it worked, but caused some image visual problems,
> if use jpeg ,there is a black rectangle In the upper left corner of lock screen(picture 1 inside the redline).
> and when i move the window there would be many black lines on the screen (picture 2)
> when use glz ,quic,or lz4, There would not be such a problem. But when I use jpeg ,the bandwidth would be lower,so I need to solve the problem.
> How to solve this problem ? because of  lossy ?

Well, yes, I think this only happens due the lossy compression.
It is hard to have a win-win situation with bandwidth, processing and
quality.

Javier sent a patch upstream where you can chose preferred image
compression by client's command line (--spice-preferred-compression)
I think it can be useful for you, to test the image quality over your
system requirements.

Cheers,
Victor Toso
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]