Hi all! I've been quite silent the past week but Sam and I have now finished a complete fixed-point encoded for liquidsoap!
You'll need: * https://github.com/savonet/shine * latest savonet HG Once savonet/shine is installed, you'll need to add/uncomment ocaml-shine to your PACKAGES file and do the usual configure, make, make install danse. The encoder is available as: %mp3.fxp. I've tested it on a Raspberry Pi and it works like a charm: pi@raspbmc:~/savonet/liquidsoap/src$ ./liquidsoap 'output.icecast(%mp3.fxp,fallible=true,mount="test",playlist("/tmp/er"))' 2012/07/26 10:53:02 >>> LOG START 2012/07/26 10:53:01 [protocols.external:3] Didn't find "ufetch". 2012/07/26 10:53:01 [protocols.external:3] Found "/usr/bin/wget". 2012/07/26 10:53:02 [main:3] Liquidsoap 1.0.1+scm (default@af164dc18ed2:20120726:104655) 2012/07/26 10:53:02 [main:3] Using: pcre=6.0.1 dtools=0.3.0 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.0 mad=0.4.4 dynlink=[distributed with Ocaml] shine=0.1.0 samplerate=0.1.1 magic=0.7.3 camomile=0.7.1 2012/07/26 10:53:02 [main:2] 2012/07/26 10:53:02 [main:2] DISCLAIMER: This version of Liquidsoap has been 2012/07/26 10:53:02 [main:2] compiled from a snapshot of the development code. 2012/07/26 10:53:02 [main:2] As such, it should not be used in production 2012/07/26 10:53:02 [main:2] unless you know what you are doing! 2012/07/26 10:53:02 [main:2] 2012/07/26 10:53:02 [main:2] We are, however, very interested in any feedback 2012/07/26 10:53:02 [main:2] about our development code and committed to fix 2012/07/26 10:53:02 [main:2] issues as soon as possible. 2012/07/26 10:53:02 [main:2] 2012/07/26 10:53:02 [main:2] If you are interested in collaborating to 2012/07/26 10:53:02 [main:2] the development of Liquidsoap, feel free to 2012/07/26 10:53:02 [main:2] drop us a mail at <[email protected]> 2012/07/26 10:53:02 [main:2] or to join the #savonet IRC channel on Freenode. 2012/07/26 10:53:02 [main:2] 2012/07/26 10:53:02 [main:2] Please send any bug report or feature request 2012/07/26 10:53:02 [main:2] at <http://dev.sourcefabric.org/browse/LS>. 2012/07/26 10:53:02 [main:2] 2012/07/26 10:53:02 [main:2] We hope you enjoy this snapshot build of Liquidsoap! 2012/07/26 10:53:02 [main:2] 2012/07/26 10:53:02 [dynamic.loader:2] Could not load plugins in directory /usr/local/lib/liquidsoap/scm/plugins. 2012/07/26 10:53:02 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. 2012/07/26 10:53:02 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples. 2012/07/26 10:53:02 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks. 2012/07/26 10:53:02 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks. 2012/07/26 10:53:02 [threads:3] Created thread "generic queue #1". 2012/07/26 10:53:02 [threads:3] Created thread "generic queue #2". 2012/07/26 10:53:02 [er:3] Loading playlist... 2012/07/26 10:53:02 [er:3] Playlist is a directory. 2012/07/26 10:53:03 [er:3] Successfully loaded a playlist of 387 tracks. 2012/07/26 10:53:03 [test:3] Connecting mount test for source@localhost... 2012/07/26 10:53:03 [decoder:3] Method "MAD" accepted "/tmp/er/jules/03 boogaloo.mp3". 2012/07/26 10:53:04 [test:3] Connection setup was successful. 2012/07/26 10:53:04 [threads:3] Created thread "wallclock_main" (1 total). 2012/07/26 10:53:04 [clock.wallclock_main:3] Streaming loop starts, synchronized with wallclock. 2012/07/26 10:53:04 [er:3] Prepared "/tmp/er/jules/03 boogaloo.mp3" (RID 1). 2012/07/26 10:55:30 [decoder:3] Method "MAD" accepted "/tmp/er/Guelewar/2011 - Halleli N'dakarou/02-guelewar-balla_jigi.mp3". 2012/07/26 10:55:41 [er:3] Finished with "/tmp/er/jules/03 boogaloo.mp3". 2012/07/26 10:55:41 [er:3] Prepared "/tmp/er/Guelewar/2011 - Halleli N'dakarou/02-guelewar-balla_jigi.mp3" (RID 2). 2012/07/26 11:02:39 [decoder:3] Method "MAD" accepted "/tmp/er/Roce-Identite_En_Crescendo-FR-2006-/04-roce-le_meteque.mp3". 2012/07/26 11:02:50 [er:3] Finished with "/tmp/er/Guelewar/2011 - Halleli N'dakarou/02-guelewar-balla_jigi.mp3". 2012/07/26 11:02:50 [er:3] Prepared "/tmp/er/Roce-Identite_En_Crescendo-FR-2006-/04-roce-le_meteque.mp3" (RID 3). 2012/07/26 11:07:21 [decoder:3] Method "MAD" accepted "/tmp/er/Sam Cooke - 1964 - Live At The Copa/08 - When I Fall In Love.mp3". 2012/07/26 11:07:33 [er:3] Finished with "/tmp/er/Roce-Identite_En_Crescendo-FR-2006-/04-roce-le_meteque.mp3". 2012/07/26 11:07:33 [er:3] Prepared "/tmp/er/Sam Cooke - 1964 - Live At The Copa/08 - When I Fall In Love.mp3" (RID 0). 2012/07/26 11:10:35 [decoder:3] Method "MAD" accepted "/tmp/er/Misty In Roots - Misty Over Sweden (Live 1979)/02 - Judas Iskariot.mp3". 2012/07/26 11:10:45 [er:3] Finished with "/tmp/er/Sam Cooke - 1964 - Live At The Copa/08 - When I Fall In Love.mp3". 2012/07/26 11:10:45 [er:3] Prepared "/tmp/er/Misty In Roots - Misty Over Sweden (Live 1979)/02 - Judas Iskariot.mp3" (RID 1). (...) 2012/7/23 Chris Everest <[email protected]>: > On Mon, Jul 23, 2012 at 8:55 AM, Matt Camp <[email protected]> wrote: >> Excellent stuff, thanks for such a detailed effort! >> >> Has anyone tried using a usb audio interface for live streaming yet on an >> rpi? >> >> On 20 July 2012 12:44, Anthony Williams <[email protected]> wrote: >>> >>> Hello >>> >>> I spent yesterday compiling and testing liquidsoap on the new Raspbian >>> distribution. The performance improvement is very good. Prepare for a >>> marathon message... sorry! >>> > ... > > Just have to chime in to say thanks for all the posts here. I have > two raspberry pi's and not one extra minute to mess with them :) I > have a couple usb audio devices. When I have some spare time, I'll > get my usb audio device hooked up to try live streaming. > > Good work everyone on the postings and help. > > > > -- > Chris Everest > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Savonet-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/savonet-users ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
