From: Martin K. <mar...@so...> - 2011-05-16 15:04:36
|
Hi, We compile Liquidsoap from source regularly, and haven't had any problems with mp3. Take a look at our wiki http://wiki.sourcefabric.org/display/CC/Building+Liquidsoap+from+Mercurial to see our procedure. Martin On Fri, May 13, 2011 at 11:18 PM, Mark Lakewood <und...@gm...>wrote: > Hi all, > > i'm on ubuntu 10.04 and i've compiled from source to build in > (hopefully) mp3 support. My problem is that when I try this command > > liquidsoap 'output.icecast(%mp3, host="192.168.0.156", port=8000, > password="source", mount="classical.mp3", mksafe(playlist("play.m3u")) > > I get > > 2011/05/14 11:20:08 >>> LOG START > 2011/05/14 11:20:08 [protocols.external:3] Didn't find "ufetch". > 2011/05/14 11:20:08 [protocols.external:3] Found "/usr/bin/wget". > 2011/05/14 11:20:08 [main:3] Liquidsoap 1.0.0-beta1 > 2011/05/14 11:20:08 [lang:3] flac binary not found: flac decoder disabled. > 2011/05/14 11:20:08 [lang:3] metaflac binary not found: flac metadata > resolver disabled. > 2011/05/14 11:20:08 [lang:3] faad binary not found: faad decoder disabled. > 2011/05/14 11:20:08 [lang:3] Lastfm/audioscrobbler support was not > compiled. > 2011/05/14 11:20:08 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz > master. > 2011/05/14 11:20:08 [frame:3] Frame size must be a multiple of 1764 > ticks = 1764 audio samples = 1 video samples. > 2011/05/14 11:20:08 [frame:3] Targetting 'frame.duration': 0.04s = 1764 > audio samples = 1764 ticks. > 2011/05/14 11:20:08 [frame:3] Frames last 0.04s = 1764 audio samples = 1 > video samples = 1764 ticks. > 2011/05/14 11:20:08 [threads:3] Created thread "generic queue #1". > 2011/05/14 11:20:08 [play(dot)m3u:3] Loading playlist... > 2011/05/14 11:20:08 [play(dot)m3u:3] No mime type specified, trying > autodetection. > 2011/05/14 11:20:08 [play(dot)m3u:3] Playlist treated as format > audio/mpegurl > 2011/05/14 11:20:08 [play(dot)m3u:3] Successfully loaded a playlist of 4 > tracks. > 2011/05/14 11:20:08 [classical(dot)mp3:3] Connecting mount classical.mp3 > for source@192.168.0.156... > 2011/05/14 11:20:08 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_004_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:08 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_001_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:08 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_003_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:08 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_002_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:08 [classical(dot)mp3:3] Connection setup was successful. > 2011/05/14 11:20:08 [threads:3] Created thread "wallclock_main" (1 total). > 2011/05/14 11:20:08 [clock.wallclock_main:3] Streaming loop starts, > synchronized with wallclock. > 2011/05/14 11:20:08 [mksafe:3] Switch to safe_blank. > 2011/05/14 11:20:10 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_002_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:10 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_004_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:10 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_003_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:10 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_001_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:12 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_003_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:12 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_002_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:12 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_001_60.mp3" as > {audio=2;video=0;midi=0}! > 2011/05/14 11:20:12 [decoder:3] Unable to decode > "/home/mlakewood/Desktop/ogg/UMG_audtrk_00008811228729_01_004_60.mp3" as > {audio=2;video=0;midi=0}! > ^C2011/05/14 11:20:13 [main:3] Shutdown started! > 2011/05/14 11:20:13 [main:3] Waiting for threads to terminate... > 2011/05/14 11:20:13 [classical(dot)mp3:3] Closing connection... > 2011/05/14 11:20:13 [clock.wallclock_main:3] Streaming loop stopped. > 2011/05/14 11:20:13 [threads:3] Thread "wallclock_main" terminated (0 > remaining). > 2011/05/14 11:20:13 [main:3] Cleaning downloaded files... > 2011/05/14 11:20:13 >>> LOG END > > > sorry about the log log, but thought it was better than snipping.. > > I had a look at the source, code and for some reason it seems like its > not selecting the mp3 decoder maybe? (I've never worked with ocaml > before so im not to sure on the syntax). > > Any help would be great! > > > > ------------------------------------------------------------------------------ > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Savonet-users mailing list > Sav...@li... > https://lists.sourceforge.net/lists/listinfo/savonet-users > -- Martin Konecny Software Developer, Sourcefabric mar...@so... 720 Bathurst St. Suite 203 M5S 2R4, Toronto, ON, Canada +1 (416) 892-8420 (Cell) Skype: martin.konecny15 http://www.sourcefabric.org http://www.twitter.com/Sourcefabric |