still no luck with ffmpeg 6_2_1 and FreeBSD 6.3

2010-07-28 Thread John Francis Lee
Hello,

I have still been unable to run ffmpeg on my FreeBSD 6.3 server

[...@28amen ~/www/robinlea.com]$ ffmpeg -i introduction.wav
introduction.mp3
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 28 2010 01:14:30 with gcc 3.4.6 [FreeBSD] 20060305
  configuration: --prefix=/usr/local --mandir=/usr/local/man
--enable-shared --enable-gpl --enable-postproc --enable-avfilter
--enable-avfilter-lavf --enable-pthreads --enable-x11grab
--enable-memalign-hack --cc=cc
--extra-cflags=-I/usr/local/include/vorbis -I/usr/local/include
--extra-ldflags=-L/usr/local/lib --extra-libs=-pthread --disable-debug
--disable-sse --disable-mmx --enable-libopencore-amrnb --enable-version3
--enable-libopencore-amrwb --enable-version3 --enable-libdirac
--enable-libfaac --enable-nonfree --enable-libfaad --enable-libfaadbin
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
  libavutil 50.15. 1 / 50.15. 1
  libavcodec52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter1.19. 0 /  1.19. 0
  libswscale 0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Bus error: 10 (core dumped)

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... but I am
having nothing but headaches with FreeBSD/ffmpeg on my ViaVerio server.

Any help appreciated.

Thanks.


-- 
"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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Fwd: still no luck with ffmpeg 6_2_1 and FreeBSD 6.3

2010-07-29 Thread John Francis Lee
I have lame on the machine, installed in the course of the installation
of ffmpeg, and I can use that to convert from .wav to .mp3.

Would have been nice to have a real ffmpeg available, but I can scratch
my immediate itch this way, lame though I may be :)

Thanks for your help.


 Original Message 
Subject: still no luck with ffmpeg 6_2_1 and FreeBSD 6.3
Date: Thu, 29 Jul 2010 13:43:27 +0700
From: John Francis Lee 
To: freebsd-questions@freebsd.org

Hello,

I have still been unable to run ffmpeg on my FreeBSD 6.3 server

[...@28amen ~/www/robinlea.com]$ ffmpeg -i introduction.wav
introduction.mp3
FFmpeg version 0.6, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 28 2010 01:14:30 with gcc 3.4.6 [FreeBSD] 20060305
  configuration: --prefix=/usr/local --mandir=/usr/local/man
--enable-shared --enable-gpl --enable-postproc --enable-avfilter
--enable-avfilter-lavf --enable-pthreads --enable-x11grab
--enable-memalign-hack --cc=cc
--extra-cflags=-I/usr/local/include/vorbis -I/usr/local/include
--extra-ldflags=-L/usr/local/lib --extra-libs=-pthread --disable-debug
--disable-sse --disable-mmx --enable-libopencore-amrnb --enable-version3
--enable-libopencore-amrwb --enable-version3 --enable-libdirac
--enable-libfaac --enable-nonfree --enable-libfaad --enable-libfaadbin
--enable-libgsm --enable-libmp3lame --enable-libopenjpeg
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
  libavutil 50.15. 1 / 50.15. 1
  libavcodec52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter1.19. 0 /  1.19. 0
  libswscale 0.11. 0 /  0.11. 0
  libpostproc   51. 2. 0 / 51. 2. 0
Bus error: 10 (core dumped)

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... but I am
having nothing but headaches with FreeBSD/ffmpeg on my ViaVerio server.

Any help appreciated.

Thanks.


-- 
"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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: still no luck with ffmpeg 6_2_1 and FreeBSD 6.3

2010-07-29 Thread Roland Smith
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
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpEXfNLIuaFq.pgp
Description: PGP signature


Re: still no luck with ffmpeg 6_2_1 and FreeBSD 6.3

2010-07-29 Thread John Francis Lee
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: still no luck with ffmpeg 6_2_1 and FreeBSD 6.3

2010-07-29 Thread Roland Smith
On Thu, Jul 29, 2010 at 04:39:14PM +0700, John Francis Lee wrote:
> 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.

You might want to talk to ViaVerio about updating your server to something
less ancient (and unsupported) than FreeBSD 6.3! The 6.x branch is not
supported by the ports tree anymore, which is probably why you're having
problems with ffmpeg.

> 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.

The speexdec(1) program from the audio/speex port can convert speex to wav.
 
> 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!

The audio/sox port should be able to convert them, according to
http://sox.sourceforge.net/Docs/Features 

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpc4JSXVtjob.pgp
Description: PGP signature