Le lundi 25 janvier 2010 10:16:12, Alexey Tarasov a écrit :
> OK, waiting for you. =)

Here I am !

I took some time to add back internal AAC+ encoding in liquidsoap SVN today !

So, basically, you can now output in AAC+ using liquidsoap SVN by two means:

 * Internal encoder.
In this case, you need to compile liquidsoap with ocaml-aacplus enabled. A 
basic output is then:
  output.icecast(%aac+, ...)
Or:
  output.icecast(%aacplus, ..)

You can pass the following parameters:
  samplerate, bitrate, channels

So, for instance, for 22100, mono at 32 kbps, you have:
  output.icecast(%aac+(samplerate=22100, channels=1, 32), ...)

You can also pass the keywork mono (or stereo):
  output.icecast(%aac+(samplerate=22100, mono, 32), ...)

There are several limitations for this output:
 * The shared code does not seem to work well with multiple outputs. 
Apparently, only one aac+ output is possible in this case
 * The encoding library does not accept a lot of combinations of parameters. I 
recommend using the default (%aac+), which is: samplerate=44100, channels=2, 
bitrate=64. Also it does not seem to behave very well on other bitrate than 
64kpbs..
* From time to time, the output starts but the resulting data is not correct 
(volume very low). In this case, I have to restart liquidsoap

* external encoder:
You can setup an AAC+ output using the external aacplus encoder this way:
  output.icecast(%external("aacplusenc - - 64"),format="audio/aacp", ...)

There are also several limitations:
 * The encoder does not seem to behave well at bitrate different than 64 kpbs.
 * You may have to restart the encoding process regularly.

About AAC+ encoding, please have in mind that there are no satisfying aac+ 
open source encoding library. Hence, the code actually used is not at all 
satisfying. 

This may be better if the nero aac+ encoder could output the correct format 
(asked, should appear at some point), or, best, if a solid open source library 
for AAC+ encoding could appear magicaly :)

For AAC+ output, I recommend to use the internal encoder if it is only for one 
output, and the external one otherwise..

Have fun !


Romain

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to