From owner-freebsd-multimedia@FreeBSD.ORG Fri May 30 14:51:39 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 90F681065672 for ; Fri, 30 May 2008 14:51:39 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 54B788FC16 for ; Fri, 30 May 2008 14:51:39 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5751E.dip.t-dialin.net [84.165.117.30]) by redbull.bpaserver.net (Postfix) with ESMTP id E0B4C2E0A4; Fri, 30 May 2008 16:34:00 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 419681140A1; Fri, 30 May 2008 16:33:58 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m4UEXvks092587; Fri, 30 May 2008 16:33:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 30 May 2008 16:33:56 +0200 Message-ID: <20080530163356.196549a87jpa2gys@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 30 May 2008 16:33:56 +0200 From: Alexander Leidinger To: rick-freebsd@kiwi-computer.com References: <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> <20080529170858.GA70632@keira.kiwi-computer.com> In-Reply-To: <20080529170858.GA70632@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.669, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10, TW_MK 0.08, TW_RX 0.08, TW_VR 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-multimedia@freebsd.org Subject: Re: pvrxxx recording 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, 30 May 2008 14:51:39 -0000 Quoting "Rick C. Petty" (from Thu, 29 May 2008 12:08:58 -0500): > Then, in parallel, I convert & compress the audio and video streams. For > the audio, I make a named pipe and decode using audio/lame: > > mkfifo $TMP_PREFIX.wav > lame --decode $TMP_PREFIX.mp2 $TMP_PREFIX.wav As one of the lame developers: lame is not a decoder, it is a encoder. You are better off by using an decoder to decode this. I would use madplay. > then encode into AC3 using multimedia/ffmpeg: > > ffmpeg -i $TMP_PREFIX.wav -y -vn -ab 192000 -acodec ac3 -ar 48000 -ac 2 \ > $TMP_PREFIX.ac3 ffmpeg does not understand mp2 inputs? Bye, Alexander. -- We are what we pretend to be. -- Kurt Vonnegut, Jr. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137