LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Having a hard time compiling AAC support into StreamTranscoderV3 (https://www.linuxquestions.org/questions/linux-software-2/having-a-hard-time-compiling-aac-support-into-streamtranscoderv3-600619/)

polemon 11-18-2007 12:04 PM

Having a hard time compiling AAC support into StreamTranscoderV3
 
Hi, I'd like to transcode an MP3-Stream into AAC Plus with STv3.

For that purpose, I installed the necessary FAAC and FAAD librarys and developement libraries.

When configuring, I get a positive response:
Quote:

checking for faacEncOpen in -lfaac... yes

When making, I get a positive response as well, faac seems to be compiled into STv3:
Quote:

/bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -INONE/include -o streamTranscoderv3 streamTranscoderv3.o cbuffer.o sourcethread.o decodethread.o reconnectthread.o mp3decoder.o vorbisdecoder.o socket_client.o liboddcast/liboddcast.a -lpthread -logg -lvorbis -lmad -L/usr/lib -lmp3lame -lm -lvorbisenc -lvorbisfile -lfaac -lm -lFLAC -lm
mkdir .libs
g++ -g -O2 -INONE/include -o streamTranscoderv3 streamTranscoderv3.o cbuffer.o sourcethread.o decodethread.o reconnectthread.o mp3decoder.o vorbisdecoder.o socket_client.o liboddcast/liboddcast.a -lpthread /usr/lib/libmad.so -L/usr/lib /usr/lib/libmp3lame.so /usr/lib/libvorbisenc.so /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/libfaac.so -lstdc++ /usr/lib/libmp4v2.so /usr/lib/libFLAC.so -lm
make[1]: Leaving directory `/root/make/streamtranscoderv3-3.1.11'
libtool does not produce any errors when receiving the '-lfaac' option and g++ links the libfaac.so, without any complains.

However, when I try to run an instance where I try to transcode from MP3 to AAC, I get the following error in the logfile of said transcoder instance:
Quote:

11/04/07 17:41:28 Info(streamTranscoderv3.cpp:65): Encoder 3: Connecting
11/04/07 17:41:28 Info(streamTranscoderv3.cpp:65): Encoder 3: Socket connected
11/04/07 17:41:28 Info(streamTranscoderv3.cpp:65): Encoder 3: Not compiled with AAC Plus support
11/04/07 17:41:28 Error(liboddcast.cpp:2139): Not compiled with AAC Plus support
11/04/07 17:41:28 Info(streamTranscoderv3.cpp:65): Encoder 3: Disconnecting
11/04/07 17:41:28 Info(streamTranscoderv3.cpp:65): Encoder 3: Disconnected
11/04/07 17:41:28 Info(streamTranscoderv3.cpp:65): Encoder 3: Encoder init failed
Then, the transcoder tries to reconnect again, and fails ultimatively.

Please help

--polemon

Daemon2002 02-09-2008 09:21 AM

I have much the same problem on Linux Mandriva.

Have yet to find the solution.

Been trying it since late 2005 actually lol .... not much info on the site itself either about the source code. Haven't found any examples either.

Still same problem.

I've even gone as far as getting tarball source code for all packages involved and compiling with explicit path information.. but no luck yet ..

Daemon2002 02-29-2008 11:57 AM

Did some more searching in the source code ..

For AAC Plus it's also looking for HAVE_AACP flags
I have tried adding -DHAVE_AACP in a couple places now and the compiling looked promising.. but still no luck ..

Daemon2002 04-26-2008 06:45 AM

Looks like he's made the sourcecode available online on SVN now as well :-)

Maybe a C guru can have a look at it ;-)
It's probably something small .. but I haven't found the solution yet.

Then again I'm not a C programmer lol


All times are GMT -5. The time now is 01:23 AM.