LinuxQuestions.org
Help answer threads with 0 replies.
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 05-24-2009, 04:54 PM   #1
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190

Rep: Reputation: 51
Ices0 mp4 support with libfaad on debian lenny


I recently installed debian on my computer and want to use it with icecast2 and ices0 to stream my music.
Since ices0 can't be installed from the repositories I compile ices0-0.4 from source.
Most of my music is mp3, but some files are m4a.
I tried compiling ices0 with several other package, but can't find the correct options for MP4 support.
I have libfaad en libfaad-dev installed( I don't know which version), shouldn't this be enough for MP4 support?

When I run the ./configure of ices0 it prints the lines:

Code:
checking faad.h usability... yes
checking faad.h presence... yes
checking for faad.h... yes
checking for MP4Read in -lmp4v2... no
Could not find libfaad, MP4 transcoding disabled
checking for faad.h... (cached) yes
I ran whereis libfaad and found it was located in /usr/lib.
I included the option --with-faad, but than the script also gives an error it can't find libfaad.
I ran ./configure --with-faad=/usr/lib and got:

Code:
checking faad.h usability... yes
checking faad.h presence... yes
checking for faad.h... yes
checking for MP4Read in -lmp4v2... no
configure: error: Could not find libfaad
This time the configure script even stops.
Has anyone got any clue why I can't compile using libfaad?
Or am I missing a package that supplies some kind of libmp4v2 file?

Has anyone got a suggestion?

Thanks in advance,
Hugo
 
Old 05-25-2009, 02:56 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2021 CentOS7.9 + 50+ other Linux OS, for test only.
Posts: 17,483

Rep: Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633Reputation: 3633
Quote:
configure: error: Could not find libfaad
Either it is a misprint, or libfaad doesn't work without libmp4v2.
http://resare.com/libmp4v2/dist/
> libmp4v2-1.5.0.1.tar.bz2
... Install 'libmp4v2' and the error message disappears.

Ices0 .... todays version works .... ices-0.4.tar.gz is buggy.
http://people.xiph.org/~brendan/snapshots/ices0/
> > ices-0.4-20090525.tar.gz

!! Remember : ices0 depends on 'libshout'
# apt-get install libshout3-dev
.....
Other requirements : python2.5-dev, libmp3lame-dev, (libperl-dev).
.....
Good luck !
.....

Last edited by knudfl; 05-26-2009 at 02:24 PM.
 
Old 05-25-2009, 06:22 PM   #3
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190

Original Poster
Rep: Reputation: 51
Thanks knudfl,

That gave me a push in the right direction.
I just tried compiling the snapshot of ices0.4 which has the same problem.
Apparently libmp4v2 is also need apart from libfaad.

Therefore I compiled libmp4v2 using your source.
I found a snapshot of it on googlecode earlier but ices wasn't able to compile against it.
So now I have a new version of ices-0.4 installed whihc is linked against libmp4v2.
Only .m4a files can't still be played because I get a segfault.

I hope to get that solved although I have now clue where to start solving a segfault.
 
Old 05-26-2009, 04:37 AM   #4
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190

Original Poster
Rep: Reputation: 51
False alarm, it all works.
Googled today and found that I should use reencoding. (Kind of a D'oh-moment, ices0 binds mp3 to icecast2, not m4a)
So now I can stream both mp3 and m4a.

What was crucial in my fix was a good version of libmp4v2 (instead of the snapshot from googlecode).
and maybe the ices0 snapshot also improved it.

Thanks for the help,
Hugo
 
Old 01-19-2011, 12:55 AM   #5
murilomachado
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
some of you managed to compile ices supporting libfaad?
can you help me?
 
Old 01-19-2011, 11:01 AM   #6
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190

Original Poster
Rep: Reputation: 51
Yeah, of course you can get some help.

How far are you in the proces?
Have you tried compiling it already?
What is your host system?
Do you encounter any errors/warnings?

Or to rephrase that in another way:
With what part do you need the help?

Regards,
Hugo
 
Old 01-20-2011, 12:12 AM   #7
murilomachado
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
I managed to compile and go to the end without error but not sure if the option "--with-faad" enables file support ".aac" in autoDJ or if it is not possible. Another problem I'm having is on the panel centovacast because it fails to recognize the duration of songs in AAC to add in the playlist.
 
Old 01-23-2011, 02:19 PM   #8
hoes
Member
 
Registered: Sep 2005
Distribution: debian, linux from scratch
Posts: 190

Original Poster
Rep: Reputation: 51
Help me out here, what is autoDj and how do you combine it wiht ices?
For as far as I know ices does not have support for showing the song duration in some way.

I would like to ask whether your questions are about ices or the other programs you are using?
Because on things like autDj or centovacast I can't help you out.
 
Old 01-24-2011, 09:30 AM   #9
murilomachado
LQ Newbie
 
Registered: Jan 2011
Posts: 3

Rep: Reputation: 0
Well, I'm using the auto-dj with "ices-cc" of centovacast. Already got a response Centova and the next version of the system will support auto-dj with aac plus.

Thanks anyway.

Last edited by murilomachado; 01-24-2011 at 09:32 AM.
 
  


Reply


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
LXer: Installing Nginx With PHP5 And MySQL Support On Debian Lenny LXer Syndicated Linux News 0 05-08-2009 12:21 PM
LXer: Installing Lighttpd With PHP5 And MySQL Support On Debian Lenny LXer Syndicated Linux News 0 05-04-2009 12:10 PM
LXer: How To Upgrade A Debian Etch System (Server & Desktop) To Debian Lenny LXer Syndicated Linux News 0 02-20-2009 05:30 PM
mpd 0.14 alpha3 with mp4 support faad2 with libmp4ff lindylex Linux - Software 0 11-18-2008 02:31 AM
Ogg Vorbis support of Chinese Mp4 players hansalfredche Linux - Hardware 2 03-26-2007 05:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:18 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration