<div dir="ltr"><div dir="ltr"><div>So I was trying to use QtMultimedia to detect a camera and do video capture via python.</div><div><br></div><div>QCameraInfo.availableCameras() was returning an empty list.. and i did some troubleshooting and it turns out a lib is missing in the PyQt5 packaged Qt libs.</div><div><br></div><div><font face="monospace, monospace">"<span style="color:rgb(36,41,46);font-size:14px">"/usr/local/lib/python3.6/dist-packages/PyQt5/Qt/plugins/mediaservice/libgstmediaplayer.so" : "Cannot load library /usr/local/lib/python3.6/dist-packages/PyQt5/Qt/plugins/mediaservice/libgstmediaplayer.so: (libQt5MultimediaGstTools.so.5: cannot open shared object file: No such file or directory)"</span></font></div><span style="color:rgb(36,41,46);font-size:14px"><font face="monospace, monospace">defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"</font></span><div><br></div>This is using PyQt5 5.12.1 (latest).. It seem on Linux the PyQt5 doesn't come with all the qt5multimedia libs and plugins.<div><br></div><div>See a related issue on this project page: <a href="https://github.com/pypa/packaging-problems/issues/211">https://github.com/pypa/packaging-problems/issues/211</a></div><div><br></div><div>It seemed to work after doing:</div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace"># sudo apt install libqt5multimedia5 libqt5multimedia5-plugins</font></div><div><br></div><div>After which point PyQt5 picked up the system lib instead.</div><div><br></div><div>This leads me to suspect that the PyQt5 packaged libs are missing that gst lib on Linux.</div><div><br></div><div>Any ideas if this is a bug in PyQt5 or some other issue?</div><div><br></div><div>-Calin</div><div><br></div></div></div>