Hi, (sorry for my poor english).
I try the following script :
set("log.file",true)
set("log.level",5)
set("log.file.path","/pathtolog/test.log")
enable_replaygain_metadata ()
def ChooseTitre() =
result = get_process_output("php /var/www/titre.php")
request.create(result)
end
flux = request.dynamic(ChooseJingle)
flux = amplify(1.,override="replay_gain",flux)
flux = crossfade(flux)
flux = mksafe(flux)
output.shoutcast(%mp3, host="127.0.0.1",port=8000, password="test",flux)
Everything is ok, it work well as expected...
Then I try the following script :
set("log.file",true)
set("log.level",5)
set("log.file.path","/pathtolog/test.log")
enable_replaygain_metadata ()
def ChooseTitre() =
result = get_process_output("php /var/www/titre.php")
request.create(result)
end
def ChooseJingle() =
result = get_process_output("php /var/www/jingle.php")
request.create(result)
end
flux =
rotate(weights=[1,5],[request.dynamic(ChooseJingle),request.dynamic(ChooseTitre)])
flux = amplify(1.,override="replay_gain",flux)
flux = crossfade(flux)
flux = mksafe(flux)
output.shoutcast(%mp3, host="127.0.0.1",port=8000, password="test",flux)
But this script freeze early liquidsoap :((
Here's my log :
2012/11/24 17:22:36 >>> LOG START
2012/11/24 17:22:36 [protocols.external:3] Didn't find "ufetch".
2012/11/24 17:22:36 [protocols.external:3] Found "/usr/bin/wget".
2012/11/24 17:22:36 [main:3] Liquidsoap 1.0.1
2012/11/24 17:22:36 [main:3] Using: graphics=[distributed with Ocaml]
pcre=6.2.5 dtools=0.3.0 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.0
xmlplaylist=0.1.3 lastfm=0.3.0 ogg=0.4.3 vorbis=0.6.1 speex=0.2.0 mad=0.4.4
flac=0.1.1 flac.ogg=0.1.1 dynlink=[distributed with Ocaml] lame=0.3.1
gstreamer=0.1.0 voaacenc=0.1.0 theora=0.3.0 schroedinger=0.1.0 gavl=0.1.4
bjack=0.1.3 alsa=0.2.1 ao=0.2.0 samplerate=0.1.1 taglib=0.2.0 magic=0.7.3
camomile=0.8.4 faad=0.3.0 soundtouch=0.1.7 portaudio=0.2.0 pulseaudio=0.1.2
ladspa=0.1.4 dssi=0.1.0 sdl=0.9.0 camlimages=4.0.0 lo=0.1.0 yojson=1.0.3
gd=1.0a5
2012/11/24 17:22:36 [dynamic.loader:3] Could not find dynamic module for
aacplus encoder.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/faad.cmxs.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/voaacenc.cmxs.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/mad.cmxs.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/ogg.cmxs.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/flac.cmxs.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/cry.cmxs.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/pulseaudio.cmxs.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/taglib.cmxs.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/lame.cmxs.
2012/11/24 17:22:36 [dynamic.loader:2] Loaded plugin file
/usr/lib/liquidsoap/1.0.1/plugins/flac_ogg.cmxs.
The only way to make the second script working is to comment the line with the
crossfade...
Perhaps it's because the rotate use several source (or queue), so it isn't
tracks of the same source...
But i'm still new to liquidsoap and i wanted to know if there is a solution for
crossfading tracks from
different sources...
Thanks
MrChrisCool
www.lagrossetambouille.com
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users