LinuxMCE Forums
General => Users => Topic started by: darkwizard864 on August 06, 2018, 07:07:25 pm
-
hmm i am confused if i add motion ip camera with /mjpeg/snap.cgi?chn=0 i get nothing but if http://admin:admin@192.168.80.135/mjpeg/snap.cgi?chn=0 in internet expolorer it shows pic
i was wondering what i am doing wrong.
-
Post a screenshort containing all the properties you've used to describe the camera.
-
here are pics ....
-
Check the wiki for the Advanced IP Camera device, and see if following the instructions will get you going.
-
I tried that all I get is gray screen and can't connect to camera.
-
Post your settings with Advanced IP Camera please
-
here is adavance camera settings.
camera is a swansview w3
-
Looks good. Do you get a picture when you use curl http://192.168.80.135/mjpeg/snap.cgi?chn=0
Attached is my working device. One thing that might cause issues is using video in stand of pictures...
-
dcerouter_1047348:~# curl http://admin:123456@192.168.80.135/mjpeg/snap.cgi?chn=1
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>401 - Unauthorized</title>
</head>
<body>
<h1>401 - Unauthorized</h1>
</body>
</html>
dcerouter_1047348:~#
-
Looks like the password or authorization is wrong
-
I got it to work in curl like this
dcerouter_1047348:~# curl --user admin:123456 http://192.168.80.135/mjpeg/snap.cgi?chn=0 --digest -o /tmp/snap.jpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 351 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 213k 100 213k 0 0 432k 0 --:--:-- --:--:-- --:--:-- 729k
dcerouter_1047348:~#
-
I have contacted Sambuca, the developer of the Advanced IP Camera template, to have a look. Let's see what he finds.
-
I am guessing he will take a while to look at it ..mean while I will get different cameras.
-
See if your camera can do JPEGs instead of MJPEG
-
I asked the manufactor they said rtsp or mjpeg only
-
iirc MJPEG is not supported atm.
-
thank you .
I now know to get different foscams