You describe with "click picture, start recording, stop recording" default imaging behavior of cameras. Those buttons work on most cams using opencv (/pyqt) but beyond is SDK manufacturer specific.
If you can't figure it out with your camera post product name, type, version into your question.
For example... FLIR has a vast amount of SDK libraries with python wrappers here. A crude example via Flea2 cam is here. If installed you can test the basics with some example scripts. And if you dig deep enough you'll hit "Nokia" related image libraries... written for cams on phones... Nostalgia <3
Hence, as karlphilip
mentioned in his post... the libraries are fingerprinted towards series of cameras from a camera manufacturer and are likely not fitted for cams from other manufacturers. But.. when you import lib from more than one manufacturer you can combine it in your python scripts.. obviously.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…