Click to See Complete Forum and Search --> : Multi-Media Apps: Lame, Mpeg4IP, Faac, Faad2, DSS4


Sastraxi
12-24-2002, 01:01 PM
This lesson hopes to teach you one thing: CVS is a ***** :D

Okay, so I've got my Celeron 733, 384MB of RAM, AC'97 card, Debian Woody, all working perfectly. I decided I wanted to stream some christmas music to my friends and family from this computer. Fine, right? I looked it up, and if I wanted my favourite codec, AAC, I'd have to use Darwin Streaming Server 4 (DSS4) and MPEG4IP to create the Mp4 files. As they say about 10 times in Lord of the Rings, "and so it begins."

I decided to get everything from CVS.cvs -d:pserver:anonymous@cvs.mpeg4ip.sourceforge.net:/cvsroot/mpeg4ip login
cvs -z9 -d:pserver:anonymous@cvs.mpeg4ip.sourceforge.net:/cvsroot/mpeg4ip co mpeg4ipSo, I got MPEG4IP, configured, made it, installed it, etc. Unfortunately, it doesn't come with lame anymore (darn CVS!!). So, I had to go get that and install it.cvs -d:pserver:anonymous@cvs.lame.sourceforge.net:/cvsroot/lame login
cvs -z9 -d:pserver:anonymous@cvs.lame.sourceforge.net:/cvsroot/lame co lame
After installing this, MPEG4IP didn't give me any errors. Good.

One thing!! I didn't install libsndfile-dev before I compiled MPEG4IP, and thus FAAC (which ships with it) could only accept raw input. Also, the FAAC version that ships with MPEG4IP is very old (a year and a half old), and its quality is acceptable at best. This is why I decided to try to get the latest FAAC version (awesome quality), and guess what?

It doesn't work. I have no clue why. People say my Perl version is out of date from my libtool (or is it modtools?), anyway, everything else installs and compiles just fine, so I don''t know.

I have FAAC working from an August 23rd snapshot on my Win2k computer, so I just encode the files and use Samba to get them over to my Linux box. Works pretty well. I may attempt to compile using this snapshot at one point, but not today :).

So, I've got LAME, MPEG4IP, an old version of FAAC and an old version of FAAD (oct. 26 2001 code :/). Now, I wanted to install Darwin Streaming Server. BELIEVE ME when I say that the pre-built binaries for RH 7.2 will work on any distrobution, and are so much easier to use. Sign up, download them, run ./Install. That's it, you're done. Then you can administer it at http://localhost:1220/.