[Spice-devel] Streaming video detection

Alon Levy alevy at redhat.com
Thu Jun 30 07:52:10 PDT 2011


On Thu, Jun 30, 2011 at 04:25:11PM +0200, Andrea Celestino wrote:
> Hi
> I am studying the source code and how spice handles streaming video. Spice
> looks for area that are updated with high rate, after that it starts
> mjpeg_encoder.
> 
> -I would like to know what are the SpiceAgent and the StreamClipItem, I see
> these two elements in the source code.
I expect the first is to keep a handle on the stream / drawable, and the second is to
update the clipping area (supposedly if you move a streamed area around, by moving
a window, it should not kill and start a new mjpeg encoder but reuse it).

> -When spice detects video and starts to encode the video, it handles frames
> one by one? Spice encode one frame with mjpeg and send it to the client?
yes.

> 
> Thanks.
> Regards.

> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel



More information about the Spice-devel mailing list