From: Angel C. <ac...@te...> - 2008-11-07 22:14:09
|
El vie, 07-11-2008 a las 16:24 +0100, Louis-David Mitterrand escribió: > Hi, > Hi Louis-David, > I'm trying to connect a Linksys PTZ (WVC200) camera to motion but get > this error: > > netcam_start: libjpeg decompression failure on first frame - giving up! > What version of motion are you using ?! > This is when using there (supposedly) mjpeg output. > http://en.wikipedia.org/wiki/MJPEG 1 -. mjpeg = Motion jpeg codec 2-. mjpeg = jpeg multipart stream Motion only support second option not decode for Motion Jpeg codec. So please get latest stable version of motion and run in debug mode : ./motion -n -d 9 2>&1 2> debug.log > My configuration: > > netcam_url http://linksys-ptz.apartia.fr/img/mjpeg.cgi > > When trying the camer URL with mplayer I see the image fine. Use http://www.lavrsen.dk/twiki/bin/view/Motion/MjpegSniffer and post the capture file in Twiki , http://www.lavrsen.dk/twiki/bin/view/Motion/NetcamMjpegStreamDumps > Thanks, > Cheers, -- Angel Carpintero ack ( at ) telefonica ( dot ) net Key fingerprint = 3FD3 9C90 149E 7824 CECD 6BCF AC2C CA61 6EF1 B90D "No basta saber, hay que aplicar lo que se sabe; no basta querer hacerlas cosas, hay que hacerlas". "Knowing is not enough; we must apply. Willing is not enough; we must do" Johann Wolfgang von Goethe |