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: multiple video feeds set up(one feed, with one dup showing). (Mike Wilson) 2. netcam_start: Invalid netcam service 'rtsp'? (Jim Dodgen) 3. Re: netcam_start: Invalid netcam service 'rtsp'? (Tony Ross) 4. Missing frames in movies (Jack Christensen) ---------------------------------------------------------------------- Message: 1 Date: Sat, 8 Feb 2020 10:48:52 -0500 From: Mike Wilson <knobby2...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] multiple video feeds set up(one feed, with one dup showing). Message-ID: <caaveucqgkg7whpcqxyhjbpyhabzhomyqogb27atnjuvb_hb...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Isn?t there a camera identifier like a name or something? Probably need to uniquely identify them. They are certainly smashing each other right now. On Fri, Feb 7, 2020 at 10:58 PM Robert Thompson < robertjoshuathomp...@gmail.com> wrote: > So, i have one, main conf file. it holds all of the settings besides the > camera and camera config.d references. > > So, i have three usb cameras set up on this machine. Independently, they > all work, testing with vlc. > > Each has its own conf file with just the video location (i.e. > /dev/video1) The motion website shows only one of the video feeds(the last > one?) and shows it twice. > > What may be the cause? I feel like I should move more settings from the > parent to the children config files but, the instructions don't say that. > _______________________________________________ > 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: Sat, 8 Feb 2020 11:31:40 -0800 From: Jim Dodgen <jim.dod...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: [Motion-user] netcam_start: Invalid netcam service 'rtsp'? Message-ID: <CAJ2wgcrzDtm9=5_rovyxrllhya512zxsraoo1_dayr-ofqm...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" What am I doing wrong? how come I don't see "rtsp" in the "must be" list? [0:motion] [NTC] [ALL] motion_startup: Motion 4.3.0+gitUNKNOWN Started .... [2:ml2] [CRT] [NET] netcam_start: Invalid netcam service 'rtsp' - must be http, ftp, mjpg, mjpeg, v4l2 or jpeg. [2:ml2] [ERR] [VID] vid_start: Netcam failed to open ... from my "2.config" ... movie_output OFF netcam_url value rtsp:// xxx:xxx@192.168.0.8:80/cam/realmonitor?channel=1&subtype=0 netcam_keepalive on ... Jim "Jed" Dodgen j...@dodgen.us -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Sat, 8 Feb 2020 12:43:28 -0800 From: Tony Ross <ynots...@hotmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] netcam_start: Invalid netcam service 'rtsp'? Message-ID: <cy4pr0701mb3810a776ce457cc04be178bbde...@cy4pr0701mb3810.namprd07.prod.outlook.com> Content-Type: text/plain; charset="utf-8"; Format="flowed" On 2/8/20 11:31 AM, Jim Dodgen wrote: > What am I doing wrong? how come I don't see "rtsp" in the "must be" list? > ... > netcam_url value > rtsp://xxx:xxx@192.168.0.8:80/cam/realmonitor?channel=1&subtype=0 > <http://xxx:xxx@192.168.0.8:80/cam/realmonitor?channel=1&subtype=0> > ... It's a simple line-editing error. Try: netcam_url rtsp://xxx:xxx@192.168.0.8:80/cam/realmonitor?channel=1&subtype=0 <http://xxx:xxx@192.168.0.8:80/cam/realmonitor?channel=1&subtype=0> -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Sat, 8 Feb 2020 15:57:55 -0500 From: Jack Christensen <christensen.jac...@gmail.com> To: motion-user@lists.sourceforge.net Subject: [Motion-user] Missing frames in movies Message-ID: <ef04a6b8-c481-f0c0-6588-dc27ec6fb...@gmail.com> Content-Type: text/plain; charset="utf-8" Once Motion starts recording a movie, should it continually capture frames at the configured rate until the end of the event? I am using a framerate of 4, but missing frames are common, and only seeing one frame per second in the recorded movie is not unusual. If this is expected behavior, what causes it? I am using Raspberry Pi Zero Ws with V2 Pi cameras. I have observed this with Motion 4.2.2 both on Raspbian Lite Stretch and Raspbian Lite Buster, but it seems more pronounced with Buster. Config file attached. -- Jack Christensen Sent from Linux Mint 19.1 using Mozilla Thunderbird ? -------------- next part -------------- An HTML attachment was scrubbed... -------------- next part -------------- # Rename this distribution example file to motion.conf # # This config file was generated by motion 4.2.1 # Documentation: /usr/share/doc/motion/motion_guide.html # # This file contains only the basic configuration options to get a # system working. There are many more options available. Please # consult the documentation for the complete list of all options. # ############################################################ # System control configuration parameters ############################################################ # Start in daemon (background) mode and release terminal. daemon on # Start in Setup-Mode, daemon disabled. setup_mode off # File to store the process ID. pid_file /home/jack/motion.pid # File to write logs messages into. If not defined stderr and syslog is used. log_file /home/jack/motion.log # Level of log messages [1..9] (EMG, ALR, CRT, ERR, WRN, NTC, INF, DBG, ALL). log_level 6 # Target directory for pictures, snapshots and movies target_dir /home/jack/motion-output # Video device (e.g. /dev/video0) to be used for capturing. videodevice /dev/video0 # Parameters to control video device. See motion_guide.html ; vid_control_params value # The full URL of the network camera stream. ; netcam_url value # Name of mmal camera (e.g. vc.ril.camera for pi camera). mmalcam_name vc.ril.camera # Camera control parameters (see raspivid/raspistill tool documentation) # mmalcam_control_params -rot 180 ############################################################ # Image Processing configuration parameters ############################################################ # Image width in pixels. width 896 # Image height in pixels. height 504 # Maximum number of frames to be captured per second. framerate 4 # Text to be overlayed in the lower right corner of images. text_right %Y-%m-%d\n%T-%q # Show changed pixels in upper right corner text_changes on # Scale text to be larger text_scale 2 ############################################################ # Motion detection configuration parameters ############################################################ # Always save pictures and movies even if there was no motion. emulate_motion off # Threshold for number of changed pixels that triggers motion. #threshold 1500 threshold_tune on # Noise threshold for the motion detection. ; noise_level 32 # Despeckle the image using (E/e)rode or (D/d)ilate or (l)abel. despeckle_filter EedDl # Number of images that must contain motion to trigger an event. minimum_motion_frames 2 # Gap in seconds of no motion detected that triggers the end of an event. event_gap 60 # The number of pre-captured (buffered) pictures from before motion. pre_capture 0 # Number of frames to capture after motion is no longer detected. post_capture 4 # Ignore sudden massive light intensity changes (percentage of picture area that changed intensity.) lightswitch_percent 20 # The number of frames to ignore when the lightswitch condition is triggered. lightswitch_frames 8 ############################################################ # Script execution configuration parameters ############################################################ # Command to be executed when an event starts. ; on_event_start value # Command to be executed when an event ends. ; on_event_end value # Command to be executed when a movie file is closed. on_movie_end /home/jack/sync.sh %f ############################################################ # Picture output configuration parameters ############################################################ # Output pictures when motion is detected picture_output off # File name(without extension) for pictures relative to target directory picture_filename %Y%m%d%H%M%S-%q ############################################################ # Movie output configuration parameters ############################################################ # Create movies of motion events. movie_output on # Maximum length of movie in seconds. movie_max_time 60 # The encoding quality of the movie. (0=use bitrate. 1=worst quality, 100=best) movie_quality 50 # Container/Codec to used for the movie. See motion_guide.html movie_codec mkv # File name(without extension) for movies relative to target directory movie_filename %t-%Y%m%d-%H%M%S-%3v ############################################################ # Webcontrol configuration parameters ############################################################ # Port number used for the webcontrol. webcontrol_ipv6 on webcontrol_port 8080 # Restrict webcontrol connections to the localhost. webcontrol_localhost off # Type of configuration options to allow via the webcontrol. webcontrol_parms 0 ############################################################ # Live stream configuration parameters ############################################################ # The port number for the live stream. stream_port 8081 # Restrict stream connections to the localhost. stream_localhost off ############################################################## # Camera config files - One for each camera. ############################################################## # camera /home/jack/.motion/cam1.conf # camera /home/jack/.motion/cam2.conf # Text to be overlayed in the lower left corner of images text_left %{host} # User defined name for the camera. camera_name CAM1 # Numeric identifier for the camera. camera_id 1 ############################################################## # Directory to read '.conf' files for cameras. ############################################################## ; camera_dir /etc/motion/conf.d ------------------------------ ------------------------------ 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 164, Issue 17 ********************************************