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? (John Baker) 2. Re: time elapse bug? (John Baker) 3. Re: time elapse bug? (John Baker) 4. Re: VLC experts? (Colin Law) ---------------------------------------------------------------------- Message: 1 Date: Tue, 16 Feb 2016 19:03:31 +0000 From: John Baker <jba...@dryfish.org.uk> Subject: Re: [Motion-user] time elapse bug? To: motion-user@lists.sourceforge.net Message-ID: <1455649411.1737105.523002842.56ab9...@webmail.messagingengine.com> Content-Type: text/plain 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? 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 > ------------------------------ Message: 2 Date: Tue, 16 Feb 2016 19:08:29 +0000 From: John Baker <jba...@dryfish.org.uk> Subject: Re: [Motion-user] time elapse bug? To: motion-user@lists.sourceforge.net Message-ID: <1455649709.1738220.523009218.58120...@webmail.messagingengine.com> Content-Type: text/plain Err, vlc 3 doesn't exist according to the wiki, I've got vlc 2.2.1 and 2.2.2 is the current version? 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 > > > > On Tue, Feb 16, 2016 at 8:41 PM, John Baker <jba...@dryfish.org.uk> > wrote: > > > Thank you both for the responses. Please review this video in VLC and > > DragonPlayer (for those with KDE): > > > > http://www.javasystemsolutions.com/motion.avi > > > > It was taken using the time lapse feature: > > > > ffmpeg_timelapse 15 > > > > with the following settings on the thread: > > > > text_left Drive > > netcam_url rtsp://xxxx@192.168.0.x:554/0 > > target_dir /tmp > > stream_port 9002 > > threshold 3000 > > netcam_keepalive force > > width 1280 > > height 720 > > lightswitch 50 > > minimum_motion_frames 2 > > > > You should see that DragonPlayer crashes after a while, and VLC only > > displays the top left hand quarter of the image. > > > > Curiously, I have ffmeg set to ogg, which works for videos recorded by > > alerts but not on time lapse: > > > > ffmpeg_video_codec ogg > > > > > > On Tue, Feb 16, 2016, at 03:32 AM, Mike Wilson wrote: > > > The mplayer breakups are due to using udp. Motion has an option to use > > > tcp > > > if your camera can support it. I need to use tcp on mine to keep a clean > > > feed. > > > > > > The initial post shows that the camera is reporting 1280x720, but your > > > config was a different size. It's possible that the netcam stuff will > > > adjust the size, but the time lapse uses the config size. I would make > > > the > > > config match the camera and see what happens to the time lapse stuff. > > > > > > On Mon, Feb 15, 2016 at 5:49 PM Kinney Baughman <baughma...@appstate.edu > > > > > > wrote: > > > > > > > What happens if you record your videos at a lower resolution like the > > > > default of 320 x 240? Do you get the same behavior? > > > > > > > > If not, then I would suspect you're recording at too high a > > resolution. I > > > > never got motion to work well with resolutions as high as you're > > trying to > > > > record. > > > > > > > > Having said that, I've only used web cams so I have no idea what might > > be > > > > expected with an IP camera. > > > > > > > > > > > > > > > > On Mon, Feb 15, 2016 at 3:42 PM, John Baker <jba...@dryfish.org.uk> > > wrote: > > > > > > > >> Curiously, mplayer will show the full picture but it breaks up at > > > >> points, and VLC shows the quarter picture version despite claiming > > (via > > > >> media information) that the video was recorded at 1280x720. > > > >> > > > >> > > > >> On Mon, Feb 15, 2016, at 08:37 PM, John Baker wrote: > > > >> > Hello, > > > >> > > > > >> > When I connect my wanscam camera like this: > > > >> > > > > >> > netcam_url rtsp://user:pass@192.168.x.x:554/0 > > > >> > > > > >> > I see this in the logs: > > > >> > > > > >> > [3] [NTC] [NET] netcam_rtsp_resize_ntc: Netcam: 1280 x 720 => > > Config: > > > >> > 320 x 240 > > > >> > > > > >> > So I assume the camera is reporting the picture size incorrectly. I > > > >> > fixed this with height and width: > > > >> > > > > >> > width 1280 > > > >> > height 720 > > > >> > > > > >> > And the videos created by motion detection are correct. But, the > > time > > > >> > elapse video only shows a quarter of the picture, as if that's > > confused > > > >> > to the frame size. > > > >> > > > > >> > Is there any way to fix this? > > > >> > > > > >> > > > > >> > John > > > >> > > > > >> > > > > >> > > ------------------------------------------------------------------------------ > > > >> > 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 > > > >> > > > >> > > > >> > > ------------------------------------------------------------------------------ > > > >> 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 > > > >> > > > > > > > > > > > > > > > > -- > > > > Kinney Baughman, Technology Support Specialist > > > > Information Technology Services > > > > Appalachian State University > > > > 220 University Hall > > > > Boone, NC 28608 Phone: 828-262-6523 > > > > > > > > > > ------------------------------------------------------------------------------ > > > > 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 > > > > > > > > > ------------------------------------------------------------------------------ > > > 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 > > > > > > ------------------------------------------------------------------------------ > > 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 > > > ------------------------------------------------------------------------------ > 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: Tue, 16 Feb 2016 20:32:57 +0000 From: John Baker <jba...@dryfish.org.uk> Subject: Re: [Motion-user] time elapse bug? To: motion-user@lists.sourceforge.net Message-ID: <1455654777.1757087.523094018.5f3e3...@webmail.messagingengine.com> Content-Type: text/plain I found VLC3, the nightly builds. I installed, checked version (3.0.0-git built Feb 16th) and it still doesn't render. But it renders correctly in mplayer. Curious! VLC is supposed to be rock solid reliable... On Tue, Feb 16, 2016, at 07:08 PM, John Baker wrote: > Err, vlc 3 doesn't exist according to the wiki, I've got vlc 2.2.1 and > 2.2.2 is the current version? > > 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 > > > > > > > > On Tue, Feb 16, 2016 at 8:41 PM, John Baker <jba...@dryfish.org.uk> > > wrote: > > > > > Thank you both for the responses. Please review this video in VLC and > > > DragonPlayer (for those with KDE): > > > > > > http://www.javasystemsolutions.com/motion.avi > > > > > > It was taken using the time lapse feature: > > > > > > ffmpeg_timelapse 15 > > > > > > with the following settings on the thread: > > > > > > text_left Drive > > > netcam_url rtsp://xxxx@192.168.0.x:554/0 > > > target_dir /tmp > > > stream_port 9002 > > > threshold 3000 > > > netcam_keepalive force > > > width 1280 > > > height 720 > > > lightswitch 50 > > > minimum_motion_frames 2 > > > > > > You should see that DragonPlayer crashes after a while, and VLC only > > > displays the top left hand quarter of the image. > > > > > > Curiously, I have ffmeg set to ogg, which works for videos recorded by > > > alerts but not on time lapse: > > > > > > ffmpeg_video_codec ogg > > > > > > > > > On Tue, Feb 16, 2016, at 03:32 AM, Mike Wilson wrote: > > > > The mplayer breakups are due to using udp. Motion has an option to use > > > > tcp > > > > if your camera can support it. I need to use tcp on mine to keep a clean > > > > feed. > > > > > > > > The initial post shows that the camera is reporting 1280x720, but your > > > > config was a different size. It's possible that the netcam stuff will > > > > adjust the size, but the time lapse uses the config size. I would make > > > > the > > > > config match the camera and see what happens to the time lapse stuff. > > > > > > > > On Mon, Feb 15, 2016 at 5:49 PM Kinney Baughman <baughma...@appstate.edu > > > > > > > > wrote: > > > > > > > > > What happens if you record your videos at a lower resolution like the > > > > > default of 320 x 240? Do you get the same behavior? > > > > > > > > > > If not, then I would suspect you're recording at too high a > > > resolution. I > > > > > never got motion to work well with resolutions as high as you're > > > trying to > > > > > record. > > > > > > > > > > Having said that, I've only used web cams so I have no idea what might > > > be > > > > > expected with an IP camera. > > > > > > > > > > > > > > > > > > > > On Mon, Feb 15, 2016 at 3:42 PM, John Baker <jba...@dryfish.org.uk> > > > wrote: > > > > > > > > > >> Curiously, mplayer will show the full picture but it breaks up at > > > > >> points, and VLC shows the quarter picture version despite claiming > > > (via > > > > >> media information) that the video was recorded at 1280x720. > > > > >> > > > > >> > > > > >> On Mon, Feb 15, 2016, at 08:37 PM, John Baker wrote: > > > > >> > Hello, > > > > >> > > > > > >> > When I connect my wanscam camera like this: > > > > >> > > > > > >> > netcam_url rtsp://user:pass@192.168.x.x:554/0 > > > > >> > > > > > >> > I see this in the logs: > > > > >> > > > > > >> > [3] [NTC] [NET] netcam_rtsp_resize_ntc: Netcam: 1280 x 720 => > > > Config: > > > > >> > 320 x 240 > > > > >> > > > > > >> > So I assume the camera is reporting the picture size incorrectly. I > > > > >> > fixed this with height and width: > > > > >> > > > > > >> > width 1280 > > > > >> > height 720 > > > > >> > > > > > >> > And the videos created by motion detection are correct. But, the > > > time > > > > >> > elapse video only shows a quarter of the picture, as if that's > > > confused > > > > >> > to the frame size. > > > > >> > > > > > >> > Is there any way to fix this? > > > > >> > > > > > >> > > > > > >> > John > > > > >> > > > > > >> > > > > > >> > > > ------------------------------------------------------------------------------ > > > > >> > 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 > > > > >> > > > > >> > > > > >> > > > ------------------------------------------------------------------------------ > > > > >> 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 > > > > >> > > > > > > > > > > > > > > > > > > > > -- > > > > > Kinney Baughman, Technology Support Specialist > > > > > Information Technology Services > > > > > Appalachian State University > > > > > 220 University Hall > > > > > Boone, NC 28608 Phone: 828-262-6523 > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > 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 > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > 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 > > > > > > > > > ------------------------------------------------------------------------------ > > > 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 > > > > > ------------------------------------------------------------------------------ > > 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: 4 Date: Tue, 16 Feb 2016 20:55:56 +0000 From: Colin Law <clan...@gmail.com> Subject: Re: [Motion-user] VLC experts? To: Motion discussion list <motion-user@lists.sourceforge.net> Message-ID: <CAL=0glur92s-v8hql_mm8arp_k9a65bb5cxfpmabheyx_n4...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 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 End of Motion-user Digest, Vol 117, Issue 14 ********************************************