2012/4/17 Romain Beauxis <[email protected]>:
> Hi Martin!
>
> 2012/4/5 Martin Konečný <[email protected]>:
>> After doing a make on the latest version of Liquidsoap in Mercurial I get:
>>
>> * Supported input formats
>> - Vorbis : yes
>> - Theora : no (requires theora)
>> - Speex : no (requires speex)
>> - Dirac : no (requires schroedinger)
>> - Flac (native) : yes
>> - Flac (ogg) : yes
>> - MP3 : yes
>> - AAC : no (requires faad)
>> - text-to-speech : yes
>> - XML playlists : no (requires xmlplaylist)
>> - Lastfm : no (requires lastfm)
>>
>>
>> I notice on this (OLD) documentation that MP2 support is stated:
>> http://savonet.sourceforge.net/doc-0.3.8/concepts.html
>
> I am not sure why this was added but I do not think we ever supported
> mp2.. If I am correct, mp2 data is decoded using libtwolame
> (http://packages.debian.org/libtwolame) which we never had binded for
> OCaml.
>
> The library's API does not seem to complicated, it could be a fun
> project actually (spare time based for me unfortunately..)
Hmm... Seems like I was too quick to respond :-) Libtwolame is for mp2
_encoding_ while decoding is done by libmad, which we already
support.. Indeed liquidsoap seems to be able to play mp2 files if you
tell it properly:
liquidsoap 'set("decoder.file_extensions.mp3",["mp3", "mp2"])
output.ao(single("/tmp/sample-128kbps.mp2"))'
As you can see, it seems that we have completely overlooked the fact
that libmad also decodes mp2 files.. I'll be patching our code very
soon but in the mean time you should be able to decode mp2 files with
liquidsoap simply by adding the configuration key above..
Romain
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users