I've had a search around in the forums, there are people doing similar
projects to what I am hoping to acheive, but in reverse and using the Pi
as a server as opposed to an encoder.
What I'm looking to do, is using my Model B Pi (512MB Edition), capture
audio from my USB sound card device, and stream it to a Shoutcast server
to broadcast.
I've heard of "MuSE" however from what i've looked at, it appears more of a multi-track sound editor rather than stream encoder.
I could just be looking in the wrong place within the software, but I
thought it's definately worth asking here, there's bound to be somebody
who knows what to do.
I was using a Windows machine before, using some free software called
"Edcast" and another called "Oddcast" which were freely available from
SourceForge but since the original software isn't available any more, I
can't find any references to it being available on a Linux platform
hence the search for an alternative.
I look forward to your responses.
https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=72909
I've heard of "MuSE" however from what i've looked at, it appears more of a multi-track sound editor rather than stream encoder.
There are at least two projects using the name "Muse", the multi-track wav/midi editor - http://muse-sequencer.org/ and the Streaming Engine - http://www.dyne.org/software/muse/. I think the latter is what you're looking for. I have tested it and it doesn't work on a Raspberry Pi, it's too CPU hungry.
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=63&t=63102&p=469099#p469099
I use Darkice myself, which is available in the repositories. I stream to Icecast servers, but it can do Shoutcast too.
Darkice doesn't have support for MP3 or AAC out of the box, due to
licensing, but it's fairly easy to build it yourself following these
write-ups if you need it:
http://www.t3node.com/blog/live-streaming-mp3-audio-with-darkice-and-icecast2-on-raspberry-pi/
https://sites.google.com/site/glyman3home/raspi-streaming-to-broadcastify
Darkice is quite good (as mentioned) but the way it pre-buffers the stream is poorly designed.
Basically if you run Darkice for 3 hours you'll have a 3 hour ogg buffer
file eating up your disk space even though pre-buffering only really
requires 10 - 15 seconds of audio per client.
mp3 and aac+ support are missing from the build probably due to
licensing malarkey but ogg isn't too bad unless you're using flash
player.
Some capture devices don't play nicely with certain sample rates which
you'll notice if playback sounds skippy / missed samples on playback
No comments:
Post a Comment
Note: only a member of this blog may post a comment.