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 (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Wed, 8 Dec 2021 14:46:03 +0200 From: tosiara <tosi...@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: <cachtdwrfug45q3zfqx_qhoa4b2fjxsxibhw3j3e+xqphuuc...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Could you please reproduce the issue once again with the 4.4 version and collect -d 9 log for us? And if possible, please provide a sample video with issue and without issue. On Thu, Dec 2, 2021 at 4:36 PM Entmatix <entma...@posteo.net> wrote: > > I managed to switch back to version 4.2.1 from 2018 and it works like a > charm. Seems like some kind of regression in after 4.2.1 version(s). > > 27 ????. 2021 ?., ? 20:47, Harlan Daneker <hdane...@gmail.com> ???????(?): > > 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 > > _______________________________________________ > 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 ------------------------------ ------------------------------ 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 186, Issue 2 *******************************************