Hello,
for debugging purposes I would like to pass a custom video via v4l2loopback fed by a gstreamer pipeline to ISAAC’s V4L2Camera. Unfortunately, I keep getting following error:
2020-10-06 14:25:47.456 PANIC packages/sensors/V4L2Camera.cpp@186: [V4L2Camera] Buffer allocation request failed with error: Invalid argument.
The error can be reproduced via:
- Launching a v4l2-dummy device:
modprobe v4l2loopback video_nr=10 exclusive_caps=1 max_buffers=2
- Feeding data via gstreamer:
gst-launch-1.0 videotestsrc ! v4l2sink device=/dev/video10
- Changing device_id in v4l2_camera.app.json to 10
- Launching V4L2Camera:
bazel run //apps/samples/v4l2_camera
My setup:
- v4l2loopback: built master from source (GitHub - umlaeute/v4l2loopback: v4l2-loopback device)
- gstreamer: Version 1.14.5
Would appreciate some help with this.
BR, Chris