From: Joerg W. <mo...@al...> - 2011-06-15 06:05:40
|
Pranav, Motion doesn't deal with vloopback at all! This is a standalone application, that only duplicates the raw content from one video device into several independent ones. So, it actually does exactly what you want. :-) Brgds Joerg. -- Pranav Tipnis wrote: Thanks Steven for your suggesstion. I created two virtual video devices "/dev/video1" and "/dev/video2" in addition to original device "/dev/video0" using v4l2 loopback driver. But I think the output from motion on /dev/video2 will be in JPEG format. Is this understanding correct? Actually, I want output from motion in raw format so that ffmpeg can encode it to h264 or mpeg4. Is this possible? Regards, Pranav On Tuesday 14 June 2011 04:50 PM, Steven Moix wrote: > For the busy /dev/video0 problem, there is a solution! > > http://www.lavrsen.dk/foswiki/bin/view/Motion/LoopbackDevice > > On Jun 14, 2011, at 1:03 PM, Pranav Tipnis wrote: > > >> Thanks Colin for your reply. >> >> If I use vlc or ffmpeg, "/dev/video0" device will be occupied by them >> and motion application will not be able to run. I want motion >> application running for motion detection. >> >> One probable data flow for live stream could be: >> >> Camera --> motion --> transcoding tool --> browser >> >> But I don't know which transcoding tool to use. ffmpeg does not support >> decoding of MIME multipart JPEG format which is the output format from >> motion. Hence, ffmpeg is not able to transcode it to some other format. >> >> Regards, >> Pranav >> >> On Tuesday 14 June 2011 04:21 PM, Colin Law wrote: >> >>> On 14 June 2011 11:30, Pranav Tipnis<pra...@ei...> >>> wrote: >>> >>> >>>> Hi, >>>> >>>> As far as I know, the motion application outputs JPEG images with >>>> HTTP >>>> header prepended to the JPEG images for live streaming. >>>> >>>> I want to stream live video in some other format such as H264 or >>>> mpeg4. >>>> Does motion support that? Is there some other way to achieve that? >>>> >>>> >>> I use vlc for that. I believe ffmpeg can also do it. >>> >>> Colin >>> >>> >>> >> ------------------------------------------------------------------------------ >> EditLive Enterprise is the world's most technically advanced content >> authoring tool. Experience the power of Track Changes, Inline Image >> Editing and ensure content is compliant with Accessibility Checking. >> http://p.sf.net/sfu/ephox-dev2dev >> _______________________________________________ >> Motion-user mailing list >> Mot...@li... >> https://lists.sourceforge.net/lists/listinfo/motion-user >> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome >> > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Motion-user mailing list > Mot...@li... > https://lists.sourceforge.net/lists/listinfo/motion-user > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome > > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Motion-user mailing list Mot...@li... https://lists.sourceforge.net/lists/listinfo/motion-user http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome |