Configure Network IP Cam with Raspberry Pi as DVR
I'm trying to configure my Raspberry Pi as a DVR using the Pi Cam Module and several network IP cams (just one IP cam for now).
I have Raspbian installed on a Pi 2 model B, V1.1 with the Pi Camera Module and also installed Motion (per http://www.instructables.com/id/Raspber
... ce-camera/). With a few tweaks it works just fine with the Pi Cam Module (detects motion, saves snapshots and videos, view live stream on VLC).
My problem is with connecting to the IP cams. The IP cams available are DLink DCS-920 or TP-Link TL-SC4171
I modify motion.conf to point to the IP cam (netcam_url http://192.168.1.30/IMAGE.JPG, netcam_userpass Viewer:12345678) but I always get images from the Pi Cam Module. Still works fine, just the wrong cam.
The log shows:
 [NTC] [ALL] [Sep 30 15:14:23] main: Thread 1 is device:
I'm suspicious about the "input -1" as it supposedly refers to a USB cam but, just guessing.
I'm sure the URL is valid. If I put it in the Epiphany browser on the RPi it returns the correct image after I put the user/pass.
Maybe I need to set something like:
Any ideas on how to get the RPi to see the IP cam?
Thanks in advance!!
P.S. I've also tried using thread1.conf, thread2.conf with the IP cam settings and Pi cam settings separated. No images at all and Motion crashes without creating the log file.
But, I'll create a separate wiki page once I have the stand alone config working.
P.P.S. I can't figure out how to get it to tell me the version number. But, it was installed within the last two weeks.
 [NTC] [ALL] [Sep 30 15:14:23] main: Thread 1 is device: http://192.168.1.30/IMAGE.JPG input -1
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql, postgresql
| Server OS:
- 02 Oct 2015