Unable to set webcam camera video recording resolution [LINUX]

OS: Linux, Ubuntu
PsychoPy version (e.g. 1.84.x): 2024.2.1

I’m trying to use the camera component to record from a web cam. It successfully records video but the video is always 640x480. The camera is a 4k resolution and able to be used outside psychopy.

I’m using the opencv backend. The builder component resolution options in the dialog don’t seem to work. I tried editing the generated python script to change the intiliazition code from setting frameSize=None to frameSize=[1024,768] or frameSize=‘UHD’. However, when I do that the call to save the video hangs and it never writes anything to disk.

Hello @ales, just wondering if you managed to have the responses form the video response component to have a sound file in them if data were collected on-line? If so, what did you do? Thanks