Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help! Shoutcast streaming / broadcasting with VLC as source
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
quag7
Apprentice
Apprentice


Joined: 12 Aug 2002
Posts: 288
Location: Marana, Arizona - USA

PostPosted: Thu Jan 31, 2008 11:11 am    Post subject: Help! Shoutcast streaming / broadcasting with VLC as source Reply with quote

Hi folks. I've been trying to find a reasonable client to broadcast to a remote shoutcast server:


    shoutcast_trans : This works, but it has no interface. You can make a playlist, but rearranging that as stuff plays is a pain.

    muse: Cannot get this to work or even figure out the interface.

    MPD: Can't get this to work at all. The instructions I've found have not been very helpful.

    winamp in WINE: This works, but does not send song title data, and, well, I'm running WinAMP in Linux, which is embarrassing.


It looks like VLC can do it, but I am having a heck of a time getting it to work. What I want to stream is mp3s. Not .ogg files. Everything related to broadcasting seems to give examples for .ogg files and I don't have any .ogg files. I was looking at this guide, but I get tons of errors - plus, this is for....theora:

http://en.flossmanuals.net/TheoraCookbook/VLCSreaming

Does anyone have some step by step examples for broadcasting mp3s via VLC? An output MRL example would be quite helpful. Do I need to transcode with the mp3 audio codec? I need to know what settings to put in to make this work.

I tried this:

Code:

:sout=#duplicate{dst=std{access=shout,mux=ogg,dst=mylogin:mypassword@myserver:8000}}


and this:

Code:

:sout=#transcode{acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=http,mux=ts,dst=mylogin:mypassword@myserver:8000}}


I have tried changing to mux=raw and mux=mp3, and I get lots of errors like:

Code:

[00003878] main private error: cannot create socket(s) for HTTP host
[00003878] access_output_http private error: cannot listen on somehost.net:8000
[00003877] stream_out_standard private error: no suitable sout access module for
 `http/raw://somehost.net:8000'
[00003876] stream_out_duplicate private error: no destination given
[00003875] main stream output error: stream chain failed for `duplicate{dst=std{                               access=http,mux=raw,dst=somehost.net:8000}}'
[00003874] main input error: cannot start stream output instance, aborting
[00000297] main playlist: nothing to play
[00003885] main private: creating httpd
[00003885] main private error: cannot bind socket (Cannot assign requested address)
[00003885] main private error: cannot create socket(s) for HTTP host
[00003885] access_output_http private error: cannot listen on somehost.net:8000
[00003884] stream_out_standard private error: no suitable sout access module for `http/ogg://somehost.net:8000'
[00003883] stream_out_duplicate private error: no destination given
[00003882] main stream output error: stream chain failed for `duplicate{dst=std{                               access=http,mux=ogg,dst=somehost.net:8000}}'
[00003881] main input error: cannot start stream output instance, aborting
[00000297] main playlist: nothing to play
[00003894] main private: creating httpd
[00003898] dc1394 demuxer error: Bad MRL, please check the option line (MRL was:                                /mnt/archive/mp3/tracks/a/ac-dc--highway_to_hell.mp3)
[00003890] stream_out_transcode private error: cannot find encoder ((null))
[00003890] stream_out_transcode private error: cannot create audio chain
[00003903] main packetizer error: cannot create packetizer output (mpga


Specific examples would be greatly appreciated for this line.

Note that the server is definitely configured properly. I've streamed to it with winamp and the shoutcast program, as have Windows friends with WinAMP and a friend with MacAMP lite. It's kind of a drag that nothing just "works." Alternately, if anyone has suggestions for a simpler or better streaming program for broadcasting, I'm definitely open to suggestions.
_________________
http://www.dataswamp.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum