<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false"><div><p class="ydp842d6b44yiv9283603201ydpd6078bd1_1qeIAgB0cPwnLhDF9XSiJM" 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 x264 library for encoding to h264</p><p class="ydp842d6b44yiv9283603201ydpd6078bd1_1qeIAgB0cPwnLhDF9XSiJM" 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 have actually changed. I there some way to pass these partial updates to x264 directly to encode them to a video? They just tell x264 what parts of the image have changed from the previous one.</p><div 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 think it may be faster than allowing x264 to calculate the changes again.</div></div><br></div></div></body></html>