Open blacksad77 opened 5 years ago
Hello All,
With the new kernel mjpeg_streamer need a patch.
I had similar problems I found this article http://www.steinvoorte.nl/mjpgstreamer/index.php?page=2 and I solved my problems. Now it works like a charm:
regards
Mirko
Got error:
root@orangepiplus:~/mjpg-streamer/mjpg-streamer-experimental# LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libv4l/v4l1compat.so ./mjpg_streamer -i "input_uvc.so -d /dev/video0 -r 640x480 -f 30 -y -n" -o "output_http.so -p 8080 -w ./www" MJPG Streamer Version: git rev: ddb69b7b4f114f3c2ca01adf55712792ca8aed43 i: Using V4L2 device.: /dev/video0 i: Desired Resolution: 640 x 480 i: Frames Per Second.: 30 i: Format............: YUYV i: JPEG Quality......: 80 i: TV-Norm...........: DEFAULT i: Could not obtain the requested pixelformat: YUYV , driver gave us: RGB3 ... will try to handle this by checking against supported formats. Init v4L2 failed !! exit fatal
root@orangepiplus:~/mjpg-streamer/mjpg-streamer-experimental# v4l2-ctl --list-formats-ext ioctl: VIDIOC_ENUM_FMT Index : 0 Type : Video Capture Pixel Format: 'RGGB' Name : 8-bit Bayer RGRG/GBGB Size: Discrete 320x240 Size: Discrete 640x480 Specifying -fourcc RGBP gives the same error... It works with motion and fswebcam.