From owner-freebsd-questions@FreeBSD.ORG Thu Jul 29 09:39:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AA221065672 for ; Thu, 29 Jul 2010 09:39:24 +0000 (UTC) (envelope-from jfl@robinlea.com) Received: from 28amen.org (28amen.org [204.3.153.218]) by mx1.freebsd.org (Postfix) with ESMTP id 13F138FC1C for ; Thu, 29 Jul 2010 09:39:23 +0000 (UTC) Received: from [192.168.1.33] (118.172.78.25.adsl.dynamic.totbb.net [118.172.78.25]) (authenticated bits=0) by 28amen.org (8.14.4/8.13.6) with ESMTP id o6T9dKqU053542; Thu, 29 Jul 2010 09:39:21 GMT Message-ID: <4C514C42.8080805@robinlea.com> Date: Thu, 29 Jul 2010 16:39:14 +0700 From: John Francis Lee User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 MIME-Version: 1.0 To: Roland Smith References: <4C51230F.5090705@robinlea.com> <20100729090828.GC17153@slackbox.erewhon.net> In-Reply-To: <20100729090828.GC17153@slackbox.erewhon.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: still no luck with ffmpeg 6_2_1 and FreeBSD 6.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2010 09:39:24 -0000 Thanks. I thought I had in knocked with lame, but the recorder I'm using, a java applet called nonogong from Hong Kong university, uses an imaADPCM, 4-bit format for its .wav files that lame chokes on. ffmpeg has no problem! But I cannot get ffmpeg to run on my ViaVerio FreeBSD server. The nanogong applet can also use speex, but I don't know how to play back speex. All this has to work in microsoft browsers because that's what everyone who has a computer has her in Thailand. As elsewhere I suppose, still. HTML 5 is coming... but not yet. And to microsoft kicking and screaming. If anyone knows of a way to convert 4bit imaADPCM .wav files to mp3 on a FreeBSD machine I'd be very happy to hear of it! Thanks for your help. On 07/29/2010 04:08 PM, Roland Smith wrote: > On Thu, Jul 29, 2010 at 01:43:27PM +0700, John Francis Lee wrote: >> Hello, > >> I'm trying to make an internet language lab for kids here in Chiangrai. >> The tool I've found to record their voices over the wire (nanogong) >> creates .wav files, but flash and the rest of the world want .mp3 files >> to play back... and they're smaller. I need a way to convert .wav to >> .mp3 files, and ffmpeg is what I use on my linux at home... > > Try the audio/lame port. It's a high-quality mp3 encoder. In some countries > you might need one or several patent licenses to use MP3 encoders. See > http://en.wikipedia.org/wiki/MP3#Licensing_and_patent_issues > Generally most people ignore these patents, I think. > > You might also want to look at the audio/vorbis-tools port. Generally Ogg > Vorbis files are smaller than mp3. Also those tools and its format are not > encumbered by patents. > > For the highest quality, use lossless encoding as used by audio/flac. > > AFAIK, pretty much all sound/multimedia playback programs available on FreeBSD > and Linux support all these formats. > > Roland -- "This message may have been intercepted and read by U.S. government agencies including the FBI, CIA, and NSA and/or the present government of Thailand without notice or warrant or knowledge of sender or recipient." John Francis Lee 246/3 Thanon Kaew Wai Mueang Chiangrai 57000 Thailand