Motion - Support Question 2011x 12x 08x 074321

foscam fi8918w libjpeg decompression failure

Question

Hello, Im attempting to use a foscam fi8918w camera with motion and I keep getting a libjpeg decompression failure error message. Under working devices in this wiki I found this:

Tested on FI8905W? and FI8918W? purchased Mar 2011 netcam_url http://CAMERA_IP/videostream.cgi?user=admin?pwd=password netcam_http keep_alive

but I still get the same error. Ive also tried these (among others):

netcam_url http://192.168.0.24/jpg/image.jpg returns only ONE single image. For Motion to get a video stream you should point the netcam_url to http://192.168.0.24/mjpg/video.mjpg or http://192.168.0.24/axis-cgi/mjpg/video.cgi or http://192.168.0.24/axis-cgi/mjpg/video.cgi?resolution=320x240 or http://192.168.0.24/axis-cgi/mjpg/video.cgi?resolution=640x480

Could anyone who has gotten one of these to work kindly post your motion.conf file?

[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Unknown config option "minimum_gap"
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3426306 LIBAVFORMAT_BUILD 3424258
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[1] libjpeg decompression failure on first frame - giving up!
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] Retrying until successful connection with camera
[1] libjpeg decompression failure on first frame - giving up!

Environment

Motion version: 3.2.12
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS: mint 11
-- CoryD - 08 Dec 2011

Follow Up

Please try with motion svn trunk or git version.

Cheers,

-- AngelCarpintero - 08 Dec 2011

Answer

Topic revision: r2 - 08 Dec 2011, 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.