iperov / DeepFaceLive

Real-time face swap for PC streaming or video calls
GNU General Public License v3.0
26.03k stars 4.43k forks source link

Spout instead of window capture #29

Closed aximut closed 2 years ago

aximut commented 2 years ago

Hi, first off, this is so cool, thanks for your marvellous work!

This is more of a suggestion than an issue. When I saw your excellent pipeline, the extent on how this is all optimized to run in real time and the ease of configurability, I was wondering if you know of Spout. It could save some resources to just output the final stream as a SpoutSender. This could then easily be imported into OBS by the Spout Plugin. The advantage would be that all the buffers already in the GPU would get directly transferred to OBS and not via a window capture.

iperov commented 2 years ago

I prefer more portable system and keep less dependencies as possible. Capture window by OBS is fine solution.