2011/3/15 Simon Eigeldinger <[email protected]>: > Hello, Hi Simon!
> I am new to liquidsoap and i wrote my first script which gets data from > a soundcards line in jack via alsa and then puts it into 3 outputs. > > When i start liquidsoap i get following log message: > 2011/03/15 17:36:55 [threads:1] Thread "root" failed: Error while > setting open_pcm: No such file or directory! Hmm.. It seems that the default alsa device is not working for some reasons.. You may check: aplay -l and aplay -L to get a list of the available alsa devices and then use the device=".." parameter to select the one you want to be using. Also, if you plan on streaming FLAC data. I would really recommend trying a recent (SVN/hg) version of liquidsoap, which has now a builtin support for FLAC encoding/decoding that will be much more stable than the external encoder solution used for output.icecast.flac previously.. Romain > Here is the script i used: > > alsainput = input.alsa( > bufferize=false) > > goodsound = nrj(alsainput) > > flacoutput = output.icecast.flac( > host="localhost", > port=8888, > password="something", > genre="Genre", > url="http://www.example.com/", > description="description", > public=false, > mount="mountpoint.flac", > name="mount name", > quality=5, > goodsound) > > oggoutput = output.icecast.vorbis.cbr( > host="localhost", > port=8888, > password="something", > genre="genre", > url="http://www.example.com/", > description="description", > public=true, > mount="mount.ogg", > name="ogg mount", > bitrate=128, > goodsound) > > mp3output = output.icecast.lame( > host="localhost", > port=8888, > password="something", > genre="genre", > url="http://www.example.com/", > description="description", > public=true, > mount="mount.mp3", > name="TV", > bitrate=128, > swap=true, > goodsound) > > Can someone tell me what's wrong? > I tried to record with sox using alsa and it works nicely. > > > Thanks for helping in advance. > > Greetings, > Simon > > > -- > Simon Eigeldinger > Follow me on Twitter: http://www.twitter.com/domasofan/ > E-Mail: [email protected] > MSN: [email protected] > ICQ: 121823966 > Jabber: [email protected] > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
