Could anyone please shed some light on this please?
Compiling liquidsoap 1.1.1 from source on Ubuntu 10.04 server 64 bit
./configure: done
make: done
sudo make install: fails at
OCAMLOPT -o liquidsoap
with .../src/libogg_stubs.a(ogg_stubs.o): In function
'ocaml_ogg_stream_pageout':
.../ocaml-ogg-0.4.5/src/ogg_stubs.c:326 undefined reference to
'ogg_stream_pageout_fill'
collect2: ld returned 1 exit status
Error: Error during linking
Thank you in advance,
Mike
________________________________
From: Josh Washburne <recursive.gr...@gmail.com>
To: savonet-users@lists.sourceforge.net
Sent: Sunday, 23 June 2013, 19:56
Subject: Re: [Savonet-users] request.queue & smart_cross issues
David Baelde <david.baelde@...> writes:
>
> Hi Alexander,
>
> If the same script works with 1.1.0 and not 1.1.1 then it's a bigger
> problem than a scripting mistake, you're right. I'll try to run some
> tests of my own with smart_crossfade soon. In the meantime, if you
> have a minimized example showing the difference of behavior between
> the two versions, that would be really useful to share.
>
> Thanks,
>
> David
>
> On Thu, Jun 20, 2013 at 5:40 PM, Alexander Groleau <awgneo@...> wrote:
> > With or without references on radio causes the issue. I had it as a
> > reference as the full version of my script dynamically creates the
output
> > sources. In fact, I just did the simplest test of feeding a directory
> > playlist of songs into the smart_crossfade function with the predefined
> > transition and it still only crossfades the first two songs. I can
reproduce
> > this in both Windows 8 and on Debian Squeeze. This simple script and my
more
> > complex script crossfade perfectly in 1.1.0. Something seems to be wrong
> > with 1.1.1 for me :/.
> >
> > Thanks,
> > Alex
> >
> >
> > On Thu, Jun 20, 2013 at 4:17 AM, David Baelde <david.baelde@...>
> > wrote:
> >>
> >> Hi Alexander,
> >>
> >> >From the description you give, and the code you show, I don't see any
> >> reason why things would go wrong.
> >>
> >> However, I think it might be useful that you also show your transition
> >> function. You are using references very intensively, even in places
> >> where they are not necessary, and I'm wondering if this could have
> >> lead to a bug in your transition function -- something like a bad
> >> state left after the first execution of the transition, preventing the
> >> next executions to do their job.
> >>
> >> More specifically, in the script above, radio does not need to be a
> >> ref. The successive instantiations of the radio reference could be
> >> inlined into simple definitions (radio = this ; radio = that(radio) ;
> >> etc) to the same effect. The only uses of !radio I see are executed at
> >> initialization time: the content of the reference cell is retrieved at
> >> that time, after which it is not looked up anymore, so any change of
> >> the contents of the reference would be useless -- I don't see any such
> >> instantiation in your code, so there's no real problem so far.
> >>
> >> Hope this helps,
> >>
> >> David
> >>
> >> On Thu, Jun 20, 2013 at 2:57 AM, Alexander Groleau <awgneo@...>
> >> wrote:
> >> > Forgot to mention that this is 1.1.1 pulled from latest git full :).
> >> >
> >> >
> >> > On Wed, Jun 19, 2013 at 2:23 PM, Alexander Groleau <awgneo@...>
> >> > wrote:
> >> >>
> >> >> Hello,
> >> >>
> >> >> I am having an issue getting my request.queue to work with
smart_cross
> >> >> :(.
> >> >>
> >> >> I set up a queue (id="schedule") and used telnet to send some song
> >> >> files
> >> >> to it. I sent the first file and it plays just fine. Additionally,
as
> >> >> soon
> >> >> as it starts, I sent a second file to my queue via telnet. The first
> >> >> smart_cross transition between the initial two songs worked
perfectly
> >> >> and I
> >> >> outputted to the log (Transititons: Triaging..., Transitions: Song:
> >> >> End/Begin) from my transition function so I know it was being hit.
> >> >> Additionally, I found the "[smart_cross_5481:3] Analysis:
-27.207545dB
> >> >> /
> >> >> -23.319877dB (6.02s / 1.98s)" output in the log.
> >> >>
> >> >> Now, when the second song begins, I send a third file via telnet.
> >> >> Unfortunately, the second and third songs and any subsequent files
sent
> >> >> via
> >> >> telnet fail to smart_cross. They simply play back to back and my
> >> >> transition
> >> >> function never gets called any longer. Additionally, I no longer see
> >> >> any
> >> >> smart_cross messages. It is as if the smart_cross function gets
> >> >> completely
> >> >> detached.
> >> >>
> >> >> Are there any gotchas I should be concerned with in regards to the
> >> >> usage
> >> >> of a request.queue and smart_cross? I have tried playing with the
> >> >> conservative flags on the queue and the smart_cross function to no
> >> >> success.
> >> >>
> >> >> Thanks and great work with this platform!
> >> >>
> >> >> - Alex Groleau (awgneo@...)
> >> >>
Greets!
Just to verify that Alexander isn't crazy, I too am having a very similar
issue with smart_crossfade. I'm using a modified version of the RadioPi
example from the liquidsoap documents. It worked great in 1.0.1, but now
does nothing (no logs either) in the latest 1.1.1 from git (compiled on
Ubuntu 13.04, amd64).
Here's my code:
------------------------------------------------------------
# Tweaked custom crossfade to deal with jingles..
def josh_crossfade (~start_next=5.,~fade_in=3.,~fade_out=3.,
~default=(fun (a,b) -> sequence([a, b])),
~high=-15., ~medium=-32., ~margin=4.,
~width=2.,~conservative=false,s)
fade.out = fade.out(type="sin",duration=fade_out)
fade.in = fade.in(type="sin",duration=fade_in)
add = fun (a,b) -> add(normalize=false,[b, a])
log = log(label="smart_crossfade")
def transition(a,b,ma,mb,sa,sb)
list.iter(fun(x)-> log(level=4,"Before: #{x}"),ma)
list.iter(fun(x)-> log(level=4,"After : #{x}"),mb)
if ma["type"] == "J" or mb["type"] == "J" then
log("Old or new file is a jingle: sequenced transition.")
sequence([sa, sb])
elsif
# Do not fade if it's already very low.
b >= a + margin and a <= medium and b <= high
then
log("new >= old + margin, old <= medium and new <= high.")
log("Do not fade if it's already very low.")
log("Transition: crossed, no fade.")
add(sa,sb)
# What to do with a loud end and a quiet beginning ?
# A good idea is to use a jingle to separate the two tracks,
# but that's another story.
else
# Otherwise, A and B are just too loud to overlap nicely,
# or the difference between them is too large and overlapping would
# completely mask one of them.
# log("No transition: using default.")
# default(sa, sb)
log("Transition: crossed, fade-in, fade-out.")
add(fade.out(sa),fade.in(sb))
end
end
smart_cross(width=width, duration=start_next, conservative=conservative,
transition,s)
end
------------------------------------------------------------
Not certain if it helps, but I'll be glad to run any tests if you need more
assistance.
Thanks!
Josh W
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
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
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users