Date: Thu, 18 Feb 2010 14:39:16 +0700 (ICT) From: Olivier Nicole <Olivier.Nicole@cs.ait.ac.th> To: freebsd@edvax.de Cc: kline@thought.org, freebsd-questions@freebsd.org Subject: Re: video and FreeBSD? Message-ID: <201002180739.o1I7dG7R028606@banyan.cs.ait.ac.th> In-Reply-To: <20100218082919.880a6ba4.freebsd@edvax.de> (message from Polytropon on Thu, 18 Feb 2010 08:29:19 %2B0100) References: <20100217193330.GA95373@thought.org> <20100218082919.880a6ba4.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, > > If I wanted to capture a video stream (say 30fps) in RAM and > > store it or write to a file and/or sent it to a website or on > > to another computer, what ports are avalable for this kind of > > live capture? > I use mencoder for that. The input for video is a PCI video card > (Haupauge something, using bktr driver), and audio is captured from > a standard PCI sound card (cmi driver). Postprocessing to file or > piping the information is possible. Same thing. For video surveillance I caputure video from a camera with: $ /usr/local/bin/mencoder tv:// -tv driver=bsdbt848:noaudio:norm=NTSC:input=1 -nosound -o 2010-02-10.20-41-18.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=400 -really-quiet Stop the acquisition wil a kill -TERM. The file output is: $ file 2010-02-10.20-41-18.avi 2010-02-10.20-41-18.avi: RIFF (little-endian) data, AVI, 640 x 480, ~30 fps, video: FFMpeg MPEG-4 Best regards, Olivier
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002180739.o1I7dG7R028606>