Hi Patrick,

I haven't tried 1.1.1 on my Pi.. nice to know it's available in Jessie.

You can try running with --debug in the command line.  That might give some
additional information

Post the log output, I assume that there is something at least, not just an
immediated exit.. should at least
tell you what plugins etc.

I did have some problems when I set mine up with how to tell LiquidSoap
which ALSA device to use.

I did "aplay -l" to get a list of all the ALSA devices.  LiquidSoap wants
the part between the card n: and the [

So, on my older Rasbian, the onboard ALSA device is ALSA.  So that would
make it input.alsa(device="hw: ALSA")

At least that is how I needed to specify it on the output.  I would assume
that input works the same.

Nick

On Wed, Oct 21, 2015 at 10:56 PM, Patrick Perdue <[email protected]>
wrote:

> Hello all:
>
> I recently purchased a Raspberry Pi 2 for a streaming project. I want to
> use Liquidsoap to stream one mp3 mountpoint to an Icecast2 server
> running on the Pi, using alsa input from an audio interface, while
> continuously archiving in FLAC to an external hard drive.
> I am a verified liquidsoap noob. I put together a basic script which I
> think should work, and a friend did a more complex version with
> archiving capability, but when executed as a normal or super user,
> Liquidsoap immediately exits with no output to the console.
>
> I have configured and tested the local icecast server (was able to
> successfully stream in ogg vorbis and mp3 using the Pi and darkice with
> an alsa pcm device referring to hw:1,0, as well as addressing hw:1,0
> directly.) I installed packages liquidsoap and liquidsoap-plugin-all
> from the default Raspbian repositories. The user executing Liquidsoap is
> also a member of the audio group, though I think this is irrelevant in
> this case, as it still dies if using sine as input rather than live
> audio capture.
>
> I have purposefully screwed up bits of the configuration file just to
> watch it throw errors, which it does as expected, but with these two
> scripts, it immediately bombs out with no console output. The -v switch
> makes no difference.
>
> I'm really not sure where to go from here, since I can't see what's
> broken\.
>
> Suggestions are appreciated.
>
> Here is my script for reference:
>
> input=input.alsa(device="hw:1,0") out_dump_flac = output.file(
> id="out_dump_flac", %flac( samplerate=44100, channels=2, compression=7,
> bits_per_sample=16 ), reopen_on_metadata=false,
> "/home/pi/archives/%Y-%m-%d/%Y-%m-%d-%H_%M_%S.flac", input ) out_ic_mp3 =
> output.icecast( %mp3( bitrate=192, internal_quality=0 ), host =
> "localhost", port = 9600, password = "JustAnotherUselessPassword",
> name="CRASH AND BURN!", description="Not particularly useful",
> genre="busted", url="www.404.com",
> mount= "test", input, id="out_ic_mp3"
> )
>
>
> And here is another script, yielding the same result:
>
> test = input.alsa(device="hw:1,0")
> output.icecast(%mp3(stereo=true, bitrate=192, samplerate=44100),
>   host="localhost",
>   port=9600, password="GetYourOwnPassword", genre="dead",
>   description="NO!", mount="/test",
>   name="Nothing Useful At All", user="source",
>   url="http://www.404.com";, test)
>
> Again, suggestions welcome. I don't currently have another Linux box to
> test with, though I may try this with Arch Linux instead of Raspbian
> when I have more time.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to