From owner-freebsd-questions@FreeBSD.ORG Thu Feb 18 07:29:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B7EE106566B for ; Thu, 18 Feb 2010 07:29:23 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2E2DF8FC13 for ; Thu, 18 Feb 2010 07:29:23 +0000 (UTC) Received: from r55.edvax.de (port-92-195-42-70.dynamic.qsc.de [92.195.42.70]) by mx01.qsc.de (Postfix) with ESMTP id 0EFDE3DA9C; Thu, 18 Feb 2010 08:29:20 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o1I7TKFI001507; Thu, 18 Feb 2010 08:29:20 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 18 Feb 2010 08:29:19 +0100 From: Polytropon To: Gary Kline Message-Id: <20100218082919.880a6ba4.freebsd@edvax.de> In-Reply-To: <20100217193330.GA95373@thought.org> References: <20100217193330.GA95373@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: video and FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2010 07:29:23 -0000 On Wed, 17 Feb 2010 11:33:32 -0800, Gary Kline wrote: > Guys, > > 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. > Is there one standard for moving images [jpg, mov, avi]? Not that I know. "Moving images", e. g. animated images, are often implemented using the GIF format. Video, often combined with audio, are encoded using a certain mechanism (e. g. MPEG) and then encapsulated into a container that takes care of video and audio synchonization. > Or does this depend on the camera or associated hardware? Often cameras provide one arbitrary may of representing the information. My cheap Aiptek (AEG Snap) camera, for example, stored images in PNM format, while my Canon S3 IS already uses JPG for that. Other cameras I know use a certain bitmap format. It's the same with video: Some cameras produce AVI, oders MPEG. Those information can be obtained as strem ("webcam functionality") or as a file ("download from camera"). > There isn't much in ports; or it may be that I'm just not > searching on the right keywords. The port mplayer / mencoder / gmencoder is your universal BSD army knife for most tasks. :-) Other interesting ports are gtkam and gphoto2, and of course there's a KDE tool which's name I can't remember, but it's something with "K". It would be easier to find a good tool if you could be more specific on what exactly you're trying to achieve. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...