Hi,
On a liquidsoap 1.0.1, i have 1 input and 2 output with the same format
according to this configuration :
#!/usr/bin/lisquidsoap
# Radio configuration
radio = 'OUI FM'
freq = '102300'
# Tuner settings
system("amixer -q -c 0 sset 'tuner7 freq,0' #{freq}")
system("amixer -q -c 0 sset 'tuner7 band,0' 'FM stereo'")
system("amixer -q -c 0 sset 'tuner7 volume,0' 0")
# Source
source_tuner7 = input.alsa(
device = "hw:0,0,7"
)
input_tuner7 = mksafe( source_tuner7 )
# output v1
output.icecast(
%mp3(bitrate=64),
host = "127.0.0.1", port = 8000, password = "hackme",
name = "tuner7 - #{radio}", description = "tuner7", genre = "",
url = "",
mount = "tuner7.mp3",
input_tuner7
)
# output v2
output.udp(
%mp3(bitrate=64),
host = "192.168.26.61", port = 5007,
input_tuner7
)
Mp3 encoding is done twice (one time for output.icecast, and other time
for output.udp). I there a way to have only 1 encoding to preserve CPU ?
Thk for your help :-)
Regards,
Yoann
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users