Hi Albert,
> I'm searching an easy way to use liquidsoap as darkice
> streaming a sound from the input or output of a soundcard
> and send the stream to icecast in mp3/ogg/aac for example
The following liquidsoap script does that for me:
<start>
input_stream = input.alsa(device="pcm.radio_stream")
external_server = output.icecast(host="stream.example.org",
port=8000, password="_secret_")
vorbis_encoding = %vorbis.abr(bitrate=320, channels=2)
flac_encoding = %ogg(%flac)
external_server(vorbis_encoding, input_stream, mount="stream")
external_server(flac_encoding, input_stream, mount="stream_flac.ogg")
<end>
Other codecs can easily be added. Just go through the documentation on the
website.
Btw: the above human-readable alsa device name requires the following content of
the /etc/asound.conf file:
pcm.radio_stream {
type plug
slave { pcm "hw:1,0" }
}
I hope this helps,
Lars
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users