From owner-freebsd-multimedia@FreeBSD.ORG Mon Feb 18 13:03:35 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 5D45616A418 for ; Mon, 18 Feb 2008 13:03:35 +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 48A5C13C442 for ; Mon, 18 Feb 2008 13:03:35 +0000 (UTC) (envelope-from steve@sohara.org) Received: (qmail 98547 invoked by uid 16563); 18 Feb 2008 12:59:52 -0000 Received: from unknown (HELO df1) ([127.0.0.1]) (envelope-sender ) by 127.0.0.1 (qmail-ldap-1.03) with SMTP for ; 18 Feb 2008 12:59:52 -0000 Date: Mon, 18 Feb 2008 13:03:32 +0000 From: Steve O'Hara-Smith To: Olivier Nicole 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> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.7; 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: Mon, 18 Feb 2008 13:03:35 -0000 On Mon, 18 Feb 2008 15:19:15 +0700 (ICT) Olivier Nicole 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/