Do you use opengl or are you 100% doing directx calls to forward the textures to ffmpeg?
Do you perform any synchronisation like double buffering in order to be sure to read the full image?
Thanks for your help!