Simple icecast streaming

Forums:

Hello,
I've been reading that MOC can stream to an icecast server, so I've searched how to do that, but I couldn't find any way. Perhaps I'm being blind, but it would be really useful to have something like a simple tutorial to understand how to connect to an icecast server and begin streaming.

Thank you very much! :)

A. mocp http://radio.108.pl:8006/meditation.ogg
B. Press Enter
C. Press Enter again

Okay, I had to cheat a little with the second step to make it three; "As simple as A, B" doesn't quite have the same ring to it.

Or from a running client:

A. Press o
B. Enter http://radio.108.pl:8006/meditation.ogg
C. Press Enter

Oh, I'm sorry, I wasn't precise. My question was a possibility to be a source for icecast. Like mpd, I wanted the ability to enter the host, port, password to stream via icecast. I don't know if I am clear?...

Perhaps what I understood about icecast was what you told me? So it is even more a request if it isn't possible to be an icecast source like mpd!

Yes, I thought there might have been more to that question but I left my mind reading skills in my pocket the other day and they went through the wash and... oh, what a mess they're in.

Currently, MOC cannot stream audio output. I do plan to make the current "Sound Drivers" (for ALSA, OSS, etc) plug-ins in the future and this would make it easier for someone to write such a driver. However, I have no immediate plans to do so myself.

Oh okay. I've been through a lot with mpd recently with encoding (a lot of files couldn't been played for that reason) and since MOC is my player of choice, I've tested them with it, and never had any trouble. So I was a little sad that I hadn't found anything about icecast with MOC.

I understand your concern about keeping MOC simple and this is something I like, but yes, in my opinion, having the ability to add plug-ins for Icecast compatibility would be very much appreciated.

Thank you for your quick answer, and keep up the good work! :)

How about using jack output to do the trick? I didn't try it, but quick glance at google suggests it may be possible.

I had problem with this solution, that's why I thought it would be cool to have this solution in moc - all in one (even if it a plug-in!)