Le Tuesday 26 May 2009 13:47:33 Andrew, vous avez écrit : > > Humm... > > The external mechanism is pretty complicated. I am not surprised it > > does not > > work out of the box. > > > > For a start, could you try to test with the latest SVN trunk code ? > > This part > > has been rewritten recently, and there were important changes in the > > implementation. > > SVN release 6591 appears to have resolved the issue here. Aacplusenc > how works.
Good ! > One bug that I discovered with it on both Linux and FreeBSD was that > it does not restart correctly using the restart_encoder_delay field. > With this set to 3600, I got: > > 2009/05/25 20:39:40 [output(dot)icecast(dot)aacplusenc:3] Restarting > encoder after delay (3600s) > > > encoding finished > > And it never did restart. I also have these values in my config (as in > my previous post); > > ~restart=true, > ~restart_delay=3 > ~restart_on_crash=true, > ~restart_on_new_track=false, > ~restart_encoder_delay=3600 Hmm. I need to debug this more. Will try to look more in details. Of course, any patch/contribution is welcome :) > With a working restart_encoder_delay will there be any cutouts in the > audio while the encoder restarts or will liquidsoap just continue to > store audio in the buffer as it comes in from the soundcard and then > pump it out to the encoder once it comes back up? There should not be any loss, from the point of view of liquidsoap, the encoder is just restarted, but no audio is lost. For the player, however, there can be a glitch. > I understand that the hourly restart is due to bugginess with > aacplusenc. Is this because it's a child process instead of a library? Yes ! > Perhaps it would be useful to use libaacplus instead? I know that's > what the Darkice project is using: > > http://lists.tyrell.hu/pipermail/darkice-list/2008-November/000314.html Haha ! I initially looked for such wrapper to turn aacplusenc into a library. However, upstream communication was not very sucessful, and I decided to switch to external encoders for that reason. I do not know f it is a good idea to use this library: its API might change, or support get lost.. However, any contribution on this topic would be of course welcome. For myself, I do not know yet if I want to bind this library. Romain ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
