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: Using ffmpeg via extpipe (tosiara) 2. Re: Using ffmpeg via extpipe (S?bastien Delafond) 3. Re: Using ffmpeg via extpipe (MrDave) 4. Re: Using ffmpeg via extpipe (S?bastien Delafond) 5. Can I stop detection for a certain time again (Saito.k) ---------------------------------------------------------------------- Message: 1 Date: Mon, 22 Jan 2018 14:38:11 +0200 From: tosiara <tosi...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] Using ffmpeg via extpipe Message-ID: <cachtdwrinu+a2ffndp2uykn5qw_w-ggw6tw2g_z0heceam-...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" There is an example command in motion-dist.conf, check it On Jan 22, 2018 1:23 PM, "S?bastien Delafond" <s...@debian.org> wrote: > Hello, > > my main goal is to produce webm videos with motion; to that end, I > played a bit with extpipe, but no matter what set of switches I passed > ffmepg, it always resulted in: > > "pipe:: Invalid data found when processing input" > > Not sure exactly where the problem occured, I figured I'd take my > testing away from motion by doing the following: > > 1. grab a raw capture from motion, via "extpipe cat > /tmp/foo.raw" > 2. perform more tests with ffmepg on that foo.raw file > > Step #1 went fine, leaving me with a somewhat large foo.raw: file(1) > says "data", which doesn't surprise me, but both ffplay and ffprobe > (with a without "-f rawvideo") fail to recognize or play it. > ffmpeg can't do anything with it either (even a simple encoding to mp4 > fails). > All the ff* tools fail with the same messages: > > - "invalid data when processing input", if I feed them foo.raw on > stdin > > - "Picture size 0x0 is invalid" if I pass foo.raw as a regular > command-line argument > > At this point, I'm not sure what to try next. Is there some extra switch > I need to pass ffmpeg so it can recognize the raw stream produced by > motion ? > > Cheers, > > --Seb > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > 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: Mon, 22 Jan 2018 12:59:41 +0000 (UTC) From: S?bastien Delafond <s...@debian.org> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Using ffmpeg via extpipe Message-ID: <20180122135950....@usenet.piggo.com> On 2018-01-22, tosiara <tosi...@gmail.com> wrote: > There is an example command in motion-dist.conf, check it I should have mentioned that my first try was to simply uncomment that extpipe example (the ffmpeg/h264 one). Leading to the same error message... There really is something that ffmpeg doesn't like with what it receives from motion via extpipe, like my subsequent attempts on foo.raw seem to confirm. Cheers, --Seb ------------------------------ Message: 3 Date: Mon, 22 Jan 2018 07:06:39 -0700 From: MrDave <motionmrd...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Using ffmpeg via extpipe Message-ID: <1742dcaf-abbd-6d5f-fe34-f7b42db1c...@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Can you tell us a couple of things to help determine what is happening? Are the versions of Motion and ffmpeg up to date? (what is the full version number of libavformat reported in the Motion log?) What is the type of camera? Multiple cameras?? Are they disconnecting during the extpipe process? Does the live stream show ok or show corrupt images? On 1/22/2018 5:59 AM, S?bastien Delafond wrote: > On 2018-01-22, tosiara <tosi...@gmail.com> wrote: >> There is an example command in motion-dist.conf, check it > I should have mentioned that my first try was to simply uncomment that > extpipe example (the ffmpeg/h264 one). Leading to the same error > message... > > There really is something that ffmpeg doesn't like with what it receives > from motion via extpipe, like my subsequent attempts on foo.raw seem to > confirm. > > Cheers, > > --Seb > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > 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: 4 Date: Mon, 22 Jan 2018 14:36:03 +0000 (UTC) From: S?bastien Delafond <s...@debian.org> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Using ffmpeg via extpipe Message-ID: <20180122153347....@usenet.piggo.com> On 2018-01-22, MrDave <motionmrd...@gmail.com> wrote: > Are the versions of Motion and ffmpeg up to date? (what is the full > version number of libavformat reported in the Motion log?) motion 4.0, reporting "ffmpeg libavcodec version 57.48.101 libavformat version 57.41.100". > What is the type of camera? Multiple cameras? Are they disconnecting > during the extpipe process? A single Pi NoIR v2, not disconnecting during extpipe. > Does the live stream show ok or show corrupt images? The live stream works like a charm. Cheers, --Seb ------------------------------ Message: 5 Date: Tue, 23 Jan 2018 21:06:04 +0900 From: "Saito.k" <sait...@ibara.ne.jp> To: motion <motion-user@lists.sourceforge.net> Subject: [Motion-user] Can I stop detection for a certain time again Message-ID: <50edf72d-231d-939e-d01d-c503391d1...@ibara.ne.jp> Content-Type: text/plain; charset=utf-8; format=flowed Hi all The other day, I asked "Can stop moving object detection for a certain period if motion is detected once"? And I got a response saying "It is possible by setting event_gap and max_movie_time". So, I set event_gap 5 max_movie_time 300, but that did not work. Next, I set event_gap 300 max_move_time 300, but that did not work either. In these settings, is not it related to still images? Is something good, is not it? Thank you. -- _/_/_/_/_/_/_/_/_/_/_/_/_/_/ Kazz Saito ------------------------------ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ------------------------------ 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 139, Issue 5 *******************************************