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: motion crashing or stops working (S Andreason) 2. Re: motion crashing or stops working (tosiara) 3. Re: mkv vs mp4 (Harlan Daneker) 4. Re: mkv vs mp4 (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Tue, 9 Feb 2021 08:59:55 -0800 From: S Andreason <sandrea...@gmail.com> To: Motion-user <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] motion crashing or stops working Message-ID: <89dfd046-c1ab-f75d-b8e9-cf5d2fa7d...@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Hi, Yes it is random. I think something in the timing, or the sequence in loading cameras. It crashed upon the daily startup 8 times in January. I think it is less now, since I changed the order in which the multiple camera conf files are loaded. Also after adding a 3rd camera, the exact sequence or timing is hit less often. My latest tactic has been to start with log_level 9, then change to 2 a few minutes after startup with a cron job. Looking for details in what works and what crashes. As far as crashing during the day, I have modified my ptz-control program to wait a second between requests, so it is not crashing as often as before. Also I have not pushed it with lots of mask changes lately. Less activity in winter. However since it crashed again this morning at bootup, twice including the gdb with backtrace, I have pretty good diff between working logs today and yesterday, and the crash logs to submit. I am zipping up the conf files, the motion.log clips, and the gdb backtrace output with my notes in the text file. Note it started writing a .mp4 file, only 48 bytes in length. http://www.seahorsecorral.org/videos/tests/pi1_20210209_motion.zip Thank you for looking at this, Stewart tosiara wrote: > How do you reproduce the crash? Is it random? > > On Sat, Feb 6, 2021 at 6:46 PM S Andreason <sandrea...@gmail.com> wrote: >> Hi, >> I sent a gdb backtrace on Dec.25 but never heard any reply, so am >> assuming it got lost. Here is a resend. I have also had it crash >> yesterday right after startup, without changing the mask file etc. Just >> a few screenshots and then disappeared. >> Please reply with ideas for further testing or config file changes. >> ------------------------------ Message: 2 Date: Tue, 9 Feb 2021 20:20:02 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] motion crashing or stops working Message-ID: <CACHTdwTb28T+BNQu=j58mkfanyvjvqayek85my7vybp-r3w...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" How did you install motion? On Tue, Feb 9, 2021 at 7:03 PM S Andreason <sandrea...@gmail.com> wrote: > > Hi, > > Yes it is random. I think something in the timing, or the sequence in > loading cameras. > > It crashed upon the daily startup 8 times in January. I think it is less > now, since I changed the order in which the multiple camera conf files > are loaded. Also after adding a 3rd camera, the exact sequence or timing > is hit less often. > > My latest tactic has been to start with log_level 9, then change to 2 a > few minutes after startup with a cron job. Looking for details in what > works and what crashes. > > As far as crashing during the day, I have modified my ptz-control > program to wait a second between requests, so it is not crashing as > often as before. Also I have not pushed it with lots of mask changes > lately. Less activity in winter. > > However since it crashed again this morning at bootup, twice including > the gdb with backtrace, I have pretty good diff between working logs > today and yesterday, and the crash logs to submit. > > I am zipping up the conf files, the motion.log clips, and the gdb > backtrace output with my notes in the text file. Note it started writing > a .mp4 file, only 48 bytes in length. > > http://www.seahorsecorral.org/videos/tests/pi1_20210209_motion.zip > > Thank you for looking at this, > Stewart > > tosiara wrote: > > How do you reproduce the crash? Is it random? > > > > On Sat, Feb 6, 2021 at 6:46 PM S Andreason <sandrea...@gmail.com> wrote: > >> Hi, > >> I sent a gdb backtrace on Dec.25 but never heard any reply, so am > >> assuming it got lost. Here is a resend. I have also had it crash > >> yesterday right after startup, without changing the mask file etc. Just > >> a few screenshots and then disappeared. > >> Please reply with ideas for further testing or config file changes. > >> > > > > _______________________________________________ > 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: Tue, 9 Feb 2021 16:50:52 -0500 From: Harlan Daneker <hdane...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] mkv vs mp4 Message-ID: <CAC1WkiRDAKeWx149ZAE4T=m5g5ud7we0omlxudqc5lqqemr...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Thanks, I wasn't aware x264 was an executable. I installed it and it works great. movie_extpipe x264 - --input-res %wx%h --fps %fps --bitrate 2000 --preset ultrafast --quiet -o %f.mp4 *"should be added to motion.conf as an example."* x265 files are somewhat smaller and if you use the mkv container firefox will ask what application to use, but I prefer just using mp4. On Wed, Feb 3, 2021 at 2:01 AM tosiara <tosi...@gmail.com> wrote: > I don't know if Firefox supports H265, but the following plays fine for me: > > movie_extpipe x264 - --input-res %wx%h --fps %fps --bitrate 2000 > --preset ultrafast --quiet -o %f.mp4 > > On Wed, Feb 3, 2021 at 4:15 AM Harlan Daneker <hdane...@gmail.com> wrote: > > > > This works using the h265 codec. The mp4 files will playback using > mplayer or vlc, but will not playback using firefox. Is there a way to make > the mp4 files compatible with firefox? > > > > movie_extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h > -framerate %fps -i pipe:0 -vcodec libx265 -preset ultrafast -f mp4 %f.mp4 > > > > Thanks, > > Harlan > > _______________________________________________ > > 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: 4 Date: Wed, 10 Feb 2021 08:03:07 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] mkv vs mp4 Message-ID: <CACHTdwQrS9xUzCWvKhbjaWVut1YrL+-yjcTOakoQHwgRuh=a...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" This command was in motion-dist.conf ;) On Tue, Feb 9, 2021, 23:52 Harlan Daneker <hdane...@gmail.com> wrote: > Thanks, I wasn't aware x264 was an executable. I installed it and it works > great. > movie_extpipe x264 - --input-res %wx%h --fps %fps --bitrate 2000 --preset > ultrafast --quiet -o %f.mp4 *"should be added to motion.conf as an > example."* > > x265 files are somewhat smaller and if you use the mkv container firefox > will ask what application to use, but I prefer just using mp4. > > On Wed, Feb 3, 2021 at 2:01 AM tosiara <tosi...@gmail.com> wrote: > >> I don't know if Firefox supports H265, but the following plays fine for >> me: >> >> movie_extpipe x264 - --input-res %wx%h --fps %fps --bitrate 2000 >> --preset ultrafast --quiet -o %f.mp4 >> >> On Wed, Feb 3, 2021 at 4:15 AM Harlan Daneker <hdane...@gmail.com> wrote: >> > >> > This works using the h265 codec. The mp4 files will playback using >> mplayer or vlc, but will not playback using firefox. Is there a way to make >> the mp4 files compatible with firefox? >> > >> > movie_extpipe ffmpeg -y -f rawvideo -pix_fmt yuv420p -video_size %wx%h >> -framerate %fps -i pipe:0 -vcodec libx265 -preset ultrafast -f mp4 %f.mp4 >> > >> > Thanks, >> > Harlan >> > _______________________________________________ >> > 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 176, Issue 21 ********************************************