video and FreeBSD?

Olivier Nicole Olivier.Nicole at cs.ait.ac.th
Thu Feb 18 07:39:22 UTC 2010


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


More information about the freebsd-questions mailing list