Motion - Support Question 2007x 09x 14x 043012

setup difficulties D-Link G900 network camera

Question

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: [0] Processing thread 0 - config file motion.conf
motion: [0] Created process id file /var/run/motion.pid. Process ID is 11830
motion: [0] Motion running as daemon process
motion: [0] Thread 1 is from motion.conf
motion: [1] libjpeg decompression failure on first frame - giving up!
motion: [1] Could not fetch initial image from network camera
motion: [1] Motion continues using width and height from config file(s)
motion: [1] Retrying until successful initial connection with network camera
motion: [1] Unrecognized content type
motion: [1] Error reading first header - re-trying

Environment

Motion version: 3.2.7
ffmpeg version: 0.4.9-0.7.20061215.fc4.rf
Libraries: ffmpeg, mysql, postgresql
Server OS: Fedora Core 4, 2.6.11-1.1369_FC4

-- DavidHaney - 14 Sep 2007

Answer

Hi,

Have you had any success with using video.cgi in the URL instead of image.jpg?

ie.
netcam_url  http://192.168.19.32/video.cgi

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?

-- SimonW - 28 Sep 2007


Thanks Simon , you answered already and user never gave any feedback .

-- AngelCarpintero - 16 Jun 2008
Topic revision: r3 - 16 Jun 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.