Re: [Spice-devel] [spice] streaming: Limit the h264 image compression level

2016-10-28 Thread Francois Gouget
On Fri, 28 Oct 2016, Frediano Ziglio wrote: [...] > > In both cases I did the test by setting the min and max quantizer to the > > same value, tracing the frame size in encode_frame() and playing the > > same test video. For instance: > > > > - gstenc_opts = g_strdup("byte-stream=true

Re: [Spice-devel] [spice] streaming: Limit the h264 image compression level

2016-10-28 Thread Frediano Ziglio
> > On Thu, 27 Oct 2016, Francois Gouget wrote: > > > When uncapped x264enc can compress the frames beyond recognition in low > > bitrate situation. Beyond the set limit the gains are modest and it is > > better to drop frames to reduce the bit rate further. > > In case anyone is interested,

Re: [Spice-devel] [spice] streaming: Limit the h264 image compression level

2016-10-27 Thread Francois Gouget
On Thu, 27 Oct 2016, Francois Gouget wrote: > When uncapped x264enc can compress the frames beyond recognition in low > bitrate situation. Beyond the set limit the gains are modest and it is > better to drop frames to reduce the bit rate further. In case anyone is interested, here is a

[Spice-devel] [spice] streaming: Limit the h264 image compression level

2016-10-27 Thread Francois Gouget
When uncapped x264enc can compress the frames beyond recognition in low bitrate situation. Beyond the set limit the gains are modest and it is better to drop frames to reduce the bit rate further. Signed-off-by: Francois Gouget --- server/gstreamer-encoder.c | 5 -