On Tue, May 17, 2005 at 05:59:36PM +1000, Steve Murdoch wrote: > This is way off topic I know but some feedback would be appreciated. > > I currently capture video from several remote sites using dlink dcs900w > cameras > to a centralised windows application over the internet. > > The application saves the video in avi format. The windows app is > proving very unreliable > and needs to be replaced. > > The goal is to get a days worth of video stored with no input from staff > at the remote site. > > The answer I have come up with is to put an openbsd box at each site. > Use wget to captutre still images from the device and then ffmpeg to > convert the stills to an mpeg or mpegs > Tar the videos and email them to me at the end of the day. > > Some scripting (Perl possibly ?) would be needed to capture the > appropriate amount of frames per minute > an then automate the mpeg conversion and delivery of the finished product.
what kind of frame rate are you thinking? how many frames would be in a sequence (a single mpeg file)? > I have never used wget,ffmpeg or perl but from what I have read this > sounds possible and not too complicated. > > Will this work ? I don't see that ffmpeg has a jpeg decoder ... $ ffmpeg -formats 2>/dev/null | grep -i jpeg DE mjpeg MJPEG video E mpjpeg Mime multipart JPEG format E singlejpeg single JPEG image DEA adpcm_ima_smjpeg EV ljpeg DEV D mjpeg D V D mjpegb and indeed: $ ffmpeg -i test.jpg test.out ... test.jpg: Unknown format you'll probably want to use 'convert' from ImageMagick. I'm pretty sure convert can change a jpeg into a raw YUV frame. BTW, transcode has an interface to ImageMagick (and can encode to more formats than ffmpeg can). the current transcode port does not build IM support though, since there are some issues with it. if you want to help get it working, let me know. -- <[EMAIL PROTECTED]>

