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

    Code
    1. 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

    Code
    1. MJPG Streamer Version: svn rev: 3: 172M
    2. i: Using V4L2 device .: /
    3. i: Desired Resolution: 1024x768
    4. i: Frames Per Second .: 24
    5. i: Format ............: YUV
    6. i: JPEG Quality ......: 80
    7. ERROR opening V4L interface: Is a directory
    8. Init v4L2 failed !! exit fatal
    9. 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:

    Code
    1. 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"