Hi all!
Who can give example of useing ffmpeg encoder with liquidsoap?
My config
========================================================================
#!/usr/bin/liquidsoap
#
# settings
#
set("log.file.path","liquidsoap.log")
set("init.daemon.pidfile.path","liquidsoap.pid")
set("init.daemon", true)
#
# source
#
def next_mp3() =
file = list.hd(get_process_lines("next-mix"))
request.create(file)
end
mp3 = request.dynamic(next_mp3)
mp3 = register_flow(
radio="FLAT.FM",
website="http://flat.fm",
description="FLAT.FM — High quality deep electronic music broadcast",
genre="deep house, tech house, dub techno, deep techno, high quality",
email="we...@flat.fm",
streams=[
("aac/160k", "http://flat.fm:8000/air.aac"),
("ogg/160k", "http://flat.fm:8000/air.ogg"),
("mp3/192k", "http://flat.fm:8000/air.mp3")
],
mp3)
output.icecast( %mp3.cbr(bitrate=192, id3v2=true),
host="localhost", port = 8000,
user="", password = "", mount = "/air.mp3",
genre="deep house, tech house, dub techno, deep techno, high quality",
url="",
description="FLAT.FM — High quality deep electronic music broadcast",
headers=[("User-Agent","FLAT.FM")],
mksafe(mp3) )
output.icecast( %aac(channels=2, samplerate=44100, bitrate=160),
host="localhost", port = 8000,
user="", password = "", mount = "/air.aac",
genre="deep house, tech house, dub techno, deep techno, high quality",
url="",
description="FLAT.FM — High quality deep electronic music broadcast",
headers=[("User-Agent","FLAT.FM")],
mksafe(mp3) )
output.icecast( %vorbis.cbr(samplerate=44100, channels=2, bitrate=160),
host="localhost", port = 8000,
user="", password = "", mount = "/air.ogg",
genre="deep house, tech house, dub techno, deep techno, high quality",
url="",
description="FLAT.FM — High quality deep electronic music broadcast",
headers=[("User-Agent","FLAT.FM")],
mksafe(mp3) )
#
# settings
#
set("log.file.path","liquidsoap.log")
set("init.daemon.pidfile.path","liquidsoap.pid")
set("init.daemon", true)
#
# source
#
def next_mp3() =
file = list.hd(get_process_lines("next-mix"))
request.create(file)
end
mp3 = request.dynamic(next_mp3)
mp3 = register_flow(
radio="FLAT.FM",
website="http://flat.fm",
description="FLAT.FM — High quality deep electronic music broadcast",
genre="deep house, tech house, dub techno, deep techno, high quality",
email="we...@flat.fm",
streams=[
("aac/160k", "http://flat.fm:8000/air.aac"),
("ogg/160k", "http://flat.fm:8000/air.ogg"),
("mp3/192k", "http://flat.fm:8000/air.mp3")
],
mp3)
output.icecast( %mp3.cbr(bitrate=192, id3v2=true),
host="localhost", port = 8000,
user="", password = "", mount = "/air.mp3",
genre="deep house, tech house, dub techno, deep techno, high quality",
url="",
description="FLAT.FM — High quality deep electronic music broadcast",
headers=[("User-Agent","FLAT.FM")],
mksafe(mp3) )
output.icecast( %aac(channels=2, samplerate=44100, bitrate=160),
host="localhost", port = 8000,
user="", password = "", mount = "/air.aac",
genre="deep house, tech house, dub techno, deep techno, high quality",
url="",
description="FLAT.FM — High quality deep electronic music broadcast",
headers=[("User-Agent","FLAT.FM")],
mksafe(mp3) )
output.icecast( %vorbis.cbr(samplerate=44100, channels=2, bitrate=160),
host="localhost", port = 8000,
user="", password = "", mount = "/air.ogg",
genre="deep house, tech house, dub techno, deep techno, high quality",
url="",
description="FLAT.FM — High quality deep electronic music broadcast",
headers=[("User-Agent","FLAT.FM")],
mksafe(mp3) )
========================================================================
I want to encode mp3 aac and ogg with ffmpeg
how to do that with my config? Thanks!
------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________ Savonet-users mailing list Savonet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/savonet-users