mpromonet / v4l2rtspserver

RTSP Server for V4L2 device capture supporting HEVC/H264/JPEG/VP8/VP9
The Unlicense
1.86k stars 428 forks source link

raspicam capabilities:1000001 mandatory:4000001 #96

Closed slowflyer closed 6 years ago

slowflyer commented 6 years ago

When trying to start v4tlrtspserver on my Raspberry with the following command: sudo /home/pi/v4l2rtspserver/v4l2rtspserver -H 600 -W 800 -F 15 -p 8080 -U user:pass -c 2018-04-15 14:18:14,667 [NOTICE] - /home/pi/v4l2rtspserver/src/main.cpp:612 Create V4L2 Source.../dev/video0 I receive the following error on start:

[NOTICE] src/V4l2Device.cpp:117 driver:raspicam capabilities:1000001 mandatory:4000001

The Camera driver is loaded with:

uv4l --driver raspicam --auto-video_nr ...

If I use the bcm2835-v4l2 module instead it works, but I want the options from uv4l for tuning ...

mpromonet commented 6 years ago

Hi Ullrich, 1000001 means your device support V4L2_CAP_READWRITE but not V4L2_CAP_STREAMING (as defined in videodev2.h ). By default v4l2rtspserver use the IOMAP interface, however you can use the read interface adding the option -r. If you want to use the IOMAP interface you should add some LD_PRELOAD stuff (see https://www.linux-projects.org/documentation/uv4l-core/) Best Regards, Michel.