jacksonliam / mjpg-streamer

Fork of http://sourceforge.net/projects/mjpg-streamer/
3.03k stars 1.23k forks source link

I run mjpg-streamer through docker but prompt the content #398

Open chengyingkun opened 10 months ago

chengyingkun commented 10 months ago

MJPG Streamer Version.: 2.0

i: Using V4L2 device.: /dev/video0

i: Desired Resolution: 640 x 480

i: Frames Per Second.: 10

i: Format............: YUV

i: JPEG Quality......: 80

Unable to set format: Input/output error

Init v4L2 failed !! exit fatal

i: init_VideoIn failed

docker run --name=mjpeg_streamer -d --device /dev/video0 --entrypoint mjpg_streamer -p 8127:8090 kvaps/mjpg-streamer -i "/usr/lib64/input_uvc.so -y -d /dev/video0 -r 640x480 -f 10" -o "/usr/lib64/output_http.so -p 8090 -w /usr/share/mjpeg-streamer/www/ -c admin:admin"

I also found that these two files do not exist in my system output_http.so input_uvc.so