Motion - Support Question 2014x 01x 29x 210901

couldn't get IP-Cam L-Series working with motion

Question

[Solved] Couldn't get IP-Cam L-Series working with motion

Perhaps this version of motion doesn't work with OpenSuse 13.1 or (more probable) my settings are wrong?

Hi,
I bought a IP-Cam - called L-Series - a PTZ-Cam (without zoom) because in the description they wrote "works with Linux".
After a couple of nights I don't get it to work with motion. So perhaps someone of you can help me?

With Firefox I can see the videostream over http://<IP>/videostream.cgi?/loginuse=<user>?loginpas=<password>?

So I put in motion.conf:

netcam_url  http://<IP>/videostream.cgi?
netcam_userpass <user>:<password>;
netcam_http keep_alive
other settings: default

System is OpenSuse 13.1

/var/log/messages | grep motion gives:

2014-01-29T22:05:30.984950+01:00 localhost motion: [0] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion.conf
2014-01-29T22:05:30.985553+01:00 localhost motion: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;netcam_http&#34;
2014-01-29T22:05:30.985980+01:00 localhost motion: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_port&#34;
2014-01-29T22:05:30.986485+01:00 localhost motion: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_quality&#34;
2014-01-29T22:05:30.986916+01:00 localhost motion: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_motion&#34;
2014-01-29T22:05:30.988096+01:00 localhost motion: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_maxrate&#34;
2014-01-29T22:05:30.988762+01:00 localhost motion: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_localhost&#34;
2014-01-29T22:05:30.990566+01:00 localhost motion: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_limit&#34;
2014-01-29T22:05:30.991945+01:00 localhost motion: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;control_port&#34;
2014-01-29T22:05:30.993890+01:00 localhost motion: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;control_localhost&#34;
2014-01-29T22:05:30.994546+01:00 localhost motion: [0] [NTC] [ALL] motion_startup: Using default log level (NTC) (6)
2014-01-29T22:05:30.994901+01:00 localhost motion: [0] [NTC] [ALL] motion_startup: Motion Git-8619d7c17ce112e7196975905c6e840f345141ba Started
2014-01-29T22:05:30.995251+01:00 localhost motion: [0] [NTC] [ALL] motion_startup: Logging to syslog
2014-01-29T22:05:30.995537+01:00 localhost motion: [0] [NTC] [ALL] motion_startup: Using default log type (ALL)
2014-01-29T22:05:30.995821+01:00 localhost motion: [0] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
2014-01-29T22:05:30.996173+01:00 localhost motion: [0] [NTC] [ALL] become_daemon: Motion going to daemon mode
2014-01-29T22:05:30.996420+01:00 localhost motion: [0] [NTC] [ALL] motion_startup: Motion running as daemon process
2014-01-29T22:05:30.996882+01:00 localhost motion: [0] [NTC] [ENC] ffmpeg_init: ffmpeg LIBAVCODEC_BUILD 3614565 LIBAVFORMAT_BUILD 3609448
2014-01-29T22:05:30.997283+01:00 localhost motion: [0] [NTC] [ALL] main: Thread 1 is from /etc/motion.conf
2014-01-29T22:05:30.997666+01:00 localhost motion: [0] [NTC] [ALL] main: Thread 1 is device: http://192.168.178.36/videostream.cgi input -1
2014-01-29T22:05:30.998051+01:00 localhost motion: [0] [NTC] [ALL] main: Stream port 0
2014-01-29T22:05:30.999655+01:00 localhost motion: [0] [NTC] [ALL] main: Waiting for threads to finish, pid: 3898
2014-01-29T22:05:31.000066+01:00 localhost motion: [1] [NTC] [ALL] motion_init: Thread 1 started , motion detection Enabled
2014-01-29T22:05:31.000589+01:00 localhost motion: [1] [ALR] [NET] netcam_start: Network Camera thread starting... for url (http://192.168.178.36/videostream.cgi)
2014-01-29T22:05:31.001022+01:00 localhost motion[3897]: [0] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion.conf
2014-01-29T22:05:31.001320+01:00 localhost motion[3897]: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;netcam_http&#34;
2014-01-29T22:05:31.001543+01:00 localhost motion[3897]: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_port&#34;
2014-01-29T22:05:31.001755+01:00 localhost motion[3897]: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_quality&#34;
2014-01-29T22:05:31.001965+01:00 localhost motion[3897]: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_motion&#34;
2014-01-29T22:05:31.002175+01:00 localhost motion[3897]: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_maxrate&#34;
2014-01-29T22:05:31.002455+01:00 localhost motion[3897]: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_localhost&#34;
2014-01-29T22:05:31.002751+01:00 localhost motion[3897]: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;webcam_limit&#34;
2014-01-29T22:05:31.002963+01:00 localhost motion[3897]: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;control_port&#34;
2014-01-29T22:05:31.003173+01:00 localhost motion[3897]: [0] [ALR] [ALL] conf_cmdparse: Unknown config option &#34;control_localhost&#34;
2014-01-29T22:05:31.003394+01:00 localhost motion[3897]: [0] [NTC] [ALL] motion_startup: Using default log level (NTC) (6)
2014-01-29T22:05:31.003607+01:00 localhost motion[3897]: [0] [NTC] [ALL] motion_startup: Motion Git-8619d7c17ce112e7196975905c6e840f345141ba Started
2014-01-29T22:05:31.003816+01:00 localhost motion[3897]: [0] [NTC] [ALL] motion_startup: Logging to syslog
2014-01-29T22:05:31.004028+01:00 localhost motion[3897]: [0] [NTC] [ALL] motion_startup: Using default log type (ALL)
2014-01-29T22:05:31.004246+01:00 localhost motion[3897]: [0] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
2014-01-29T22:05:31.004455+01:00 localhost motion[3897]: [0] [NTC] [ALL] become_daemon: Motion going to daemon mode
2014-01-29T22:05:31.031226+01:00 localhost motion: [1] [NTC] [NET] netcam_read_first_header: Found Conn: close header (&#39;Connection: close&#39;)
2014-01-29T22:05:31.032646+01:00 localhost motion: [1] [NTC] [NET] netcam_setup_html: connected, going on to read image.
2014-01-29T22:05:31.056624+01:00 localhost motion: [1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
2014-01-29T22:05:31.059528+01:00 localhost motion: [1] [ALR] [NET] netcam_handler_loop: Camera handler thread [2] started
2014-01-29T22:05:31.060907+01:00 localhost motion: [1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 4 items
2014-01-29T22:05:31.061675+01:00 localhost motion: [1] [WRN] [NET] netcam_next: called with no data in buffer
2014-01-29T22:05:31.283810+01:00 localhost motion: message repeated 22 times: [ [1] [WRN] [NET] netcam_next: called with no data in buffer]
2014-01-29T22:05:58.245723+01:00 localhost motion: [1] [NTC] [NET] netcam_read_html_jpeg: Potential split boundary - 1447 chars flushed, 1 re-positioned

Thanks für an advice.

Michael

Hi,
got it now working with the following net-settings:

netcam_url http://<IP-of-Cam>/videostream.cgi
netcam_userpass <user>:<password>
netcam_http keep_alive
netcam_tolerant_check on

Perhaps this helps someone.

Greetings

Environment

Motion version: 3.2.Git-1.18
ffmpeg version: 2.1.2-1.2
Libraries: ffmpeg, mysql
Server OS: OpenSuse 13.1; Linux 3.11.6-4-desktop
-- MichaelPlagmann - 29 Jan 2014

Answer

Topic revision: r2 - 01 Feb 2014, MichaelPlagmann
Copyright © 1999-2017 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.