setup difficulties D-Link G900 network camera
Motion Experts, I have just purchased D-Link G900 network camers with the hope of using "motion" as a surveillance tool. The version is 3.2.7 and was downloaded using yum. My motion.conf includes a line pointing to the image:netcam_url "http://192.168.19.32/image.jpg". I have not found documentaion for this I had to just make some guesses. The default net camera home page (http://192.168.19.32/
) includes some D-Link background stuffff plus an image header that provides the time and camera name. The errors in the /var/log/messages file are shown in verbatim text:
I have seen reports on this website suggesting that this camera does work with motion. So I am confused if it is a problem with my setup or some dependency that is not working (libjpeg). A grep of installed rpms shows: libjpeg-devel-6b-34 libjpeg-6b-34 libjpeg-6b-34 Note this is a 64-bit x86_64 installation of FC4.
Thanks for your help.
motion:  Processing thread 0 - config file motion.conf
motion:  Created process id file /var/run/motion.pid. Process ID is 11830
motion:  Motion running as daemon process
motion:  Thread 1 is from motion.conf
motion:  libjpeg decompression failure on first frame - giving up!
motion:  Could not fetch initial image from network camera
motion:  Motion continues using width and height from config file(s)
motion:  Retrying until successful initial connection with network camera
motion:  Unrecognized content type
motion:  Error reading first header - re-trying
| Motion version:
| ffmpeg version:
|| ffmpeg, mysql, postgresql
| Server OS:
|| Fedora Core 4, 2.6.11-1.1369_FC4
- 14 Sep 2007
Have you had any success with using video.cgi in the URL instead of image.jpg?
I use a couple of DCS-900 cameras (wired) and they should not be very different. I use video.cgi (ie. streaming) as it is less intensive for Motion to process.
Once you get it working, if you're worried about the framerate of the camera saturating the wireless channel you can slow its frame rate down in its setup screen (well, you can on the non-wireless DCS-900 anyway).
Or alternatively your problem may be due to the fact you're on 64-bit.... hope not. Have you tested the DCS-G900 on a 'normal' 32 bit Linux by any chance?
- 28 Sep 2007
Thanks Simon , you answered already and user never gave any feedback .
- 16 Jun 2008