Ok, but so i need n vlx process for n ipcam ... i'll try it ..

2012/1/22 Colin Law <clanlaw@googlemail.com>
On 22 January 2012 13:19, hemathor <hemathor@gmx.de> wrote:
> On Saturday 21 January 2012 20:44:50 Colin Law wrote:
>> If not then provided VLC can handle it (which I expect it can) you
>> could use VLC to transcode to a mpjpeg stream which motion will
>> understand.  I use this technique to transcode the video from a PVR150
>> to mpjpeg for motion
>
> could you give me a hint how you did that? i'd like to do the same...

Something like
cvlc --no-audio PVR:///dev/video0  --sout
"#transcode{vcodec=MJPG,fps=4,vb=800,width=384,height=288,acodec=none}:std{access=http,mux=mpjpeg,dst=0.0.0.0:8090/stream.mpjpeg}"

That is all on one line of course.  Note the .mpjpeg extension on the
destination stream, that is key to
vlc knowing what it should do.
cvlc is the command line version of vlc that should be automatically
installed (I think).  If that works then you should be able to open
localhost:8090/stream.mpjpeg in a browser and see the image.  Then
motion can be setup to read from there.  You may well not need the
width and height spec, I wanted to shrink the image down to reduce the
load on motion.

Colin

>
> hemathor
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> 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



--
gplus.to/clanlaw

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
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