I don't really understand your question, why do you want to specifically use ffmpeg, instead of whatever encoders liquidsoap is using internally to encode your streams? (which might be ffmpeg actually, I'm not really sure)
On Fri, Feb 6, 2015 at 5:13 PM, Вовчик <[email protected]> wrote: > 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="[email protected]", > 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="http://flat.fm", > 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="http://flat.fm", > 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="http://flat.fm", > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > -- -Tony Miller github.com/mcfiredrill @freedrull freedrool.us ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
