Date: Mon, 18 Feb 2008 13:03:32 +0000 From: Steve O'Hara-Smith <steve@sohara.org> To: Olivier Nicole <on@cs.ait.ac.th> Cc: freebsd-multimedia@freebsd.org Subject: Re: Reccoding video for security application Message-ID: <20080218130332.9b59207d.steve@sohara.org> In-Reply-To: <200802180819.m1I8JFhv059087@banyan.cs.ait.ac.th> References: <200802140853.m1E8r9Xe060292@banyan.cs.ait.ac.th> <20080214100027.52c7f2ef.steve@sohara.org> <200802150622.m1F6MV8m044126@banyan.cs.ait.ac.th> <20080215065341.61b31997.steve@sohara.org> <200802180819.m1I8JFhv059087@banyan.cs.ait.ac.th>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Feb 2008 15:19:15 +0700 (ICT) Olivier Nicole <on@cs.ait.ac.th> wrote: > Hi, > > > > > > I have a bktr848 video capture card in the machine and I would > > > > > like to reccord video and save it in a decent format (something > > > > > that could easily be played on most movie player on Windows and > > > > > X, xvid, mpeg, etc.) in the full 640x480 resolution. > > > > > > > > > > I have been playing around with fxtv and dtv and transcode and... > > > > > > > > Try ffmpeg - I used it as a VCR for a long time, mencoder > > > > should also work well and provides the very low CPU option of using > > > > nuv (Nuppelvideo) format recording. > > > Mencode has so many options, I don't know how to run it. > > > > Most of them have to do with specifying the output format and > > encodings (it does support rather a lot of them). > > > > Start with something like this > > > > mencoder tv:// -tv driver=bsdbt848:norm=PAL:input=0 -ovc lavc > > -lavcopts vcodec=mpeg4:vbitrate=2400 -oac 'mp3lame' -lameopts br=128 > > out.avi > > I make it work with: > > mencoder tv:// -tv driver=bsdbt848:noaudio:norm=NTSC:input=1 -nosound > -o toto.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=400 > > Thanks. > > Now next question, is there a way to have the date and time added to > the image? Tricky - you can probably do something with the bmovl (bitmap overlay) filter (-vf bmovl) but it looks to be complicated to use[1]. It is of course easy enough to put a timestamp in the filename. There's always the low tech approach - put a calendar clock in the field of view of the camera. [1] Cue for someone who has used this thing to step forward and explain it :) -- C:>WIN | Directable Mirror Arrays The computer obeys and wins. | A better way to focus the sun You lose and Bill collects. | licences available see | http://www.sohara.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080218130332.9b59207d.steve>