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: H264 in Slackware.. (tosiara) 2. Re: H264 in Slackware.. (tosiara) 3. Re: camera restart (tosiara) ---------------------------------------------------------------------- Message: 1 Date: Tue, 16 Jun 2020 10:17:25 +0300 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] H264 in Slackware.. Message-ID: <CACHTdwRfzJyN=uaixg54uksuzxra4jft9u7u5swsrxkxcmd...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" I don't know how development packages are installed in Slackware, in Ubuntu I use this command: apt-get install autoconf automake build-essential pkgconf libtool libzip-dev libjpeg-dev git libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev libwebp-dev libmicrohttpd-dev autopoint There is also alternative to build ffmpeg from sources and use it with motion: https://github.com/Motion-Project/motion/wiki/ffmpeg/705cc577cdda876f06079ff5caea3b41e94e066e On Mon, Jun 15, 2020 at 5:59 PM JB <yona...@riseup.net> wrote: > > > Hi gang, > > Okay, I've been trying to use the h264 stream in my Axis cameras but > Slackware > doesn't have an obvious 'H264' for Motion to see, I guess. > > Slackware has 'x264' ("x264 is a free library for encoding H264/AVC video > streams."). > > If I want to use h264 to make the video files a little smaller (and still > keep > the clarity, frame speed, mp4 instead of avi, etc), should I build Motion > during the 'config' like this?: > > ./configure --with-ffmpeg=/usr/lib64 --with-x264=/usr/lib64 > > Will this make Motion at least be able to use the h264 to make the files at > the least (I don't have a clue how I can make the actual camera themselves > see > that I have an equivalent H264 installed on my system)? > > Thanks for any ideas with this. It's not really 'important', but would just > be > nice since it would really help me out as all I have are small hdd's (124GB) > and sometimes the videos can be 300+MB in size as avi's, so I was hoping > maybe > as mp4's I can have just as good videos of smaller file size. > > JB > > > _______________________________________________ > 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: 2 Date: Tue, 16 Jun 2020 10:18:47 +0300 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] H264 in Slackware.. Message-ID: <CACHTdwTSAQV6Fj83jmzeDN3D=3znkfushcrhxgn-9oy_n3x...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Sorry, wrong URL. Here it is: https://github.com/tosiara/motion/wiki/ffmpeg On Tue, Jun 16, 2020 at 10:17 AM tosiara <tosi...@gmail.com> wrote: > > I don't know how development packages are installed in Slackware, in > Ubuntu I use this command: > > apt-get install autoconf automake build-essential pkgconf libtool > libzip-dev libjpeg-dev git libavformat-dev libavcodec-dev > libavutil-dev libswscale-dev libavdevice-dev libwebp-dev > libmicrohttpd-dev autopoint > > There is also alternative to build ffmpeg from sources and use it with motion: > https://github.com/Motion-Project/motion/wiki/ffmpeg/705cc577cdda876f06079ff5caea3b41e94e066e > > On Mon, Jun 15, 2020 at 5:59 PM JB <yona...@riseup.net> wrote: > > > > > > Hi gang, > > > > Okay, I've been trying to use the h264 stream in my Axis cameras but > > Slackware > > doesn't have an obvious 'H264' for Motion to see, I guess. > > > > Slackware has 'x264' ("x264 is a free library for encoding H264/AVC video > > streams."). > > > > If I want to use h264 to make the video files a little smaller (and still > > keep > > the clarity, frame speed, mp4 instead of avi, etc), should I build Motion > > during the 'config' like this?: > > > > ./configure --with-ffmpeg=/usr/lib64 --with-x264=/usr/lib64 > > > > Will this make Motion at least be able to use the h264 to make the files > > at > > the least (I don't have a clue how I can make the actual camera > > themselves see > > that I have an equivalent H264 installed on my system)? > > > > Thanks for any ideas with this. It's not really 'important', but would > > just be > > nice since it would really help me out as all I have are small hdd's > > (124GB) > > and sometimes the videos can be 300+MB in size as avi's, so I was hoping > > maybe > > as mp4's I can have just as good videos of smaller file size. > > > > JB > > > > > > _______________________________________________ > > 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, 16 Jun 2020 10:20:07 +0300 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] camera restart Message-ID: <CACHTdwQkD3herza32SVE=eRD8BBa9kxfgo9GY++TfyOZoq=k...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Can you share what exactly patch you used for debugging and what exactly wrong do you see there? On Mon, Jun 15, 2020 at 8:26 PM csspcmotion <mot...@curtissystemssoftware.com> wrote: > > I put some debug in I see ring_out and ring_in changing on stream that is > broken after doing a restart, > > looking at the code some more it appears web stuff is only restarted when all > cameras are restarted. > > Also see the text overlay pass is happening and snapshots are still working > for the individual restarted camera > > but the web stream for that individual even after page refresh is static with > an occasional update on a refresh > > On 6/8/20 12:29 PM, Tim Skopnik wrote: > > As i remember i always had to restart a camera thread twice to get a new live > stream - but not quite sure if i still have the issue with the current > version... > > Am 08.06.2020 um 17:15 schrieb csspcmotion: > > I have been making some mods to motion code ... and I think there could be an > initialization issue that > is being push around with my additions which might be breaking restart .... > too early to tell ... in my last attempt with doing an individual camera > restart I could not > get the stream in browser to resume ... had a black and then a still jpg ... > I refreshed the browser > multiple times and at best could see occasionally a new static jpg. I further > tried it with the other 5 > streams with same result ... ... I then restart from "all cameras" web page > and they all restarted. > also with my mods I had put debug that sees that motion loop on the restarted > camera is iterating. > I have been using movie_passthrough on for all 6 cameras in this setup ... > Is there a call I can add to resync stream ... maybe the ring buffer is hosed > ??? > > > On 6/8/20 7:25 AM, tosiara wrote: > > I tried to restart a camera through the web ui and all works as expected. > Yes, you need to refresh the page after restart, because the web browser does > not do that automatically. But after a single refresh all works fine, I can > see the stream again > > If you can reproduce the issue would be great to see the motion.log and/or > the screen recording > > On Sun, Jun 7, 2020 at 10:00 AM Bau Dev <baudev.cont...@gmail.com> wrote: >> >> I thought I was the only one having this problem... >> It's really weird because the image is stuck but the number of FPS is still >> 5 (I set FPS to 5). >> Also I'm not always able to reproduce this bug. Sometimes restarting the >> camera works well. >> >> Le dim. 7 juin 2020 ? 02:52, csspcmotion <mot...@curtissystemssoftware.com> >> a ?crit : >>> >>> is it possible to restart an individual camera ... I thought I >>> >>> had this working ...but when I use web browser and select a >>> >>> given camera then follow by selecting under action restart, >>> >>> the browser image first goes black then after a couple of >>> >>> manual refreshes it is a static picture never getting update >>> >>> >>> >>> _______________________________________________ >>> 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 > > > -- > tim.skop...@aptico.de, http://www.aptico.de/ > aptico GmbH, Alter Hellweg 60, D-44379 Dortmund > fon: +49 231 185 85-20, fax: +49 231 185 85-25 > Amtsgericht Dortmund: HRB 15084, Gesch?ftsf?hrer: > Dipl. Ing. Hartmut M?ller, Rudolf Slabe (MA), > Tim Skopnik > > _______________________________________________ > 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 168, Issue 44 ********************************************