Re: [Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Martin Konečný
Hello, Some promising news, After compiling Liquidsoap with Ocaml 4.01.0+dev10-2012-10-16 from SVN trunk, as well as some optimizations (setting LIQ nice level to -20, replace noise() with blank() for our backup stream, removing all amplify() operators), Liquidsoap no longer stutters during playb

Re: [Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Romain Beauxis
Hi, 2013/2/13 Martin Konečný : > Samuel, > > I'll report back with OCAML 4.00.1 results. However if that does not work, > it would be amazing to have this nofpu Liquidsoap. > > Just out of curiosity I know floating point is used to represent a wide > range of values with a relative error constant

Re: [Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Martin Konečný
Samuel, I'll report back with OCAML 4.00.1 results. However if that does not work, it would be amazing to have this nofpu Liquidsoap. Just out of curiosity I know floating point is used to represent a wide range of values with a relative error constant, whereas fixed point is used to represent a

Re: [Savonet-users] dynamic loader vs compiled version performance

2013-02-13 Thread Alexander
Thank you very much for replies! Yup, i am very excited with liquidsoap and would like to use liqudsoap as core for one my project for web-streaming. Sry, didn't knew about IRC, i will ask new questions there if some will appear then. :) 2013/2/13 Romain Beauxis > Hi Alexander, > > 2013/2/12 Al

[Savonet-users] webm output.icecast(%gstreamer

2013-02-13 Thread Rob Canning
now that icecast 2.4-beta supports webm streaming it would be nice to try that and with the new liquidsoap %gstreamer encoder it might work apparently 19:21 < toots5446> output.icecast(%gstreamer(?),...) anyone know how to fill in the blanks ? thanks rob --

[Savonet-users] video.add_image Could not open file

2013-02-13 Thread Rob Canning
hi, (on week old git build) been playing with streaming video, video streams fine but... trying to add a logo to the stream as shown in docs but get: 2013/02/13 23:00:50 [source:3] Could not open file Tux.jpg. bigger chunk of log below. also tried with different file types: rob@encoder:~/tv$ file

Re: [Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Samuel Mimram
Yes, I think this is the clean solution. However, I made some experiments in the nofpu branch ( https://github.com/savonet/liquidsoap/tree/nofpu ) and it seems possible to make Liquidsoap optionally use integers as internal representation, I could try to revive it if there's some motivation for it

Re: [Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Martin Konečný
Related ticket here: http://caml.inria.fr/mantis/view.php?id=5798 Will report back after compiling new ocaml :) M On Wed, Feb 13, 2013 at 12:34 PM, Martin Konečný < martin.kone...@sourcefabric.org> wrote: > Well, with hard floats support you should not have too much trouble running >> those o

Re: [Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Martin Konečný
> > Well, with hard floats support you should not have too much trouble running > those operators. Unfortunately skipping is present :( BTW, I also think that the latest OCaml has a > fully rewritten ARM backend support, which includes support for hard > floats. Ok, this looks promising! Think

Re: [Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Romain Beauxis
2013/2/13 Martin Konečný : > Hey Romain, > > I believe the default Raspbian image does support hardware FP natively (this > was not the case before) > > http://www.raspberrypi.org/downloads Cool! > In the above link you will images a hard float and soft float image, the > default being the hard-f

Re: [Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Martin Konečný
Hey Romain, I believe the default Raspbian image does support hardware FP natively (this was not the case before) http://www.raspberrypi.org/downloads In the above link you will images a hard float and soft float image, the default being the hard-float. The chart you sent also shows armhf suppor

Re: [Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Romain Beauxis
2013/2/13 Martin Konečný : > Hello, Hi Martin! > I recently got a second Raspberry Pi with the increased 512MB memory which > has renewed my interest in getting Airtime up and running on the RPi. > > I've managed to get the user interface running smoothly, and now the next > step is to get Liquid

[Savonet-users] Getting Airtime running on a Raspberry PI

2013-02-13 Thread Martin Konečný
Hello, I recently got a second Raspberry Pi with the increased 512MB memory which has renewed my interest in getting Airtime up and running on the RPi. I've managed to get the user interface running smoothly, and now the next step is to get Liquidsoap running and output to the soundcard without s

Re: [Savonet-users] potentional memleak

2013-02-13 Thread Romain Beauxis
Hi Alexander! 2013/2/13 Alexander Khryukin : > Hello guys. > Few days ago i installed airtime + liquidsoap + icecast on latest Centos. > And trying to play video. > > I modified one of *.liq scripts > > # ignore(output_t(%vorbis( > quality=0.8, channels = 2), !source)) > ignore(output_t(%

Re: [Savonet-users] input.gstreamer.audio play stream?

2013-02-13 Thread Romain Beauxis
2013/2/13 Rob Canning : > On 02/13/2013 05:24 PM, Romain Beauxis wrote: >> Hi Rob, >> >> 2013/2/12 Rob Canning : >>> On 02/11/2013 08:44 AM, Samuel Mimram wrote: Hi, If you set("log.level", 5) you will see more debug messages, amongst whose the precise pipeline used by Liquidsoa

Re: [Savonet-users] input.gstreamer.audio play stream?

2013-02-13 Thread Rob Canning
On 02/13/2013 05:24 PM, Romain Beauxis wrote: > Hi Rob, > > 2013/2/12 Rob Canning : >> On 02/11/2013 08:44 AM, Samuel Mimram wrote: >>> Hi, >>> >>> If you set("log.level", 5) you will see more debug messages, amongst >>> whose the precise pipeline used by Liquidsoap. In particular, you can >>> see

Re: [Savonet-users] Is it possible to change timeout, that is set by add_timeout function?

2013-02-13 Thread Romain Beauxis
Hi, 2013/2/12 Alexander : > I need a function (that exactly skips current track for current program to > retrieve new one from new program, when new program time comes), that will > be executed at special periods of time (that are received from external > scripts). > > Currently i'm using followin

Re: [Savonet-users] Crossfade on track.skip

2013-02-13 Thread Romain Beauxis
2013/2/12 Alexander : > Sure, > > Please have a look at pastebin with comments: > http://pastebin.com/V82GTjLM > You'll need simple php (or similar) script, that returns full track path or > url (change script name at 32nd row) > > Also i've prepared a record with about ~20 seconds length, where yo

Re: [Savonet-users] input.gstreamer.audio play stream?

2013-02-13 Thread Romain Beauxis
Hi Rob, 2013/2/12 Rob Canning : > On 02/11/2013 08:44 AM, Samuel Mimram wrote: >> Hi, >> >> If you set("log.level", 5) you will see more debug messages, amongst >> whose the precise pipeline used by Liquidsoap. In particular, you can >> see that it takes of adding the sink by itself, so nothing to

Re: [Savonet-users] Do not wait for external script execution, just call it and transfer data

2013-02-13 Thread Romain Beauxis
2013/2/11 Alexander : > Hello, Hey, > i've noticed interesting comment on sourcefabric wiki about external script > calls: > https://wiki.sourcefabric.org/display/LS/Storing+metadata+in+a+database > > # if there are errors send them nowhere ( > /dev/null ) > # system seems to await an output, thi

Re: [Savonet-users] dynamic loader vs compiled version performance

2013-02-13 Thread Romain Beauxis
Hi Alexander, 2013/2/12 Alexander : > What is better to use for perfomance - dynamic loader (as provided in debian > packages) or compiled liquidsoap version? There should not be any difference. Hey, I've noticed that you are very excited about liquidsoap and this is great! However, in order to

[Savonet-users] potentional memleak

2013-02-13 Thread Alexander Khryukin
Hello guys. Few days ago i installed airtime + liquidsoap + icecast on latest Centos. And trying to play video. I modified one of *.liq scripts # ignore(output_t(%vorbis( quality=0.8, channels = 2), !source)) ignore(output_t(%ogg(%theora(quality=25,width=320,height=240),%vorbis), !source))