From owner-freebsd-questions@FreeBSD.ORG Thu Oct 23 12:20:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7935616A4B3 for ; Thu, 23 Oct 2003 12:20:33 -0700 (PDT) Received: from flock1.newmail.ru (flock1.newmail.ru [212.48.140.157]) by mx1.FreeBSD.org (Postfix) with SMTP id 0522243F3F for ; Thu, 23 Oct 2003 12:20:32 -0700 (PDT) (envelope-from sfinks12@nm.ru) Received: (qmail 14184 invoked from network); 23 Oct 2003 19:20:27 -0000 Received: from unknown (HELO ts1-a44.Chelyabinsk.dial.rol.ru) (sfinks12@nm.ru@195.239.108.44) by smtpd.newmail.ru with SMTP; 23 Oct 2003 19:20:27 -0000 Date: Fri, 24 Oct 2003 01:25:29 +0600 From: sfinks12 X-Mailer: The Bat! (v2.00.6) Business X-Priority: 3 (Normal) Message-ID: <1619565244.20031024012529@nm.ru> To: freebsd-questions@freebsd.org Resent-From: sfinks12 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-Id: <20031023192032.0522243F3F@mx1.FreeBSD.org> Resent-Date: Thu, 23 Oct 2003 12:20:32 -0700 (PDT) Subject: Re[2]: How i can encode pcm to mp3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: sfinks12@nm.ru List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2003 19:20:33 -0000 Hello Mike, Friday, October 24, 2003, 12:59:14 AM, you wrote: >> I wnat record radio, when i absent. >> When i use # lame , sound don't rec. MM> I'm not sure what you're using to actually record with, but lame can encode MM> pcm data to mp3. MM> __________ ./SOUND_REC 3600 | lame -[some options] - out.mp3 where ./SOUND_REC - my C program which read info from /dev/dsp. In the output file the bad sound, dont bad quatly. when i enter: ./SOUND_REC 3600 | oggenc -[some options] - wav out.wav The file is normal, but file is very large. When i try to enter: ./SOUND_REC 3600 | oggenc -[some options] - wav | lame -[some options] - out.mp3 oggenc -return error. FreeBSD FOREVER, sfinks12 mailto:sfinks12@nm.ru OS: FreeBSD 4.7