RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.36k stars 1.91k forks source link

[Regression] RPCS3 doesn't detect any cameras since Qt6 port (#12471) #14455

Open FlexBy420 opened 1 year ago

FlexBy420 commented 1 year ago

Quick summary

Ever since Qt6 PR was merged, RPCS3 stopped detecting any camera and only shows "avstream media device" obraz How it looked like before #12471 obraz

Details

No response

Build with regression

v0.0.29-15419-6cd5a7ea #12471

Attach two log files

Working Broken

Attach capture files for visual issues

No response

System configuration

No response

Other details

No response

MSuih commented 1 year ago

image Works just fine here on an actual camera.

Megamouse commented 1 year ago

This is most likely caused by the removal of DirectShow as Qt6 multimedia backend on Windows. Which leaves us with it's successor, the windows media foundation. I'm assuming that the OBS and PS Eye drivers were made for the deprecated DirectShow backend.

FlexBy420 commented 1 year ago

It is indeed because of that both virtual cam for OBS and PS Eye drivers were made for DirectShow. I don't think there is any other driver for PS Eye to work properly, neither do I think there is any that is still maintained lol. Repo of driver I use

mirh commented 1 year ago

https://codereview.qt-project.org/c/qt/qtmultimedia/+/327480 I swear... from the wording it almost seems like they believe the capture api depends on the OS as opposed to the camera. Given this is actually a big deal (even OBS seems compromised, and I can expect telegram to also be hit further down the line) I would actually try to open a ticket on their bug tracker.

mirh commented 1 year ago

https://bugreports.qt.io/browse/QTBUG-116227

mirh commented 1 week ago

Ok so.. With 6.4 they have started to ship a ffmpeg multimedia backend that going forward will be the main thing for cameras. And qt developers being as clueless as they are (and technically not being allowed to break features within any major version) they only added WMF support to their new QWindowsCamera module. Though, I believe that they would be open to even upstreaming a patch adding back directshow support there (even because it should be pretty trivial considering ffmpeg already has built-in DS support and you can literally straight up use ffplay for it)