<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Uri Lublin <<a href="mailto:uril@redhat.com">uril@redhat.com</a>> 于2021年1月31日周日 下午9:48写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/30/21 1:25 PM, lx wrote:<br>
> Frediano Ziglio <<a href="mailto:freddy77@gmail.com" target="_blank">freddy77@gmail.com</a>> 于2021年1月29日周五 下午6:39写道:<br>
> <br>
>> Il giorno gio 28 gen 2021 alle ore 01:45 lx <<a href="mailto:lxlenovostar@gmail.com" target="_blank">lxlenovostar@gmail.com</a>> ha<br>
>> scritto:<br>
>>><br>
>>><br>
>>> Uri Lublin <<a href="mailto:uril@redhat.com" target="_blank">uril@redhat.com</a>> 于2021年1月27日周三 下午11:47写道:<br>
>>>><br>
>>>> On 1/27/21 4:22 AM, lx wrote:<br>
>>>>> Hi all:<br>
>>>>>          If I redirect USB camera to virtual machine, I think we send<br>
>>>>> original URB to virtual machine by USB channel.<br>
>>>>> Is this understanding correct? If we want to improve the user<br>
>> experience,<br>
>>>>> we need to compress URB data?<br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> If you build with lz4 enabled (both client and server),<br>
>>>> then it should use lz4 to compress the data.<br>
>>>><br>
>>>> There is no functionality to create<br>
>>>> a video stream out of raw data.<br>
>>>><br>
>>>> Can the USB camera be configured to send a compress stream?<br>
>>>><br>
>>>> Uri.<br>
>>>><br>
>>><br>
>>>    Hi:<br>
>>>     USB camera can support MJPG and YUV.   I think H264 is better than<br>
>> MJPG. So Can we<br>
>>> let spice support H264 ? Is this feasible?<br>
>>><br>
>><br>
>> This is independent from SPICE, if the camera send compressed data<br>
>> already SPICE will just<br>
>> forward compressed data in whatever format is in USB.<br>
>> If the camera supports MJPEG and YUV choose MJPEG, YUV is not<br>
>> compressed (just a different color<br>
>> space than RGB, often taking less bits but still not compressed).<br>
>><br>
>> Frediano<br>
>><br>
> <br>
> If the camera chooses YUV, can we encode it to H264 in SPICE? Is this<br>
> feasible?<br>
<br>
Currently, SPICE does not do look at USB data.<br></blockquote><div><br></div><div>Hi:</div><div><br></div><div>What do you mean spice just forward USB protocol data? <br></div><div><br></div><div>Thank you</div><div> </div></div></div>