mjpg-streamer icon indicating copy to clipboard operation
mjpg-streamer copied to clipboard

No output. Connection error

Open phodina opened this issue 3 years ago • 2 comments

Hi, I start the mjpeg-streamer on my PC running Linux and I want to connect to the URI on the same machine. However, for some reason I get this error as an output:

501: Not Implemented!
no www-folder configured

Here's the command I entered:

$ mjpg_streamer -i input_uvc.so -o output_http.so
MJPG Streamer Version.: 2.0
 i: Using V4L2 device.: /dev/video0
 i: Desired Resolution: 640 x 480
 i: Frames Per Second.: -1
 i: Format............: JPEG
 i: TV-Norm...........: DEFAULT
UVCIOC_CTRL_ADD - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_ADD - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt (relative): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Pan/tilt Reset: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Focus (absolute): Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Mode: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at LED1 Frequency: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Disable video processing: Inappropriate ioctl for device (25)
UVCIOC_CTRL_MAP - Error at Raw bits per pixel: Inappropriate ioctl for device (25)
 o: www-folder-path......: disabled
 o: HTTP TCP port........: 8080
 o: HTTP Listen Address..: (null)
 o: username:password....: disabled
 o: commands.............: enabled

Any idea what I do wrong?

phodina avatar Jul 25 '21 15:07 phodina

Looks like you aren't enabling the www-folder-path

mjpg_streamer -i input_uvc.so -o output_http.so -w /WHEREVER/THEY/ARE

Look for html files someone in the project and change the above to point to their location.

lisowskibraeden avatar Mar 19 '22 21:03 lisowskibraeden

Looks like you aren't enabling the www-folder-path

mjpg_streamer -i input_uvc.so -o output_http.so -w /WHEREVER/THEY/ARE

Look for html files someone in the project and change the above to point to their location.

Correction: mjpg_streamer -i input_uvc.so -o "output_http.so -w /WHEREVER/THEY/ARE"

FlorianCassayre avatar Jul 29 '23 11:07 FlorianCassayre