Simulate 4k raw data as input for v4l2 with userptr mode

Hello Dear community ,

My goal is to write app that uses v4l2 to capture 4k raw\uncompressed (!!!) data from camera.
the main motivation is to see that the machine is strong\fast enough and that is why compressed format is not acceptable.

my physical camera is not available yet.

attempt1: v4l2loopback + gstreamer
that apptemt has failed becase v4l2loopback does not support userptr mode.

attempt2: bought simple logitech 4k camera (brio 4k stream edition).
that attemt has faield for now.
when i run “v4l2-ctl --list-formats-ext --device /dev/video2”
for now, accoridng to V4l2 -capture 4k raw data
it seems that the camera does not support 4k raw data but only mjpeg .

attempt3: it seems that vivid should work with gstreamer using v4l2 ptr mode,
however. i couldnt get that working.

any idea ?
has anyone managed to get vivid working ?
any other alternative ?

thank you !!!

Hi,
Per information in the comment:
V4l2 -capture 4k raw data - #8 by regine.issan

The camera source supports YUYV. We suggest try this sample:
V4l2 -capture 4k raw data - #9 by DaneLLL

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.