Hi, David!

I rewrite my config:

....
live1 =  
audio_to_stereo(dw_tag(input.harbor(id="DRUNK_WEEKEND_LIVE","live")))
live2 =  
audio_to_stereo(merc_tag(input.harbor(id="IGOR_MERCURY_LIVE","merc")))
....
clock00 = audio_to_stereo(playlist("/home/radio/audio/clock/00/"))
clock12 = audio_to_stereo(playlist("/home/radio/audio/clock/12/"))
....
night_diary = audio_to_stereo(night_diary_meta(request.queue(id =  
"NIGHT_DIARY", timeout=120.)))
laowaicast = audio_to_stereo(lao_meta(request.queue(id = "LAOWAICAST",  
timeout=180.)))
dootloss = audio_to_stereo(dl_meta(request.queue(id = "DOOTLOSS",  
timeout=180.)))
....
air = audio_to_stereo(request.dynamic(id="PODSAFE", 
{request.create("bar:foo", indicators=get_process_lines("/usr/bin/php / 
home/radio/engine/scripts/musicnext.php"))}))
....
output.icecast(
   %mp3(bitrate=96, samplerate = 44100, stereo=false),
   host = "127.0.0.1", port = ****, name="Mercury Radio",  
genre="various", url="http://www.mercuryradio.ru";,
   description="Любительское интернет-радио", password = "*****",  
mount = "/listen",  mean(radio))

output.icecast(%mp3(stereo=false, bitrate = 24, samplerate = 22050),
   host = "127.0.0.1", port = ****, name="Mercury Radio (Short Wave  
Edition)", genre="various", url="http://www.mercuryradio.ru";,
   description="Любительское интернет-радио",  password = "*****",  
mount = "/listen24", mean(radio))

output.icecast(%mp3(stereo=true, bitrate = 128, samplerate = 44100),
   host = "127.0.0.1", port = ****, name="Mercury Radio (Stereo)",  
genre="various", url="http://www.mercuryradio.ru";,
   description="Любительское интернет-радио",  password = "****",  
mount = "/listen128", radio)

but write new error message:

Invalid value at line 137, char 3-52: No encoder found for that format.


Igor

01.03.2012, в 20:11, David Baelde написал(а):

> Hi Igor,
>
> The error message tells you that you have a stream carrying (at least)
> stereo (this is the audio=2+_) used where a mono stream is expected
> (audio=1).
>
> The solution is to convert stereo to mono:
>
> 2012/3/1 Igor Mercury <[email protected]>:
>> output.icecast(%mp3(stereo = false, bitrate = 24, samplerate =  
>> 22050),
>>  restart = true, host = "127.0.0.1", port =****, name="Mercury  
>> Radio (Short
>> Wave Edition)", genre="various", url="http://www.mercuryradio.ru";,
>>  description="Любительское интернет-радио",  password = "******",  
>> mount =
>> "/listen24", radio)
>
> Replace radio by mean(radio) on the last line.
>
> Just keep in mind that stream conversions are explicit (one reason for
> this is that there is more than one way to convert stereo to mono, and
> many more ways to convert from 5 to 2 or 1 channels).
>
> Have fun,
> -- 
> David


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to