Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: Another newbie with trivial config questions (Eric Fan) 2. Re: Another newbie with trivial config questions (Eric Fan) ---------------------------------------------------------------------- Message: 1 Date: Wed, 25 Aug 2021 18:15:36 +0930 From: Eric Fan <ericva...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Another newbie with trivial config questions Message-ID: <CA+gAjW3YWekPie4fbeHYXuSOx8iBtU-G0Bt=MOPAKwfe9nY=e...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" 0:motion] [ALR] [ALL] config_camera: Camera config file camera-1.conf not found: No such file or directory On Wed, 25 Aug 2021, 6:03 pm tosiara, <tosi...@gmail.com> wrote: > My guess was correct: > > [0:motion] [ALR] [ALL] config_camera: Camera config file camera-1.conf > not found: No such file or directory > > Make sure motion is able to access your config > > And I suggest you ti update to the latest version: > https://github.com/Motion-Project/motion/releases > > > On Wed, Aug 25, 2021 at 10:50 AM Johan Helsingius <j...@julf.com> wrote: > > > > On 25-08-2021 09:26, tosiara wrote: > > > You either specified netcam in a wrong config, or motion cannot find > > > the config you specified > > > > > > Please show the log > > > > Here is the first part of the log: > > > > [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file > /etc/motion/motion.conf > > [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option > "webcontrol_parms" > > [0:motion] [ALR] [ALL] config_camera: Camera config file camera-1.conf > not found: No such file or directory > > [0:motion] [NTC] [ALL] motion_startup: Using default log level (NTC) (6) > > [0:motion] [NTC] [ALL] motion_startup: Motion 4.0 Started > > [0:motion] [NTC] [ALL] motion_startup: Logging to syslog > > [0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL) > > [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level > (NTC) > > [0:motion] [NTC] [ENC] ffmpeg_init: ffmpeg libavcodec version 57.48.101 > libavformat version 57.41.100 > > [0:motion] [NTC] [ALL] main: Camera 0 is from /etc/motion/motion.conf > > [0:motion] [NTC] [ALL] main: Camera 0 is device: /dev/video0 input -1 > > [0:motion] [NTC] [ALL] main: Stream port 0 > > [0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 515 > > [1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection > Enabled > > [0:web_control] [NTC] [STR] http_bindsock: error binding on 127.0.0.1 > port 7999 > > [1:ml1] [NTC] [VID] vid_v4lx_start: Using videodevice /dev/video0 and > input -1 > > [0:web_control] [NTC] [STR] motion_web_control: motion-httpd thread exit > > [1:ml1] [ALR] [VID] vid_v4lx_start: Failed to open video device > /dev/video0: No such file or directory > > > > Here is motion.conf: > > > > webcontrol_html_output on > > webcontrol_port 7999 > > setup_mode off > > webcontrol_parms 2 > > webcontrol_localhost on > > > > camera camera-1.conf > > > > and here partial camera-1.conf: > > > > ffmpeg_output_movies on > > threshold_maximum 0 > > netcam_userpass foo:XXXXXXXX > > stream_quality 85 > > threshold 1536 > > quality 85 > > noise_level 31 > > ffmpeg_output_debug_movies off > > smart_mask_speed 0 > > pre_capture 1 > > noise_tune on > > stream_maxrate 5 > > netcam_url rtsp://nnn.nnn.nnn.nnn:554//h264Preview_01_main > > stream_localhost off > > ffmpeg_variable_bitrate 75 > > ffmpeg_video_codec mp4:h264_omx > > text_changes off > > movie_filename %Y-%m-%d/%H-%M-%S > > movie_passthrough off > > event_gap 30 > > auto_brightness off > > stream_port 8081 > > rotate 0 > > stream_auth_method 0 > > threshold_tune off > > framerate 2 > > emulate_motion off > > snapshot_filename %Y-%m-%d/%H-%M-%S > > output_pictures off > > despeckle_filter > > snapshot_interval 0 > > minimum_motion_frames 20 > > stream_motion off > > target_dir /home/media/Driveway > > text_double on > > post_capture 1 > > lightswitch 25 > > stream_authentication user:XXXXXXXX > > output_debug_pictures off > > > > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Wed, 25 Aug 2021 18:17:00 +0930 From: Eric Fan <ericva...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Another newbie with trivial config questions Message-ID: <ca+gajw0rq25p9u6z6vqjdqpsybgcad5lukqyq5d+a2rl8tf...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" You need to put the full path of the camera conf for it. On Wed, 25 Aug 2021, 6:03 pm tosiara, <tosi...@gmail.com> wrote: > My guess was correct: > > [0:motion] [ALR] [ALL] config_camera: Camera config file camera-1.conf > not found: No such file or directory > > Make sure motion is able to access your config > > And I suggest you ti update to the latest version: > https://github.com/Motion-Project/motion/releases > > > On Wed, Aug 25, 2021 at 10:50 AM Johan Helsingius <j...@julf.com> wrote: > > > > On 25-08-2021 09:26, tosiara wrote: > > > You either specified netcam in a wrong config, or motion cannot find > > > the config you specified > > > > > > Please show the log > > > > Here is the first part of the log: > > > > [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file > /etc/motion/motion.conf > > [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option > "webcontrol_parms" > > [0:motion] [ALR] [ALL] config_camera: Camera config file camera-1.conf > not found: No such file or directory > > [0:motion] [NTC] [ALL] motion_startup: Using default log level (NTC) (6) > > [0:motion] [NTC] [ALL] motion_startup: Motion 4.0 Started > > [0:motion] [NTC] [ALL] motion_startup: Logging to syslog > > [0:motion] [NTC] [ALL] motion_startup: Using default log type (ALL) > > [0:motion] [NTC] [ALL] motion_startup: Using log type (ALL) log level > (NTC) > > [0:motion] [NTC] [ENC] ffmpeg_init: ffmpeg libavcodec version 57.48.101 > libavformat version 57.41.100 > > [0:motion] [NTC] [ALL] main: Camera 0 is from /etc/motion/motion.conf > > [0:motion] [NTC] [ALL] main: Camera 0 is device: /dev/video0 input -1 > > [0:motion] [NTC] [ALL] main: Stream port 0 > > [0:motion] [NTC] [ALL] main: Waiting for threads to finish, pid: 515 > > [1:ml1] [NTC] [ALL] motion_init: Camera 0 started: motion detection > Enabled > > [0:web_control] [NTC] [STR] http_bindsock: error binding on 127.0.0.1 > port 7999 > > [1:ml1] [NTC] [VID] vid_v4lx_start: Using videodevice /dev/video0 and > input -1 > > [0:web_control] [NTC] [STR] motion_web_control: motion-httpd thread exit > > [1:ml1] [ALR] [VID] vid_v4lx_start: Failed to open video device > /dev/video0: No such file or directory > > > > Here is motion.conf: > > > > webcontrol_html_output on > > webcontrol_port 7999 > > setup_mode off > > webcontrol_parms 2 > > webcontrol_localhost on > > > > camera camera-1.conf > > > > and here partial camera-1.conf: > > > > ffmpeg_output_movies on > > threshold_maximum 0 > > netcam_userpass foo:XXXXXXXX > > stream_quality 85 > > threshold 1536 > > quality 85 > > noise_level 31 > > ffmpeg_output_debug_movies off > > smart_mask_speed 0 > > pre_capture 1 > > noise_tune on > > stream_maxrate 5 > > netcam_url rtsp://nnn.nnn.nnn.nnn:554//h264Preview_01_main > > stream_localhost off > > ffmpeg_variable_bitrate 75 > > ffmpeg_video_codec mp4:h264_omx > > text_changes off > > movie_filename %Y-%m-%d/%H-%M-%S > > movie_passthrough off > > event_gap 30 > > auto_brightness off > > stream_port 8081 > > rotate 0 > > stream_auth_method 0 > > threshold_tune off > > framerate 2 > > emulate_motion off > > snapshot_filename %Y-%m-%d/%H-%M-%S > > output_pictures off > > despeckle_filter > > snapshot_interval 0 > > minimum_motion_frames 20 > > stream_motion off > > target_dir /home/media/Driveway > > text_double on > > post_capture 1 > > lightswitch 25 > > stream_authentication user:XXXXXXXX > > output_debug_pictures off > > > > > > > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 182, Issue 16 ********************************************