2010/6/20 Mike Owens <[email protected]>:
> 2010/06/20 13:44:54 [decoder:3] Unable to decode "/tmp/program.mp3" as
> {audio=2;video=0;midi=0}!

In your case I think this was because it's a mono MP3. With the SVN
version, conversions are not done implicitly by decoders anymore. If
your script asks for stereo, the decoder has to find stereo in the
file. If you use audio_to_stereo() on your single() or playlist() then
the decoder will be asked "any kind of audio" and the operator will
normalize to stereo.

You can check this quickly: liquidsoap -r yourfile.mp3 will show the
decoded content type {audio=1;...}.

The slight problem here is that you'll see a slightly high CPU usage
when converting from mono to stereo because we haven't optimized this
yet. We were waiting for users to push for it ;)

The reason for this new behaviour has to do with video support, the
ability to decode audio and drop video, and also the possibility to
have various to_stereo() operators. We'll have to think of a way to
minimize the impact on users, i.e. avoid surprises like the one you
had.

Cheers,

David

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to