#!/usr/bin/liquidsoap -v set("frame.audio.samplerate",48000) set("frame.audio.channels",2) set("root.max_latency",30.) set("tag.encodings",["UTF-8"]) set("alsa.alsa_buffer",60) #0 set("alsa.buffer_length",128) #1 set("alsa.periods",0) #0 radio = input.alsa(device="hw0,0") output.icecast(%mp3(stereo=false, bitrate=16, samplerate=22050), host="127.0.0.1", port=8000, password="pass", genre="Muzic", description="RADIO", mount="/radiorbs", name="FM", user="source", url="http://www.radiorbs.md", radio)
2016/08/04 13:26:29 >>> LOG START 2016/08/04 13:26:29 [protocols.external:3] Found "/usr/bin/wget". 2016/08/04 13:26:29 [main:3] Liquidsoap 1.1.1 2016/08/04 13:26:29 [main:3] Using: graphics=[distributed with Ocaml] pcre=7.0.2 dtools=0.3.1 duppy=0.5.1 duppy.syntax=0.5.1 cry=0.2.2 mm=0.2.1 xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.5 vorbis=0.6.1 opus=0.1.0 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.2 shine=0.1.1 gstreamer=0.2.0 frei0r=0.1.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 gavl=0.1.5 bjack=0.1.4 alsa=0.2.1 ao=0.2.0 samplerate=0.1.2 taglib=0.3.1 magic=0.7.3 camomile=0.8.4 inotify=1.0 faad=0.3.2 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2 ladspa=0.1.4 dssi=0.1.1 sdl=0.9.1 camlimages=4.0.0 lo=0.1.0 yojson=1.1.7 gd=1.0a5 2016/08/04 13:26:29 [dynamic.loader:3] Could not find dynamic module for fdkaac encoder. 2016/08/04 13:26:29 [dynamic.loader:3] Could not find dynamic module for aacplus encoder. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/alsa.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/mad.cmxs. 2016/08/04 13:26:29 [dynamic.loader:2] Loaded plugin file /usr/lib/liquidsoap/1.1.1/plugins/taglib.cmxs. 2016/08/04 13:26:29 [frame:3] Using 48000Hz audio, 25Hz video, 48000Hz master. 2016/08/04 13:26:29 [frame:3] Frame size must be a multiple of 1920 ticks = 1920 audio samples = 1 video samples. 2016/08/04 13:26:29 [frame:3] Targetting 'frame.duration': 0.04s = 1920 audio samples = 1920 ticks. 2016/08/04 13:26:29 [frame:3] Frames last 0.04s = 1920 audio samples = 1 video samples = 1920 ticks. 2016/08/04 13:26:29 [threads:3] Created thread "generic queue #1". 2016/08/04 13:26:29 [threads:3] Created thread "generic queue #2". 2016/08/04 13:26:29 [threads:3] Created thread "input.alsa_4870" (1 total). 2016/08/04 13:26:29 [input.alsa_4870:3] Using ALSA 1.0.27.2. 2016/08/04 13:26:29 [/radiorbs:3] Connecting mount /radiorbs for source@127.0.0.1... 2016/08/04 13:26:29 [threads:1] Thread "input.alsa_4870" aborts with exception Alsa error: No such file or directory! 2016/08/04 13:26:29 [/radiorbs:3] Connection setup was successful. 2016/08/04 13:26:29 [threads:3] Created thread "wallclock_alsa" (1 total). 2016/08/04 13:26:29 [clock.wallclock_alsa:3] Streaming loop starts, synchronized by active sources. 2016/08/04 13:26:29 [main:3] Shutdown started! 2016/08/04 13:26:29 [main:3] Waiting for threads to terminate... 2016/08/04 13:26:29 [/radiorbs:3] Closing connection... 2016/08/04 13:26:29 [clock.wallclock_alsa:3] Streaming loop stopped. 2016/08/04 13:26:29 [threads:3] Thread "wallclock_alsa" terminated (0 remaining). 2016/08/04 13:26:29 [main:3] Cleaning downloaded files... 2016/08/04 13:26:29 [main:3] Freeing memory... 2016/08/04 13:26:29 >>> LOG END
**** List of PLAYBACK Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632] Subdevices: 1/1 Subdevice #0: subdevice #0
**** List of CAPTURE Hardware Devices **** card 0: DSP [Hammerfall DSP], device 0: RME Hammerfall HDSP 9632 [RME Hammerfall HDSP 9632] Subdevices: 1/1 Subdevice #0: subdevice #0