Le mardi 23 juin 2009 18:28:58, vous avez écrit :
> > All in all, the decoder checks for formats other than mp3 should not  
> > be very
> > expensive in terms of load.. The only case is decoders using ocaml-
> > natty, due
> > to some internal limitation in ocaml-bitmatch, and that is why these  
> > decoders
> > are disabled by default..
>
> I know it's not so expensive in a single liquidsoap process. But we  
> are running 80 liquidsoap per server :-)

Before we implement this, you can also manually desactivate the compilation of 
these decoders. 

You can edit the file liquidsoap/src/Makefile and remove everyting but mp3 
encoders there:
Index: Makefile
===================================================================
--- Makefile    (révision 6661)
+++ Makefile    (copie de travail)
@@ -25,16 +25,9 @@
        $(if $(W_GAVL),video_converters/gavl_converter.ml)

 formats = \
-       $(if $(W_OGG),formats/oggformat.ml) \
-       $(if $(W_VORBIS),formats/vorbisduration.ml) \
        $(if $(W_TAGLIB),formats/taglib_plug.ml) \
-       $(if $(W_FAAD),formats/aacformat.ml) \
-       formats/wavformat.ml \
        formats/externalformat.ml \
-       $(if $(W_NSV),formats/nattyformat_mp3.ml) \
-       $(if $(W_NATTY),formats/nattyformat.ml) \
        $(if $(W_MP3),formats/mp3.ml)
-#      formats/midiformat.ml

 playlists = \
        playlists/playlist_basic.ml $(if 
$(W_XMLPLAYLIST),playlists/playlist_xml.ml)

You should not remove externalformat.ml since it is required elsewhere. 
However, you can also disable any external encoders so that only the mp3 
encoder is used.


Romain

------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to