Author Topic: ip cameras  (Read 566 times)

darkwizard864

  • Veteran
  • ***
  • Posts: 121
    • View Profile
ip cameras
« 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.

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3663
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: ip cameras
« Reply #1 on: August 06, 2018, 08:45:33 pm »
Post a screenshort containing all the properties you've used to describe the camera.

darkwizard864

  • Veteran
  • ***
  • Posts: 121
    • View Profile
Re: ip cameras
« Reply #2 on: August 06, 2018, 09:14:46 pm »
here are pics ....

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3663
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: ip cameras
« Reply #3 on: August 07, 2018, 11:43:07 pm »
Check the wiki for the Advanced IP Camera device, and see if following the instructions will get you going.

darkwizard864

  • Veteran
  • ***
  • Posts: 121
    • View Profile
Re: ip cameras
« Reply #4 on: August 07, 2018, 11:49:01 pm »
I tried that all I get is gray screen and can't connect to camera.

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3663
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: ip cameras
« Reply #5 on: August 08, 2018, 06:08:56 am »
Post your settings with Advanced IP Camera please

darkwizard864

  • Veteran
  • ***
  • Posts: 121
    • View Profile
Re: ip cameras
« Reply #6 on: August 08, 2018, 06:20:44 am »
here is adavance camera settings.
camera is a swansview w3

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3663
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: ip cameras
« Reply #7 on: August 08, 2018, 02:31:20 pm »
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...

darkwizard864

  • Veteran
  • ***
  • Posts: 121
    • View Profile
Re: ip cameras
« Reply #8 on: August 08, 2018, 02:56:13 pm »
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:~#

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3663
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: ip cameras
« Reply #9 on: August 08, 2018, 03:47:17 pm »
Looks like the password or authorization is wrong

darkwizard864

  • Veteran
  • ***
  • Posts: 121
    • View Profile
Re: ip cameras
« Reply #10 on: August 08, 2018, 04:07:25 pm »
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:~#

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3663
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: ip cameras
« Reply #11 on: August 09, 2018, 09:36:33 am »
I have contacted Sambuca, the developer of the Advanced IP Camera template, to have a look. Let's see what he finds.

darkwizard864

  • Veteran
  • ***
  • Posts: 121
    • View Profile
Re: ip cameras
« Reply #12 on: August 17, 2018, 03:46:31 pm »
I am guessing he will take a while to look at it ..mean while I will get different cameras.

posde

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3663
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: ip cameras
« Reply #13 on: August 17, 2018, 05:19:38 pm »
See if your camera can do JPEGs instead of MJPEG

darkwizard864

  • Veteran
  • ***
  • Posts: 121
    • View Profile
Re: ip cameras
« Reply #14 on: August 18, 2018, 11:50:07 pm »
I asked the manufactor they said rtsp or mjpeg only