c++qtcameraqtmultimediaqcamera

Qt: QCamera + FaceRig (virtual camera). Is it possible?


Is it possible to use QCamera class with physical/virtual camera which is used by another program?

I know that FaceRig is creates with possibility to be used at such programs like Skype, but when I've trying to catch it by QCamera (I use default example https://doc.qt.io/qt-5/qtmultimedia-multimediawidgets-camera-example.html) it returns black screen with errors in the debug:

Failed to get the video control

failed to find the video proc amp

I know that the reason is that camera has currently run by another process. I do not know how to work around that.


Solution

  • Yay!!! I found the way to solve the problem for FaceRig. I should simply to turn on broadcast (UI+ -> Broadcast) (https://steamcommunity.com/app/274920/discussions/2/530646715641672440/)