From owner-freebsd-multimedia@FreeBSD.ORG Sun Jun 1 06:31:58 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 614AF10656BF for ; Sun, 1 Jun 2008 06:31:58 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id F2E168FC12 for ; Sun, 1 Jun 2008 06:31:57 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 13401 invoked by uid 2001); 1 Jun 2008 06:31:56 -0000 Date: Sun, 1 Jun 2008 01:31:56 -0500 From: "Rick C. Petty" To: Alexander Leidinger Message-ID: <20080601063156.GA13314@keira.kiwi-computer.com> References: <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> <20080529170858.GA70632@keira.kiwi-computer.com> <20080530163356.196549a87jpa2gys@webmail.leidinger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080530163356.196549a87jpa2gys@webmail.leidinger.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-multimedia@freebsd.org Subject: Re: pvrxxx recording X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 06:31:58 -0000 On Fri, May 30, 2008 at 04:33:56PM +0200, Alexander Leidinger wrote: > > >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. Sure, but it does the job to decode as well. I just was giving the example of what I use. I use lame because I rip my CDs with it. > >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? Hmm, I don't recall. I spent a lot of time setting up my current scripts to work, and once they did I stopped caring. If it's not broke, don't fix it. I do have troubles sometimes if my cuts aren't right and the demux creates mp3 or mp1 files. Bah! -- Rick C. Petty