Where is VIDIOC_S_FMT handled in NXP USB framework for i.MX RT processors?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Where is VIDIOC_S_FMT handled in NXP USB framework for i.MX RT processors?

378 Views
tamir_michael
Contributor IV

Hi,

When I try to stream 'evkmimxrt1064_dev_video_virtual_camera_freertos' to a Linux machine, VLC fails to open the stream probably due to the following errors (I have obtained them via v4l2 test bench with error logging enabled):

VIDIOC_S_FMT returned -1 (Input/output error)
VIDIOC_S_PARM returned -1 (Input/output error)

Since this is not a problem using VLC on Window, I must assume that ioctl() calls failing on Windows are treated more leniently. I can address this by overriding the error on the device side, but so far I could not find the spot in the USB suit that can bring that about. Can you help?

0 Kudos
1 Reply

359 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello.

Could you tell me if you are using a virtual machine or a native Linux?

Are these errors from Linux or VLC?
VIDIOC_S_FMT returned -1 (Input/output error)
VIDIOC_S_PARM returned -1 (Input/output error)

Best regards,
Pavel

0 Kudos