Hi,

Your liquidsoap was compiled without ao output support. If you are running
> it on a server, it's probably not what you are looking for anyway :-)

I currently test liquidsoap on my PC under Ubuntu 16.04 64bits but the
ultimate goal is to run it on a Raspberry with a web interface (Webcaster)
accessible from the local network to broadcast audio capture by the sound
card to a server Icecast.

I'd say the host should be a string, so you need to quote it. Port is an
> integer so you shouldn't quote it.. Also, you should use single quote if
> the whole line is double quoted.. :-)
> Something like this perhaps:
> liquidsoap "output.icecast(%mp3,fallible=true,host='xx.80.229.2xx',
> port=8000,password='xxxx',mount='graf3.mp3', input.harbor('mount',port=
> 8080))"


Thanks ! but I get :

> 2016/12/13 15:55:52 >>> LOG START
> 2016/12/13 15:55:52 [protocols.external:3] Found "/usr/bin/wget".
> 2016/12/13 15:55:52 [main:3] Liquidsoap 1.1.1
> 2016/12/13 15:55:52 [main:3] Using: graphics=[distributed with Ocaml]
> pcre=7.0.4 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.2.0 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.2.0 lo=0.1.0 yojson=1.2.3 gd=1.0a5
> 2016/12/13 15:55:52 [dynamic.loader:3] Could not find dynamic module for
> fdkaac encoder.
> 2016/12/13 15:55:52 [dynamic.loader:3] Could not find dynamic module for
> aacplus encoder.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/mad.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs.
> 2016/12/13 15:55:52 [dynamic.loader:2] Loaded plugin file
> /usr/lib/liquidsoap/1.1.1/plugins/taglib.cmxs.
> 2016/12/13 15:55:52 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
> master.
> 2016/12/13 15:55:52 [frame:3] Frame size must be a multiple of 1764 ticks
> = 1764 audio samples = 1 video samples.
> 2016/12/13 15:55:52 [frame:3] Targetting 'frame.duration': 0.04s = 1764
> audio samples = 1764 ticks.
> 2016/12/13 15:55:52 [frame:3] Frames last 0.04s = 1764 audio samples = 1
> video samples = 1764 ticks.
> 2016/12/13 15:55:52 [threads:3] Created thread "generic queue #1".
> 2016/12/13 15:55:52 [threads:3] Created thread "generic queue #2".
> 2016/12/13 15:55:52 [harbor:3] Adding mountpoint '/mount' on port 8080
> 2016/12/13 15:55:52 [graf3(dot)mp3:3] Connecting mount graf3.mp3 for
> [email protected]...
> 2016/12/13 15:55:53 [graf3(dot)mp3:3] Connection setup was successful.
> 2016/12/13 15:55:53 [threads:3] Created thread "wallclock_main" (1 total).
> 2016/12/13 15:55:53 [clock.wallclock_main:3] Streaming loop starts,
> synchronized with wallclock.
> 2016/12/13 15:55:53 [graf3(dot)mp3:3] Source failed (no more tracks)
> stopping output...
> strange error flushing buffer ...
> strange error flushing buffer ...
> 2016/12/13 15:55:53 [graf3(dot)mp3:3] Closing connection...



2016-12-13 15:31 GMT+01:00 Romain Beauxis <[email protected]>:

> Hi,
>
> 2016-12-13 3:12 GMT-06:00 Lyonel Bernard <[email protected]>:
> > I can capture the sound from my sound card and listen (Cue)
>
> Excellent!
>
> > But I can not broadcast to my icecast.
> >
> > Sorry, I'm a beginner.
> > When I run the command:
> > $ Liquidsoap "output.ao (fallible = true, audio_to_stereo (input.harbor
> > ('mount', port = 8080)))"
> >
> > I get:
> > At line 1, char 10: the variable output.ao used here has not been
> previously
> >   defined.
>
> Your liquidsoap was compiled without ao output support. If you are running
> it on a server, it's probably not what you are looking for anyway :-)
>
> > And when i want broadcast to icecast :
> > $ liquidsoap
> > "output.icecast(%mp3,fallible=true,audio_to_stereo,host=xx.
> 80.229.2xx,port="8000",password="xxxx",mount="graf3.
> mp3"(input.harbor('mount',port=8080)))"
> >
> > I get:
> > Line 1, char 65 before ".229": Parse error!
>
> I'd say the host should be a string, so you need to quote it. Port is an
> integer so you shouldn't quote it.. Also, you should use single quote if
> the whole line is double quoted.. :-)
>
> Something like this perhaps:
>
> liquidsoap "output.icecast(%mp3,fallible=true,host='xx.80.229.2xx',
> port=8000,password='xxxx',mount='graf3.mp3', input.harbor('mount',port=
> 8080))"
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to