cameronelliott / LimeVideoSDK

C#/.NET Quick Sync GPU video encode, decode, transcode for Windows and Linux --
https://cameron-elliott.github.io/LimeVideoSDK/
Other
30 stars 8 forks source link

passing ID3D11Texture2D to the encoder #6

Open hassan379 opened 2 years ago

hassan379 commented 2 years ago

Thank u for this library. I am capturing frames from Windows desktop using desktop duplicator to encode them using LimeVideoSDK and I think it is more efficient to pass the returned SharpDX.Direct3D11.Texture2D from desktop duplicator to the h264 encoder rather than copying bytes of each frame to CPU and then to the encoder. Is there anyway to achieve this using LimeVideoSDK? Best regards

cameronelliott commented 2 years ago

Hassan, I am glad if this is helping you somehow, but.... here are my thoughts!

  1. I am not working on this project anymore, and maybe no on else either.
  2. (I have forgotten much of how it works, and I forget if it supports GPU surfaces instead of CPU RAM surfaces)
  3. Can gstreamer achieve the result you are looking for? This is my current favorite framework for video encoding needs, due to the humongous flexibility it provides.

Thats all I can really add at this time. I hope that helps you somehow.