Experte gesucht für AAC Codec-Problem auf Debian Server


JustMyOpinion

Member
Joined
Jun 10, 2009
Messages
145
Hallo Leute!

Ich möchte das Problem kurz erläutern. Es geht darum, das wir einen Transcoder (Streamtranscoder V3 von Oddcast.org) für einen zusätzlichen AAC bzw. AAC Plus Stream für ein Webradio zum Laufen bekommen wollen. Leider gibt es beim Compilieren mit dem entsprechenden Packet nur Fehler, die wir selbst mit dem Installationsservice der Casting Software nicht lösen können, da sie meinen, es sein ein Problem mit dem Transcoder selbst.

Ich zitiere hier einfach mal die bisherigen Ergebnisse mit Aussicht auf gute Bezahlung (bis zu 50€), sollte Jemand das Problem mit unserem Server in den Griff bekommen:

Vom Service bekamen wir folgende Rückmeldung, nachdem wir die anderen Tools und Plugins bisher ohne sie erfolgreich installieren konnten:
What we have discovered is that the example configuration file that STv3 provides is invalid, it appears the configuration must be wrapped with double quotes to support "AAC Plus" rather than just listing AAC Plus in the config file as the file instructs to do. We have made the adjustments in our software however there still appears to be a problem with AAC & AAC Plus regardless.

>From the ./configure results it appears AAC and AACP are being detected but for some reason not functioning, it could be due to links in the software pointing to outdated libraries or such however we have made a step forward by discovering the issue above. The service will now connect and attempt to stream however no data is being transmitted, this could be due to either the aacp encoder or aacp decoder not being linked or functioning incorrectly. It should also be noted that the stream is listed as MPEG at this stage.

So as it appears there is a problem with Stream Transcoder V3 itself and there unfortunately is not much else i can suggest.
We are more than happy to refund the installation cost as we have come to no result.

If this feature is an absolute must for you than i would recommend Windows 2003 where AAC and AACP appear to function fine, we know another customer has apparently been using this as he had advised us to use an earlier .dll file for the aac support which seems to function better.

Ein paar Tage später wurden wir von einem User mit folgendem Beitrag konfrontiert:
Habt ihr nach dem Compilieren von FAAC auch den streamTranscoder von Hand compiliert?
Wenn ihr fertige Binarys genommen habt, oder den streamTranscoder vor der FAAC Installation compiliert habt, geht kein AAC.
Laut den Fehlermeldungen die du gepostet hast sieht das nämlich genau so aus.

Wenn du AAC+ willst, schau dich mal nach HE-AAC+ und den MP4 Tools um.

Und Experten scheinen deine sogenannten "Serverexperten" nicht zu sein. Man muss keine Webseite neu machen, nur weil der Server neuinstalliert wird.
Einfach kurz ein Backup ziehen, dass man später wieder zurückspielt. Je nachdem wie schnell ein Server neuinstalliert ist, dauert der Gesamte Prozess nicht mal eine Stunde.


Von unserem Webmaster zitiere ich jetzt mal einen Eintrag, der kurz nach diesem Beitrag abgegeben wurde, nachdem auch dieser Hinweis keinen Erfolg einbrachte:
Ich möchte gerne zu diesem Problem mehr Informationen geben.

Folgende dinge funktionieren:

MP3, OggVorbis, Ogg FLAC

ES geht nicht:

AAC und AAC Plus

Beim Kompilieren von streamstranscoder3 bekomme ich bei ./configure folgende ausgabe.


--------------------------------------------------------------------------

Using username "root".
Last login: Wed Nov 4 22:21:54 2009 from p5b2cab83.dip0.t-ipconnect.de
Linux empire-multimedia.de 2.6.18-6-amd64 #1 SMP Sun Feb 10 17:50:19 UTC 2008 x8 6_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
empire-multimedia:~# tar xzf streamtranscoderv3-3.1.11.tar.gz
empire-multimedia:~# cd streamtranscoderv3-3.1.11
empire-multimedia:~/streamtranscoderv3-3.1.11# make
Making all in liboddcast
make[1]: Entering directory `/root/streamtranscoderv3-3.1.11/liboddcast'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Leaving directory `/root/streamtranscoderv3-3.1.11/liboddcast'
make[1]: Entering directory `/root/streamtranscoderv3-3.1.11'
make[1]: Für das Ziel »all-am« ist nichts zu tun.
make[1]: Leaving directory `/root/streamtranscoderv3-3.1.11'
empire-multimedia:~/streamtranscoderv3-3.1.11# clear ? ./configure
empire-multimedia:~/streamtranscoderv3-3.1.11# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for libogg... ok
checking for libvorbis... ok
checking for struct ovectl_ratemanage_arg... yes
checking for libmad (>= 0.12.0)... yes
checking for libFLAC... yes
checking for liblame... yes
checking for faacEncOpen in -lfaac... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating liboddcast/Makefile
config.status: executing depfiles commands
empire-multimedia:~/streamtranscoderv3-3.1.11#

-------------------------------------------------------------------------

Laut ausgabe wir faacEncOPEN gefunden.

Wenn ich jetzt make und make install ausführe und den Transcoder starte steht in der Logdatein von Transcoder3 folgende meldung.


11/09/09 22:59:26 Info(streamTranscoderv3.cpp:131): Encoder 1: AAC: Quality 100/44100Hz/Stereo
11/09/09 22:59:26 Info(streamTranscoderv3.cpp:65): Encoder 1: Disconnected
11/09/09 22:59:26 Info(streamTranscoderv3.cpp:65): Encoder 1: Connecting
11/09/09 22:59:26 Info(streamTranscoderv3.cpp:65): Encoder 1: Socket connected
11/09/09 22:59:26 Info(streamTranscoderv3.cpp:65): Encoder 1: Password OK
11/09/09 22:59:26 Info(streamTranscoderv3.cpp:65): Encoder 1: Not compiled with AAC support
11/09/09 22:59:26 Error(liboddcast.cpp:2028): Not compiled with AAC support
11/09/09 22:59:26 Info(streamTranscoderv3.cpp:65): Encoder 1: Disconnecting
11/09/09 22:59:26 Info(streamTranscoderv3.cpp:65): Encoder 1: Disconnected
11/09/09 22:59:26 Info(streamTranscoderv3.cpp:65): Encoder 1: Encoder init failed
11/09/09 22:59:26 Info(streamTranscoderv3.cpp:65): Encoder 1: Disconnected from server

Das kompilieren hat so scheinbar geklappt. Transcoder ist ausführbar und andere Streamvormate funktionieren ohne probleme nur AAC woll nicht so recht.

Ich wäre Euch sehr dankbar wenn mir jemand helfen könnte.

Mein System ist Debian 4 64 bit

Was ich noch hinzu fügen möchte, das zwar das Senden an sich klappt, das Format jedoch als MPEG ausgegeben wird und nicht als "aac" bzw. "aacp", so wie es sein sollte. Keines der beiden Formate wird gestreamt. Livestreaming hingegen war nie ein Problem, selbst mit Videodaten. Nur über den Transcoder geht es nicht.

Sollte also Jemand ein Experte auf diesem Gebiet sein bzw. in der Lage sein, die entsprechenden Dateien von Hand zu compilieren bzw. bei uns zum Laufen (zumindest mit AAC, habe auch schon gehört, das FAAC unter Debian läuft) zu bekommen, könnt ihr mit einer angemessenen Entlohnung rechnen.

Vielen Dank im Voraus!
 
Bisher nur in einem speziellen Radioforum, in dem man mir leider auch nicht weiter helfen könnte. Hab's inzwischen auch aufgegeben, das es jemals bei uns läuft. Seltsam ist nur, das einige Leute felsenfest behaupten, das sie "FAAC" mit dem Streamtranscoder V3 zum Laufen bekamen. Beweise gibt es allerdings dafür nicht.
 
Gibt's denn was Neues in der Richtung? Bisher hat sich noch Keiner gemeldet...sieht so aus, als muß ich es wohl aufgeben.
 
JustMyOpinion said:
Gibt's denn was Neues in der Richtung? Bisher hat sich noch Keiner gemeldet...sieht so aus, als muß ich es wohl aufgeben.

liegt wohl daran, dass keiner hier ein Radio betreibt ;)
Ich hab nur ein paar Vermutungen...
 
Back
Top