mjpg streamer is not running

  • I am new to this raspberrypi and doorpi.I have encountered a problem when I try to install mjpg-streamer when i try to run this command

    mjpg_streamer -i "/usr/local/lib/input_uvc.so -d / dev / video0 -n -r 1024x768 -f 24 -q 80 -l off" -o "/usr/local/lib/output_http.so -n -w / usr / local / www -p 9000 "

    It gives me this error

    MJPG Streamer Version: svn rev: 3: 172M
     i: Using V4L2 device .: /
     i: Desired Resolution: 1024x768
     i: Frames Per Second .: 24
     i: Format ............: YUV
     i: JPEG Quality ......: 80
    ERROR opening V4L interface: Is a directory
    Init v4L2 failed !! exit fatal
    i: init_VideoIn failed

    what is the cause of this error,I've encountered some problem in patching due to syntax errors, but I manage to run the patch may be that's the source?

  • You have empty spaces in the command.
    it must like this:

    mjpg_streamer -i "/usr/local/lib/input_uvc.so -d /dev/video0 -n -r 1024x768 -f 24 -q 80 -l off" -o "/usr/local/lib/output_http.so -n -w /usr/local/www -p 9000"