AW: Screen recording and Nvidia acceleration

Thornton, Keith keith.thornton at zeiss.com
Thu Aug 6 08:09:13 UTC 2020


Hi, 
you might try using a pad-probe and in this pad-probe you calculate a CRC over the areas of interest. If nothing has changed you drop the frame and if something has changed you let it through
Grüße

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> Im Auftrag von Davide Perini
Gesendet: Mittwoch, 5. August 2020 18:27
An: gstreamer-devel at lists.freedesktop.org
Betreff: Re: Screen recording and Nvidia acceleration

If not, is it possible to say gstreamer to capture the frame only if "something changed on the screen"?
Is it possible to reduce the CPU load by reducing capture quality?

Basically I need to capture some areas of the screen (100 areas of 50x50 pixel size) 30 times per second.
Once captured the screen, I need to get only the average color of that area. Nothing more.

What are the possible optimizations for my purpose?

Thanks
Davide

Il 05/08/2020 14.05, Davide Perini ha scritto:
> I need to capture 100 regions of 50 pixel, not an entire 3840x2160 
> screen if possible...
>
> At 4K, grabbing the entire screen at 30 fps is pretty expensive.
>
> Is this possible?
>
> Thanks
> Davide
>
> Il 05/08/2020 12.31, Neil C Smith ha scritto:
>> On Wed, 5 Aug 2020 at 11:22, Davide Perini 
>> <perini.davide at dpsoftware.org> wrote:
>>> I don't need big quality or sync, I only need to record the screen 
>>> to get colors on an X,Y point of the screen.
>>> So I don't really need to capture all the screen.
>> What exactly does "don't really need to capture all the screen" mean?
>> A contiguous sub-region?  That element supports x, y, width and 
>> height properties I believe from earlier conversations on this?
>>
>> Best wishes,
>>
>> Neil
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> s.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=02%7
> C01%7C%7C7f54efb0dc9f49692e8608d839654892%7C28042244bb514cd680347776fa
> 3703e8%7C1%7C0%7C637322454455576269&sdata=BmhxqACunS7W3vObSJSN8pII
> PjD53fT9nYSsAO%2BOPVM%3D&reserved=0

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Fgstreamer-devel&data=02%7C01%7C%7C7f54efb0dc9f49692e8608d839654892%7C28042244bb514cd680347776fa3703e8%7C1%7C0%7C637322454455576269&sdata=BmhxqACunS7W3vObSJSN8pIIPjD53fT9nYSsAO%2BOPVM%3D&reserved=0


More information about the gstreamer-devel mailing list