News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

ip cameras

Started by darkwizard864, August 06, 2018, 07:07:25 PM

Previous topic - Next topic

darkwizard864

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.

Marie.O

Post a screenshort containing all the properties you've used to describe the camera.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

darkwizard864


Marie.O

Check the wiki for the Advanced IP Camera device, and see if following the instructions will get you going.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

darkwizard864

I tried that all I get is gray screen and can't connect to camera.

Marie.O

Post your settings with Advanced IP Camera please
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

darkwizard864

here is adavance camera settings.
camera is a swansview w3

Marie.O

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...
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

darkwizard864

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:~#

Marie.O

Looks like the password or authorization is wrong
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

darkwizard864

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:~#

Marie.O

I have contacted Sambuca, the developer of the Advanced IP Camera template, to have a look. Let's see what he finds.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

darkwizard864

I am guessing he will take a while to look at it ..mean while I will get different cameras.

Marie.O

See if your camera can do JPEGs instead of MJPEG
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

darkwizard864

I asked the manufactor they said rtsp or mjpeg only