HI Nik,
Thanks for the quick reply and the script !
I bet encoding is my next obstacle :)
Best
Sylvain
On 06/10/2013 06:08 PM, Nik Martin wrote:
> My use case is the same as yours, and liquidsoap is perfectly suited
> to do just what you describe. You will find the docs a bit
> frustrating at times, especially when it comes to figuring out how to
> configure a transcoder to produce the stream you need, but I will post
> a snippet of my .liq script that does a similar function to what you
> need. In your case, you would configure stream1.aac as ogg instead of
> aac:
>
> This is a shell script marked as executable (chmod +x):
> #========================================
> #!/usr/local/bin/liquidsoap
>
> #allow telnet access on port 1234 on localhost only
> set("server.telnet", true)
>
> #stream sources.
> stream1 = input.http("http://icecastserver/mount")
>
> #make a log
> set("log.file",true)
> set("log.file.path","/var/log/liquidsoap.log")
> set("log.level",3)
>
> #stream1.aac
> output.icecast(%fdkaac(channels=2, samplerate=44100, sbr_mode=false,
> aot="mpeg2_he_aac"),
> host = "localhost",
> port = 8000,
> password = "password",
> mount = "stream1.aac",
> description = "Stream1 aac",
> name = "Stream1",
> format = "audio/aacp",
> icy_metadata="false",
> mksafe(broadcast))
>
> #stream1.mp3
> output.icecast(%mp3(bitrate=64, samplerate=22050),
> host = "localhost",
> port = 8000,
> password = "password",
> mount = "stream1.mp3",
> description = "Stream1 mp3",
> name = "Stream1",
> icy_metadata="false",
> mksafe(broadcast))
>
> #=======================================
>
>
> Regards,
>
> Nik
>
> Nik Martin
> Open Frame LLC
> +1.251.272.9665
>
> **Do not send PHI or information considered HIPAA sensitive to this
> email address. Email is NOT a secure method of transferring PHI**
>
>
> On Mon, Jun 10, 2013 at 2:45 PM, Sylvain Le Beux <[email protected]> wrote:
>> Hello all,
>>
>> This is my first post to the list, and before going deeper into savonet,
>> I would like to know whether or not this is possible to do with liquidsoap.
>>
>> For the moment, I have an icecast server running together with ices2,
>> with a mountpoint in .ogg
>> Unfortunately, I realized that ices2 wasn't able to encode mp3, but I
>> need the radio stream to be available on any browser, smartphones,
>> stream player ...
>>
>> Btw, my radio stream is only playlist based (no live input) but needs to
>> be dynamic (i.e. new files are added to the stream on the fly, and
>> jingles are played when no more files are present). Also, proper timing
>> clocks is an asset.
>>
>> To sum, what I need is :
>> - Two streams, mp3 and ogg, encoded from raw PCM
>> - Dynamic audiofile playlist
>> - Low latency and low clock drift
>>
>> Any pointer on these various issues are welcomed.
>>
>> Best
>>
>> Sylvain
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Windows:
>>
>> Build for Windows Store.
>>
>> http://p.sf.net/sfu/windows-dev2dev
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users