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. Another newbie with trivial config questions (Johan Helsingius) 2. Re: Another newbie with trivial config questions (tosiara) 3. Re: Another newbie with trivial config questions (Steve G) 4. Re: Another newbie with trivial config questions (Johan Helsingius) 5. Re: Another newbie with trivial config questions (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Wed, 25 Aug 2021 08:57:55 +0200 From: Johan Helsingius <j...@julf.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: [Motion-user] Another newbie with trivial config questions Message-ID: <00204cb2-a154-d4e9-1d44-01f46f137...@julf.com> Content-Type: text/plain; charset=utf-8; format=flowed Hi everybody, Trying to get motion running on a debian server to monitor several web cams. No matter what I do, motion seems to try (and fail) to open the non-existent /dev/video0, despite the only camera defined in the config files is configured with netcam_url. What am I missing? Julf ------------------------------ Message: 2 Date: Wed, 25 Aug 2021 10:26:01 +0300 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Another newbie with trivial config questions Message-ID: <cachtdwsdl0ud5mdq-gl2uns0f092wud27xqluaoacsdimn2...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" You either specified netcam in a wrong config, or motion cannot find the config you specified Please show the log On Wed, Aug 25, 2021 at 10:18 AM Johan Helsingius <j...@julf.com> wrote: > > Hi everybody, > > Trying to get motion running on a debian server to monitor > several web cams. No matter what I do, motion seems to > try (and fail) to open the non-existent /dev/video0, despite > the only camera defined in the config files is configured > with netcam_url. > > What am I missing? > > Julf > > > _______________________________________________ > 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 ------------------------------ Message: 3 Date: Wed, 25 Aug 2021 00:07:31 -0800 From: Steve G <simonlebo...@yahoo.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Another newbie with trivial config questions Message-ID: <b3caf359-0627-4d20-9f20-61b8ce844...@yahoo.com> Content-Type: text/plain; charset="utf-8" I just started using the program two days ago. I had the same problem with that video line. Just commented out and everything should work. At least it did for me ?Sent from TypeApp ? On Aug 24, 2021, 23:18, at 23:18, Johan Helsingius <j...@julf.com> wrote: >Hi everybody, > >Trying to get motion running on a debian server to monitor >several web cams. No matter what I do, motion seems to >try (and fail) to open the non-existent /dev/video0, despite >the only camera defined in the config files is configured >with netcam_url. > >What am I missing? > > Julf > > >_______________________________________________ >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: 4 Date: Wed, 25 Aug 2021 10:12:20 +0200 From: Johan Helsingius <j...@julf.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Another newbie with trivial config questions Message-ID: <46e7956a-c385-5abe-afb3-7e43efcf8...@julf.com> Content-Type: text/plain; charset=utf-8; format=flowed On 25-08-2021 10:07, Steve G via Motion-user wrote: > I just started using the program two days ago. I had the same problem with > that video line. Just commented out and everything should work. At least it > did for me My problem is that the HW video interface is not mentioned anywhere in my config files - the only camera specification is the netcam_url one. Julf ------------------------------ Message: 5 Date: Wed, 25 Aug 2021 11:31:40 +0300 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Another newbie with trivial config questions Message-ID: <CACHTdwTt9JL=aOjJ0dne6HkxnGubGoLdiDyVd15=xvpus87...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" 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 > > ------------------------------ ------------------------------ 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 15 ********************************************