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: Problem with recording when a there is a "big" moving object (Harlan Daneker) 2. Re: Problem with recording when a there is a "big" moving object (Harlan Daneker) ---------------------------------------------------------------------- Message: 1 Date: Sat, 27 Nov 2021 12:34:15 -0500 From: Harlan Daneker <hdane...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Problem with recording when a there is a "big" moving object Message-ID: <CAC1WkiQtfPs+R9QRmrMZ=Vfd_EM=9=_xXf8Ma5j4iHD=61z...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" ffmpeg_output_movies off movie_extpipe_use on movie_extpipe x264 - --input-res %wx%h --fps %fps --bitrate 2000 --preset ultrafast --quiet -o %f.mp4 On Sat, Nov 27, 2021 at 12:24 PM Harlan Daneker <hdane...@gmail.com> wrote: > You could try this, but you may have to install x264. This is what I'm > using. I'm just guessing. > > movie_extpipe x264 - --input-res %wx%h --fps %fps --bitrate 2000 --preset > ultrafast --quiet -o %f.mp4 > > On Sat, Nov 27, 2021 at 12:16 PM Entmatix <entma...@posteo.net> wrote: > >> Camera is using hevc (h265). I?ve tried to switch both camera and motion >> to same h264 format (camera to h264, motion to mkv). Still have problems. >> It?s kinda strange because 2-3 years ago with similar camera I haven?t >> experience any troubles. >> >> 27 ????. 2021 ?., ? 20:08, Harlan Daneker <hdane...@gmail.com> >> ???????(?): >> >> What is the camera using, not the computer? >> >> On Sat, Nov 27, 2021 at 12:04 PM Entmatix <entma...@posteo.net> wrote: >> >>> Just tried mkv. Unfortunately, no success. Same low fps with glitches. >>> >>> 27 ????. 2021 ?., ? 19:35, Harlan Daneker <hdane...@gmail.com> >>> ???????(?): >>> >>> I've had some issues with cameras using the H265 codec. >>> >>> On Sat, Nov 27, 2021 at 11:14 AM Entmatix <entma...@posteo.net> wrote: >>> >>>> >>>> Hello all. >>>> >>>> Sorry if I do something wrong, it?s my first time asking help in >>>> mailing list. >>>> >>>> Motion 4.3.2 from Debian 11 official repo. ffmpeg version >>>> 4.3.2-0+deb11u2. Motion settings: >>>> >>>> daemon on >>>> setup_mode off >>>> log_level 6 >>>> target_dir /mnt/hdd/motion-records >>>> emulate_motion off >>>> threshold 2000 >>>> noise_level 40 >>>> minimum_motion_frames 3 >>>> event_gap 5 >>>> pre_capture 5 >>>> post_capture 50 >>>> picture_output off >>>> picture_filename %Y%m%d%H%M%S-%q >>>> movie_output on >>>> movie_output_motion off >>>> movie_max_time 600 >>>> movie_quality 80 >>>> movie_codec hevc >>>> movie_filename %t-%v-%Y-%m-%d--%H-%M-%S >>>> webcontrol_port 8080 >>>> webcontrol_localhost on >>>> webcontrol_parms 0 >>>> stream_port 8081 >>>> stream_localhost on >>>> movie_passthrough yes >>>> camera_dir /etc/motion/camera.d >>>> >>>> Camera settings: >>>> >>>> camera_name MyCam1 >>>> camera_id 101 >>>> netcam_url 'rtsp://...' >>>> width 1280 >>>> height 720 >>>> text_left CAMERA 1 >>>> movie_filename %H-%M-%S >>>> >>>> The problem: if there any small changes in frames (little moving >>>> object) then record is fine, but if something is more than 5% of space that >>>> is being recorded then I get 1 fps or even worse (1 fp few seconds) in >>>> recording and a lot of glitches (pixel puzzle, gray regions). Live mode is >>>> ok. Hardware is quite good: ryzen 2600x, 16 Gb RAM, WD Gold. Don?t see any >>>> performance issues. CPU always stays below 5%, RAM below 10%. Connection is >>>> also fine (100 Mbps with 10-15 ms ping). >>>> >>>> I?ve tried to tweak options like event gap, pre/post capture, minimum >>>> motion frames, etc. Nothing works. Don?t know what?s the reason. Log shows >>>> nothing wrong. Any ideas? >>>> _______________________________________________ >>>> 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 >>> >>> _______________________________________________ >>> 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 >>> >>> >>> _______________________________________________ >>> 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 >> >> _______________________________________________ >> 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 >> >> >> _______________________________________________ >> 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, 27 Nov 2021 12:47:42 -0500 From: Harlan Daneker <hdane...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Problem with recording when a there is a "big" moving object Message-ID: <cac1wkiqfbondjtktvmcy63+gn6bor+9_0ttv4trvt81wjay...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" The other thing that comes to mind is the keyframe setting on the camera. https://support.restream.io/en/articles/1668135-wrong-keyframe-warning On Sat, Nov 27, 2021 at 12:34 PM Harlan Daneker <hdane...@gmail.com> wrote: > ffmpeg_output_movies off > movie_extpipe_use on > movie_extpipe x264 - --input-res %wx%h --fps %fps --bitrate 2000 --preset > ultrafast --quiet -o %f.mp4 > > > On Sat, Nov 27, 2021 at 12:24 PM Harlan Daneker <hdane...@gmail.com> > wrote: > >> You could try this, but you may have to install x264. This is what I'm >> using. I'm just guessing. >> >> movie_extpipe x264 - --input-res %wx%h --fps %fps --bitrate 2000 --preset >> ultrafast --quiet -o %f.mp4 >> >> On Sat, Nov 27, 2021 at 12:16 PM Entmatix <entma...@posteo.net> wrote: >> >>> Camera is using hevc (h265). I?ve tried to switch both camera and motion >>> to same h264 format (camera to h264, motion to mkv). Still have problems. >>> It?s kinda strange because 2-3 years ago with similar camera I haven?t >>> experience any troubles. >>> >>> 27 ????. 2021 ?., ? 20:08, Harlan Daneker <hdane...@gmail.com> >>> ???????(?): >>> >>> What is the camera using, not the computer? >>> >>> On Sat, Nov 27, 2021 at 12:04 PM Entmatix <entma...@posteo.net> wrote: >>> >>>> Just tried mkv. Unfortunately, no success. Same low fps with glitches. >>>> >>>> 27 ????. 2021 ?., ? 19:35, Harlan Daneker <hdane...@gmail.com> >>>> ???????(?): >>>> >>>> I've had some issues with cameras using the H265 codec. >>>> >>>> On Sat, Nov 27, 2021 at 11:14 AM Entmatix <entma...@posteo.net> wrote: >>>> >>>>> >>>>> Hello all. >>>>> >>>>> Sorry if I do something wrong, it?s my first time asking help in >>>>> mailing list. >>>>> >>>>> Motion 4.3.2 from Debian 11 official repo. ffmpeg version >>>>> 4.3.2-0+deb11u2. Motion settings: >>>>> >>>>> daemon on >>>>> setup_mode off >>>>> log_level 6 >>>>> target_dir /mnt/hdd/motion-records >>>>> emulate_motion off >>>>> threshold 2000 >>>>> noise_level 40 >>>>> minimum_motion_frames 3 >>>>> event_gap 5 >>>>> pre_capture 5 >>>>> post_capture 50 >>>>> picture_output off >>>>> picture_filename %Y%m%d%H%M%S-%q >>>>> movie_output on >>>>> movie_output_motion off >>>>> movie_max_time 600 >>>>> movie_quality 80 >>>>> movie_codec hevc >>>>> movie_filename %t-%v-%Y-%m-%d--%H-%M-%S >>>>> webcontrol_port 8080 >>>>> webcontrol_localhost on >>>>> webcontrol_parms 0 >>>>> stream_port 8081 >>>>> stream_localhost on >>>>> movie_passthrough yes >>>>> camera_dir /etc/motion/camera.d >>>>> >>>>> Camera settings: >>>>> >>>>> camera_name MyCam1 >>>>> camera_id 101 >>>>> netcam_url 'rtsp://...' >>>>> width 1280 >>>>> height 720 >>>>> text_left CAMERA 1 >>>>> movie_filename %H-%M-%S >>>>> >>>>> The problem: if there any small changes in frames (little moving >>>>> object) then record is fine, but if something is more than 5% of space >>>>> that >>>>> is being recorded then I get 1 fps or even worse (1 fp few seconds) in >>>>> recording and a lot of glitches (pixel puzzle, gray regions). Live mode is >>>>> ok. Hardware is quite good: ryzen 2600x, 16 Gb RAM, WD Gold. Don?t see any >>>>> performance issues. CPU always stays below 5%, RAM below 10%. Connection >>>>> is >>>>> also fine (100 Mbps with 10-15 ms ping). >>>>> >>>>> I?ve tried to tweak options like event gap, pre/post capture, minimum >>>>> motion frames, etc. Nothing works. Don?t know what?s the reason. Log shows >>>>> nothing wrong. Any ideas? >>>>> _______________________________________________ >>>>> 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 >>>> >>>> _______________________________________________ >>>> 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 >>>> >>>> >>>> _______________________________________________ >>>> 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 >>> >>> _______________________________________________ >>> 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 >>> >>> >>> _______________________________________________ >>> 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 185, Issue 25 ********************************************