If you pass the entire frame to the codec, it will figure out the changed
regions itself, so you don't need to worry about compression ratio.

On Thu, Nov 3, 2022 at 4:45 PM Alecsandru Neculai Andrei via Libav-user <
[email protected]> wrote:

> I am using the desktop duplication API from Windows to capture the desktop
> and then I want to stream it using ffmpeg libraries.
>
> The thing is that the desktop duplication API return smaller rectangles
> with the parts of the screen that has changed. I there some way to pass
> these partial updates to ffmpeg directly to encode them to a video? They
> just tell fmpeg what parts of the image have changed from the previous one.
>
> I know that ffmpeg, the application can capture the desktop using the
> desktop duplication API, but I don't know if it's also taking into account
> this special feature of desktop duplication to extract the changed parts of
> the desktop.
>
> _______________________________________________
> Libav-user mailing list
> [email protected]
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
>
_______________________________________________
Libav-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/libav-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to