Hi everyone.
I'm trying to build a continuous audio source for alocal associative
radio (Radio FMR, from Toulouse, France)

It's build around Ubuntu 14.04.1 LTS server.
Numerous try with AirTime lead to a fail : no sound at all.
So i'v tried simplier, with liquidsound.
Here is its .liq

#!/usr/bin/liquidsoap -v --debug
# Installation à l'arrache suite frustrations AirTime. XAVIER 20/08/2014
# Log dir
set("log.file.path","/var/log/liquidsoap/fmr.log")
set("log.stdout",true)
set("log.file",true)
# audio q
set("frame.audio.samplerate",44100)
# Start building the feed with music
playlist = playlist(mode='random', "/discotheque/Albums")
radio = fallback([playlist ,single("/discotheque/Albums/vrac/Dax Riders
- DAX/02 - Soul Experience II.ogg")  ])
# Et on envoie
output.alsa(device = "hw:0,0", fallible = false, bufferize = false, radio)

and the dump :

$ ./radioref.liq
2014/08/20 11:51:40 >>> LOG START
2014/08/20 11:51:40 [protocols.external:3] Found "/usr/bin/wget".
2014/08/20 11:51:40 [main:3] Liquidsoap 1.1.1
2014/08/20 11:51:40 [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
2014/08/20 11:51:40 [dynamic.loader:3] Could not find dynamic module for
fdkaac encoder.
2014/08/20 11:51:40 [dynamic.loader:3] Could not find dynamic module for
aacplus encoder.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/frei0r.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/sdl.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/ogg.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/shine.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/camlimages.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/gstreamer.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/samplerate.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/schroedinger.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/flac.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/faad.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/lo.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/ao.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/lame.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/alsa.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/pulseaudio.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/vorbis.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/cry.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/portaudio.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/flac_ogg.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/voaacenc.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/ladspa.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/opus.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/theora.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/gavl.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/soundtouch.cmxs.
2014/08/20 11:51:40 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.1.1/plugins/dssi.cmxs.
2014/08/20 11:51:40 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
master.
2014/08/20 11:51:40 [frame:3] Frame size must be a multiple of 1764
ticks = 1764 audio samples = 1 video samples.
2014/08/20 11:51:40 [frame:3] Targetting 'frame.duration': 0.04s = 1764
audio samples = 1764 ticks.
2014/08/20 11:51:40 [frame:3] Frames last 0.04s = 1764 audio samples = 1
video samples = 1764 ticks.
2014/08/20 11:51:40 [decoder:4] Trying method "META" for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"...
2014/08/20 11:51:40 [decoder:4] Trying method "WAV" for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"...
2014/08/20 11:51:40 [decoder.wav:4] Invalid MIME type for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg":
application/ogg!
2014/08/20 11:51:40 [decoder.wav:4] Invalid file extension for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"!
2014/08/20 11:51:40 [decoder:4] Trying method "MIDI" for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"...
2014/08/20 11:51:40 [decoder:4] Trying method "IMAGE" for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"...
2014/08/20 11:51:40 [decoder:4] Trying method "OGG" for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"...
2014/08/20 11:51:40 [decoder.ogg:4] File "/discotheque/Albums/vrac/Dax
Riders - DAX/02 - Soul Experience II.ogg" recognized as audio=2 video=0.
2014/08/20 11:51:40 [decoder:3] Method "OGG" accepted
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg".
2014/08/20 11:51:40 [decoder.gstreamer:4] Invalid MIME type for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg":
application/ogg!
2014/08/20 11:51:40 [decoder.gstreamer:4] Invalid file extension for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"!
2014/08/20 11:51:40 [metadata.flac:4] Invalid MIME type for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg":
application/ogg!
2014/08/20 11:51:40 [metadata.flac:4] Invalid file extension for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"!
2014/08/20 11:51:40 [metadata.mp4:4] Invalid MIME type for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg":
application/ogg!
2014/08/20 11:51:40 [metadata.mp4:4] Invalid file extension for
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"!
2014/08/20 11:51:40 [single:3] "/discotheque/Albums/vrac/Dax Riders -
DAX/02 - Soul Experience II.ogg" is static, resolving once for all...
2014/08/20 11:51:40 [video.converter:4] Using preferred video converter:
gavl.
2014/08/20 11:51:40 [audio.converter:4] Using preferred samplerate
converter: libsamplerate.
2014/08/20 11:51:40 [threads:3] Created thread "generic queue #1".
2014/08/20 11:51:40 [threads:3] Created thread "generic queue #2".
2014/08/20 11:51:40 [clock:4] Currently 1 clocks allocated.
2014/08/20 11:51:40 [clock.wallclock_alsa:4] Starting 1 sources...
2014/08/20 11:51:40 [source:4] Source output.alsa_5537 gets up.
2014/08/20 11:51:40 [source:4] Source fallback_5535 gets up.
2014/08/20 11:51:40 [source:4] Source playlist_5532 gets up.
2014/08/20 11:51:40 [Albums:3] Loading playlist...
2014/08/20 11:51:40 [Albums:3] Playlist is a directory.
2014/08/20 11:51:40 [Albums:3] Successfully loaded a playlist of 743 tracks.
2014/08/20 11:51:40 [Albums:4] Content kind is {audio=2;video=0;midi=0}.
2014/08/20 11:51:40 [Albums:4] Activations changed: static=[],
dynamic=[fallback_5535:alsa_out(hw:0,0):alsa_out(hw:0,0)].
2014/08/20 11:51:40 [decoder:4] Trying method "META" for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg"...
2014/08/20 11:51:40 [source:4] Source single_5534 gets up.
2014/08/20 11:51:40 [decoder:4] Trying method "WAV" for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg"...
2014/08/20 11:51:40 [single_5534:4] Content kind is
{audio=2;video=0;midi=0}.
2014/08/20 11:51:40 [single_5534:4] Activations changed: static=[],
dynamic=[fallback_5535:alsa_out(hw:0,0):alsa_out(hw:0,0)].
2014/08/20 11:51:40 [fallback_5535:4] Activations changed:
static=[alsa_out(hw:0,0):alsa_out(hw:0,0)], dynamic=[].
2014/08/20 11:51:40 [decoder.wav:4] Invalid MIME type for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg": application/ogg!
2014/08/20 11:51:40 [decoder.wav:4] Invalid file extension for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg"!
2014/08/20 11:51:40 [decoder:4] Trying method "MIDI" for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg"...
2014/08/20 11:51:40 [decoder:4] Trying method "IMAGE" for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg"...
2014/08/20 11:51:40 [decoder:4] Trying method "OGG" for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg"...
2014/08/20 11:51:40 [single_5534:3] Prepared
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg"
(RID 0).
2014/08/20 11:51:40 [decoder.ogg:4] File "/discotheque/Albums/vrac/Bomb
the bass - Butterfingers/04 - Butterfingers (Adam Sky ravebummer
mix).ogg" recognized as audio=2 video=0.
2014/08/20 11:51:40 [decoder:3] Method "OGG" accepted
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg".
2014/08/20 11:51:40 [alsa_out(hw:0,0):4] Activations changed:
static=[alsa_out(hw:0,0)], dynamic=[].
2014/08/20 11:51:40 [decoder.gstreamer:4] Invalid MIME type for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg": application/ogg!
2014/08/20 11:51:40 [decoder.gstreamer:4] Invalid file extension for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg"!
2014/08/20 11:51:40 [alsa_out(hw:0,0):4] Enabling caching mode: active
source.
2014/08/20 11:51:40 [clock.wallclock_alsa:4] Delegating clock to active
sources.
2014/08/20 11:51:40 [metadata.flac:4] Invalid MIME type for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg": application/ogg!
2014/08/20 11:51:40 [metadata.flac:4] Invalid file extension for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg"!
2014/08/20 11:51:40 [alsa_out(hw:0,0):3] Using ALSA 1.0.27.2.
2014/08/20 11:51:40 [metadata.mp4:4] Invalid MIME type for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg": application/ogg!
2014/08/20 11:51:40 [metadata.mp4:4] Invalid file extension for
"/discotheque/Albums/vrac/Bomb the bass - Butterfingers/04 -
Butterfingers (Adam Sky ravebummer mix).ogg"!
2014/08/20 11:51:40 [clock.wallclock_alsa:2] Error when starting output
alsa_out(hw:0,0): Failure("Error while setting open_pcm: No such file or
directory")!
2014/08/20 11:51:40 [Albums:4] Remaining: 0.0s, queued: 0.0s, adding:
30.0s (RID 2)
2014/08/20 11:51:40 [clock.wallclock_alsa:3] Raised at file
"pervasives.ml", line 20, characters 22-33
2014/08/20 11:51:40 [alsa_out(hw:0,0):4] Activations changed: static=[],
dynamic=[].
2014/08/20 11:51:40 [source:4] Source alsa_out(hw:0,0) gets down.
2014/08/20 11:51:40 [fallback_5535:4] Activations changed: static=[],
dynamic=[].
2014/08/20 11:51:40 [source:4] Source fallback_5535 gets down.
2014/08/20 11:51:40 [Albums:4] Activations changed: static=[], dynamic=[].
2014/08/20 11:51:40 [source:4] Source Albums gets down.
2014/08/20 11:51:40 [Albums:4] Waiting for feeding task to stop...
2014/08/20 11:51:40 [Albums:4] Cleaning up request queue...
2014/08/20 11:51:40 [single_5534:4] Activations changed: static=[],
dynamic=[].
2014/08/20 11:51:40 [source:4] Source single_5534 gets down.
2014/08/20 11:51:40 [single_5534:3] Finished with
"/discotheque/Albums/vrac/Dax Riders - DAX/02 - Soul Experience II.ogg".
2014/08/20 11:51:40 [clock:4] Main phase starts.
2014/08/20 11:51:40 [main:3] Shutdown started!
2014/08/20 11:51:40 [main:3] Waiting for threads to terminate...
2014/08/20 11:51:40 [main:3] Cleaning downloaded files...
2014/08/20 11:51:40 [main:3] Freeing memory...
2014/08/20 11:51:40 >>> LOG END


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to