Could not set caps on ids peak camera

I’m using an IDS Peak camera (GV-5880CP-C-HQ) and I’m experiencing mostly the same problem as Could not set caps on camera

Could someone help me out?