<html><head></head><body><div class="ydp45fc4fabyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">I was thinking that it would be faster if I send just the modified parts to the encoder.</div><div><br></div>
        
        </div><div id="yahoo_quoted_8533205983" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    Pe vineri, 4 noiembrie 2022, 09:02:59 EET, Ben Harper <rogojin@gmail.com> a scris:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv0689173074"><div><div dir="ltr">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.</div><br clear="none"><div class="yiv0689173074gmail_quote"><div id="yiv0689173074yqt42157" class="yiv0689173074yqt9039487294"><div dir="ltr" class="yiv0689173074gmail_attr">On Thu, Nov 3, 2022 at 4:45 PM Alecsandru Neculai Andrei via Libav-user <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:libav-user@ffmpeg.org" target="_blank" href="mailto:libav-user@ffmpeg.org">libav-user@ffmpeg.org</a>> wrote:<br clear="none"></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="yiv0689173074gmail_quote"><div><div style="font-family:Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr"><div><p style="margin:0px;padding:0px 0px 0.25em;border:0px;font-stretch:inherit;font-size:14px;line-height:inherit;font-family:Arial, sans-serif;vertical-align:baseline;color:rgb(28,28,28);">I am using the desktop duplication API from Windows to capture the desktop and then I want to stream it using ffmpeg libraries.</p><p style="margin:0px;padding:0.8em 0px 0.25em;border:0px;font-stretch:inherit;font-size:14px;line-height:inherit;font-family:Arial, sans-serif;vertical-align:baseline;color:rgb(28,28,28);">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.</p><p style="margin:0px;padding:0.8em 0px 0px;border:0px;font-stretch:inherit;font-size:14px;line-height:inherit;font-family:Arial, sans-serif;vertical-align:baseline;color:rgb(28,28,28);">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.</p></div><br clear="none"></div></div></div>_______________________________________________<br clear="none">
Libav-user mailing list<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" target="_blank" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" target="_blank" href="https://ffmpeg.org/mailman/listinfo/libav-user">https://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none">
<br clear="none">
To unsubscribe, visit link above, or email<br clear="none">
<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:libav-user-request@ffmpeg.org" target="_blank" href="mailto:libav-user-request@ffmpeg.org">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br clear="none">
</blockquote></div></div>
</div></div><div class="yqt9039487294" id="yqt29503">_______________________________________________<br clear="none">Libav-user mailing list<br clear="none"><a shape="rect" ymailto="mailto:Libav-user@ffmpeg.org" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br clear="none"><a shape="rect" href="https://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">https://ffmpeg.org/mailman/listinfo/libav-user</a><br clear="none"><br clear="none">To unsubscribe, visit link above, or email<br clear="none"><a shape="rect" ymailto="mailto:libav-user-request@ffmpeg.org" href="mailto:libav-user-request@ffmpeg.org">libav-user-request@ffmpeg.org</a> with subject "unsubscribe".<br clear="none"></div></div>
            </div>
        </div></body></html>