Re: [Spice-devel] [spice] streaming: Use the optimal number of threads for VP8 encoding

2016-11-11 Thread Frediano Ziglio
> > > I'll also note that the h264 encoder automatically uses multiple > > threads already so this patch only brings vp8enc in line with it. > > After a quick look at x264, it seems to be using more threads than > physiical CPUs. Is it ok too with vp8enc? I'd really like that we don't > have that

Re: [Spice-devel] [spice] streaming: Use the optimal number of threads for VP8 encoding

2016-11-10 Thread Frediano Ziglio
> > Hi, > > On Mon, Oct 31, 2016 at 08:49:23PM +0100, Francois Gouget wrote: > > We run the VP8 encoder in real time mode so it uses only the minimum > > amount of time needed to encode each frame. However by default it > > only uses one thread so that for large/complex frames it may run at > > l

Re: [Spice-devel] [spice] streaming: Use the optimal number of threads for VP8 encoding

2016-11-10 Thread Christophe Fergeau
Hi, On Mon, Oct 31, 2016 at 08:49:23PM +0100, Francois Gouget wrote: > We run the VP8 encoder in real time mode so it uses only the minimum > amount of time needed to encode each frame. However by default it > only uses one thread so that for large/complex frames it may run at > less than the sour

[Spice-devel] [spice] streaming: Use the optimal number of threads for VP8 encoding

2016-10-31 Thread Francois Gouget
We run the VP8 encoder in real time mode so it uses only the minimum amount of time needed to encode each frame. However by default it only uses one thread so that for large/complex frames it may run at less than the source fps. Besides resulting in dropped frames this blocks the main server thread