LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-18-2007, 12:04 PM   #1
polemon
Member
 
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Rep: Reputation: 31
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
 
Old 02-09-2008, 09:21 AM   #2
Daemon2002
LQ Newbie
 
Registered: Apr 2003
Location: Amsterdam
Distribution: Mandriva 2006 & 2007
Posts: 5

Rep: Reputation: 0
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 ..
 
Old 02-29-2008, 11:57 AM   #3
Daemon2002
LQ Newbie
 
Registered: Apr 2003
Location: Amsterdam
Distribution: Mandriva 2006 & 2007
Posts: 5

Rep: Reputation: 0
Unhappy

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

Last edited by Daemon2002; 04-26-2008 at 06:43 AM.
 
Old 04-26-2008, 06:45 AM   #4
Daemon2002
LQ Newbie
 
Registered: Apr 2003
Location: Amsterdam
Distribution: Mandriva 2006 & 2007
Posts: 5

Rep: Reputation: 0
Talking

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
 
  


Reply

Tags
aac, faac, mp3, plus, streaming, transcode


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling or installing gtkpod-aac Steel3 Linux - Software 2 02-10-2006 07:39 AM
aac/m4a support for JUK / decent aac music players reformedgeek Linux - Newbie 1 04-23-2005 02:52 PM
Rhythbox, Not working AAC Support zirzop Linux - Software 3 08-31-2004 08:34 AM
Compiling in ACPI support on Compaq 2135CA (system crashes while compiling) Dag Linux - Laptop and Netbook 20 07-30-2004 07:56 PM
compiling qt with thread support stevenhasty Linux - Software 1 07-03-2003 12:07 PM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration