Motion - Support Question 2015x 06x 11x 154355

Foscam fi8910w connection issue

Question

I am having major problems getting my camera to connect. I have tried every option under the sun inside of motion.conf and I can't find the right netcam_url to work. I will post errors I get when I first load motion.

I will also post the various versions of the netcam_url.

From what I have read, netcam_userpass does not work with this camera. I have to add pass into my url itself.

Not sure if use snapshot.cgi, or videostream.cgi, or what?

If I type http://192.168.200.189/snapshot.cgi into web browser, i see the image from the camera. But can't get motion to connect
Mulitple configs used, 

# URL to use if you are using a network camera, size will be autodetected (incl http:// ftp:// or file:///)
# Must be a URL that returns single jpeg pictures or a raw mjpeg stream. Default: Not defined

netcam_url http://****:****@192.168.200.189/cgi-bin/video.jpg

# netcam_url http://192.168.200.189/snapshot.cgi?user=[*****]&pwd=[******]&count=0

# netcam_url http://****:*****@192.168.200.189:80/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=USR&pwd=PWD&
# netcam_url http://****:****@192.168.200.189/videostream.cgi?user=USER&pwd=PWD

# Username and password for network camera (only if required). Default: not defined
# Syntax is user:password
# netcam_userpass ****:*****

# The setting for keep-alive of network socket, should improve performance on compatible net cameras.
# 1.0:         The historical implementation using HTTP/1.0, closing the socket after each http request.
# keep_alive:  Use HTTP/1.0 requests with keep alive header to reuse the same connection.
# 1.1:         Use HTTP/1.1 requests that support keep alive as default.
# Default: 1.0
netcam_http keep_alive





When I run. I keep getting this error.  


$ motion
[0] Processing thread 0 - config file /usr/local/etc/motion.conf
[0] Unknown config option "sql_log_image"
[0] Unknown config option "sql_log_snapshot"
[0] Unknown config option "sql_log_mpeg"
[0] Unknown config option "sql_log_timelapse"
[0] Unknown config option "sql_query"
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3489124 LIBAVFORMAT_BUILD 3481700
[0] Thread 1 is from /usr/local/etc/motion.conf
[1] Thread 1 started
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8081
[1] Removed netcam Keep-Alive flagdue to apparent closed HTTP connection.
[1] libjpeg decompression failure on first frame - giving up!
[1] Could not fetch initial image from camera

Environment

Motion version: 3.2.12
ffmpeg version: 2.6.3
Libraries: ffmpeg, mysql, postgresql
Server OS: Arch Linux newest build
-- XybotSmith - 11 Jun 2015

Answer

Topic revision: r1 - 11 Jun 2015, XybotSmith
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.