From owner-freebsd-multimedia@FreeBSD.ORG Fri Feb 15 06:53:44 2008 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6989516A417 for ; Fri, 15 Feb 2008 06:53:44 +0000 (UTC) (envelope-from steve@sohara.org) Received: from sohara.org (sohara.org [192.220.64.179]) by mx1.freebsd.org (Postfix) with ESMTP id 432A613C459 for ; Fri, 15 Feb 2008 06:53:44 +0000 (UTC) (envelope-from steve@sohara.org) Received: (qmail 98681 invoked by uid 16563); 15 Feb 2008 06:50:13 -0000 Received: from unknown (HELO df1) ([127.0.0.1]) (envelope-sender ) by 127.0.0.1 (qmail-ldap-1.03) with SMTP for ; 15 Feb 2008 06:50:13 -0000 Date: Fri, 15 Feb 2008 06:53:41 +0000 From: Steve O'Hara-Smith To: Olivier Nicole Message-Id: <20080215065341.61b31997.steve@sohara.org> In-Reply-To: <200802150622.m1F6MV8m044126@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> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.2; i386-pc-dragonfly) X-Face: %]+HVL}K`P8>+8ZcY-WGHP6j@&mxMo9JH6_WdgIgUGH)JX/usO0%jy7T~IVgqjumD^OBqX, Kv^-GM6mlw(fI^$"QRKyZ$?xx/ Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Reccoding video for security application X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Feb 2008 06:53:44 -0000 On Fri, 15 Feb 2008 13:22:31 +0700 (ICT) Olivier Nicole wrote: > > > 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. > > I tries ffmpeg, but it core dumps both on /dev/bktr and on the file > reccorded with dtv. That's a pain, ffmpeg is a nice little tool when it hasn't been broken. It might be worthwhile seeing if you can find an older package of it and try that. > 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 You may need to specify a different input depending on where your camera is plugged in and how the board is wired. You might want NTSC or SECAM instead of PAL. You can fiddle endlessly with the lavcopts trading off quality, size and CPU utilisation. -- 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/