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: time elapse bug? (Colin Law) 2. Re: VLC experts? (John Baker) 3. Record raw video (John Baker) 4. Re: Record raw video (Adam Ali) 5. Re: Record raw video (John Baker) 6. core dump (John Baker) ---------------------------------------------------------------------- Message: 1 Date: Tue, 16 Feb 2016 21:03:24 +0000 From: Colin Law <clan...@gmail.com> Subject: Re: [Motion-user] time elapse bug? To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <CAL=0glskm+3dm5knk-dqaqkcu2+gubwpr8eapf1o_++ulsy...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 On 16 February 2016 at 19:03, John Baker <jba...@dryfish.org.uk> wrote: > I'm using an ancient version it seems :( > > jbaker@squiffle:~/dev/jss-sso/sso/trunk/java$ vlc -v > VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision > 2.2.1-0-ga425c42) > [0000000001b02148] core libvlc: Running vlc with the default interface. > Use 'cvlc' to use vlc without interface. > > Installed by default with Ubuntu 15.10. I'll upgrade. > > I'm curious to whether you know why the video is not an ogg? I have no trouble showing it using the exact same version of vlc (on Ubuntu 15.10). I guess it is a problem with codecs or something. Colin > > > On Tue, Feb 16, 2016, at 06:59 PM, tosiara wrote: >> I have no problems playing your sample video in VLC 3.0.0 >> >> Reference picture: >> https://img-fotki.yandex.ru/get/68556/73339514.3a/0_10b819_c9b34c95_orig.png >> > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome ------------------------------ Message: 2 Date: Tue, 16 Feb 2016 21:12:10 +0000 From: John Baker <jba...@dryfish.org.uk> Subject: Re: [Motion-user] VLC experts? To: motion-user@lists.sourceforge.net Message-ID: <1455657130.1766912.523131570.2a365...@webmail.messagingengine.com> Content-Type: text/plain I've found the documentation for vlc usage very poor; this is something I pulled from the 'net and seemed to work, before motion (mr dave's fork) supported rtsp. I don't need to worry now I'm confident the timelapse videos are correct. I was considering using it as a non-motion based timelapse solution, and was curious to whether the command was documented somewhere. On Tue, Feb 16, 2016, at 08:55 PM, Colin Law wrote: > On 16 February 2016 at 18:42, John Baker <jba...@dryfish.org.uk> wrote: > > Are there any VLC experts out there? I've written this to solve the time > > lapse problem: > > > > cvlc rtsp://192.168.0.x:554/11 --rtsp-user xx --rtsp-pwd xx --sout > > '#transcode{vcodec=jpeg,vb=4000,fps=10}:std{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=0.0.0.0:10000/go.mpg,delay=0}' > > --no-audio > > but it doesn't quite work, and I can't find a VLC option to record every > > Xth frame, ie every 10 seconds. > > What doesn't quite work? Not knowing what the problem is makes it > difficult to suggest answers but here are a couple of thoughts. > > I don't think you need the > {mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a} > any more, I think that is history. I don't know whether it does any > harm though. > > I think (though may be wrong) that the url has to be .mpjpeg, at least > that is what I do, so something like dst=0.0.0.0:10000/go.mpjpeg > > I don't know about the --no-audio, I have acodec=none inside the > transcode instead, but --no-audio may have the same effect. > > What is the delay=0 for? > > I don't know of a vlc option to only record every Xth frame. Where I > have seen timelapse created it has been by using vlc (for example) to > capture images and then ffmpeg to stitch them back together. > > Colin > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome ------------------------------ Message: 3 Date: Wed, 17 Feb 2016 12:53:01 +0000 From: John Baker <jba...@dryfish.org.uk> Subject: [Motion-user] Record raw video To: motion-user@lists.sourceforge.net Message-ID: <1455713581.1638967.523741330.100ad...@webmail.messagingengine.com> Content-Type: text/plain Hello Is it possible for motion to record a continuous video, ie not timelapse, just a raw stream? I appreciate vlc or something could do this but it's another thing to configure - and as motion has got the stream, it would be nice if it could write it to disc. John ------------------------------ Message: 4 Date: Thu, 18 Feb 2016 11:47:19 +0700 From: Adam Ali <adamjur...@gmail.com> Subject: Re: [Motion-user] Record raw video To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <cam5sjaudq-7dnscdx4gpswoporjocdd-y2cfk+2lf1towpb...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I dont quite understand u mean after the "motion detection" it will continue save the picture and eventually encode it (after you kill the process) ? if that whats you mean,you may start looking at event_gap config: # Event Gap is the seconds of no motion detection that triggers the end of > an event. > # An event is defined as a series of motion images taken within a short > timeframe. > # Recommended value is 60 seconds (Default). The value -1 is allowed and > disables > # events causing all Motion to be written to one single movie file and no > pre_capture. > # If set to 0, motion is running in gapless mode. Movies don't have gaps > anymore. An > # event ends right after no more motion is detected and post_capture is > over. > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 5 Date: Thu, 18 Feb 2016 07:58:18 +0000 From: John Baker <jba...@dryfish.org.uk> Subject: Re: [Motion-user] Record raw video To: motion-user@lists.sourceforge.net Message-ID: <1455782298.2238318.524633082.77ace...@webmail.messagingengine.com> Content-Type: text/plain I'm asking if motion can record a raw video as well as the other options, such as timelapse, record motion on detection, snapshots, etc. Given disc space is practically free, a range of video output options seems sensible. On Thu, Feb 18, 2016, at 04:47 AM, Adam Ali wrote: > I dont quite understand > u mean after the "motion detection" it will continue save the picture > and > eventually encode it (after you kill the process) ? > > if that whats you mean,you may start looking at event_gap config: > > # Event Gap is the seconds of no motion detection that triggers the end > of > > an event. > > # An event is defined as a series of motion images taken within a short > > timeframe. > > # Recommended value is 60 seconds (Default). The value -1 is allowed and > > disables > > # events causing all Motion to be written to one single movie file and no > > pre_capture. > > # If set to 0, motion is running in gapless mode. Movies don't have gaps > > anymore. An > > # event ends right after no more motion is detected and post_capture is > > over. > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome ------------------------------ Message: 6 Date: Thu, 25 Feb 2016 20:35:00 +0000 From: John Baker <jba...@dryfish.org.uk> Subject: [Motion-user] core dump To: motion-user@lists.sourceforge.net Message-ID: <1456432500.2642921.532057194.59531...@webmail.messagingengine.com> Content-Type: text/plain Oh dear. [5] [NTC] [NET] netcam_rtsp_open_context: Using tcp transport [1] [WRN] [NET] netcam_init_jpeg: no new pic, no signal rcvd [1] [WRN] [NET] netcam_init_jpeg: no new pic, no signal rcvd [1] [WRN] [NET] netcam_init_jpeg: no new pic, no signal rcvd [1] [WRN] [NET] netcam_init_jpeg: no new pic, no signal rcvd Segmentation fault (core dumped) [root@pi motion]# coredumpctl -o /tmp/motion.core dump /usr/local/bin/motion PID: 667 (motion) UID: 0 (root) GID: 0 (root) Signal: 11 (SEGV) Timestamp: Thu 2016-02-25 09:12:22 GMT (11h ago) Command Line: motion Executable: /usr/local/bin/motion Control Group: /user.slice/user-1000.slice/session-c1.scope Unit: session-c1.scope Slice: user-1000.slice Session: c1 Owner UID: 1000 (jbaker) Boot ID: 9727ec6d99d14d3f91eeceb376e8725e Machine ID: 20d4f52b53de4dd9aa7ac72e93285b0a Hostname: pi Coredump: /var/lib/systemd/coredump/core.motion.0.9727ec6d99d14d3f91eeceb376e8725e.667.1456391542000000000000.lz4 Message: Process 667 (motion) of user 0 dumped core. Stack trace of thread 685: #0 0x0000000000032910 netcam_rtsp_open_context (motion) #1 0x0000000000032f80 netcam_connect_rtsp (motion) #2 0x0000000000020f04 netcam_handler_loop (motion) #3 0x0000000076f09f98 start_thread (libpthread.so.0) ------------------------------ ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 ------------------------------ _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user End of Motion-user Digest, Vol 117, Issue 15 ********************************************