[Spice-devel] Streaming video detection

Andrea Celestino celestino.andrea at gmail.com
Wed Jul 6 01:07:53 PDT 2011


Please, I would like to know if what I wrote in my previous message it's
correct.
Thanks.
Regards.

2011/7/5 Andrea Celestino <celestino.andrea at gmail.com>

> I have read the document "spice_for_newbies.pdf", that describes how spice
> works.
> When I play a video on the guest, the video is decoded then the user
> application requests the OS graphic engine (X in linux), to perform a
> rendering operation. X passes the command to the QXL driver which translates
> the OS commands to QXL commands and push them into a command ring. libspice
> pulls this command and adds them to the graphic command tree. The command
> tree is used to detect video stream, so starts mjpegencoder, encode each
> frame indipendently and send it to the client as image(because each frame is
> a jpeg image) with a spice protocol message.
> Is it correct?
>
> Thanks.
>
>
>
> 2011/6/30 Christophe Fergeau <cfergeau at redhat.com>
>
>> Hi,
>>
>> On Thu, Jun 30, 2011 at 04:25:11PM +0200, Andrea Celestino wrote:
>> > -I would like to know what are the SpiceAgent and the StreamClipItem, I
>> see
>> > these two elements in the source code.
>>
>> My understanding is that a StreamAgent is the object which is managing the
>> video streaming. My guess would be that StreamClipItem describes which
>> parts of the full screen are to be streamed as video.
>>
>> But I'm not really familiar with that code, hopefully someone will clear
>> up
>> any misunderstanding here :)
>>
>> Christophe
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110706/86afff5f/attachment.html>


More information about the Spice-devel mailing list