Shoutcast streaming

About encoding, codec settings, muxers and filter usage
acid2
New Cone
New Cone
Posts: 2
Joined: 13 Aug 2006 17:39

Shoutcast streaming

Postby acid2 » 13 Aug 2006 17:48

Hi,

I've seen this topic come up a few times, but there hasn't been any answers, which is a shame. I have a shoutcast server at 87.117.193.144:9194/. I want to stream a wav file in VLC, to this server Here's my sout:

:sout=#transcode{acodec=mp3,ab=128,channels=2}:std{access=shout{mp3},dst=source:passwordhere@87.117.193.144:9194/,mux=ogg}

I've used the same, but with a different server (icecast) - and that's worked fine. But with the shoutcast server, it doesn't work - here's the message output:

Code: Select all

main debug: adding playlist item `I:\2006-08-13_16h01m04.wav' ( I:\2006-08-13_16h01m04.wav ) main debug: creating new input thread main debug: waiting for thread completion main debug: thread 4192 (input) created at priority 1 (input/input.c:261) main debug: stream=`transcode' main debug: looking for sout stream module: 1 candidate main debug: stream=`std' main debug: looking for sout stream module: 1 candidate main debug: set sout option: sout-standard-access to shout{mp3} main debug: set sout option: sout-standard-dst to source:password@87.117.193.144:9194/ main debug: set sout option: sout-standard-mux to ogg stream_out_standard debug: creating `shout{mp3}/ogg://source:password@87.117.193.144:9194/' stream_out_standard debug: extention is 144:9194/ stream_out_standard debug: extention -> mux=(null) stream_out_standard debug: using `shout{mp3}/ogg://source:password@87.117.193.144:9194/' main debug: looking for sout access module: 1 candidate main debug: set sout option: sout-shout-mp3 to (null) access_output_shout error: failed to open shout stream to 87.117.193.144:9194/: Socket error main warning: no sout access module matching "shout" could be loaded stream_out_standard error: no suitable sout access module for `shout{mp3}/ogg://source:password@87.117.193.144:9194/' main warning: no sout stream module matching "std" could be loaded main debug: destroying chain... (name=std) main debug: destroying chain done stream_out_transcode error: cannot create chain main warning: no sout stream module matching "transcode" could be loaded main debug: destroying chain... (name=transcode) main debug: destroying chain done main error: stream chain failed for `transcode{acodec=mp3,ab=128,channels=2}:std{access=shout{mp3},dst=source:passwordhere@87.117.193.144:9194/,mux=ogg}' main error: cannot start stream output instance, aborting main debug: thread times: real 0m0.171875s, kernel 0m0.000000s, user 0m0.015625s main debug: thread 4192 joined (input/input.c:403) main: nothing to play

Trax
Blank Cone
Blank Cone
Posts: 82
Joined: 17 Apr 2005 01:34

Postby Trax » 14 Aug 2006 00:58

Shoutcast uses a different protocol than Icecast. Could you test and see if the following works with a nightly/development build (which should have protocol selection, icy for shoutcast servers and http for icecast which is default).

:sout=#transcode{acodec=mp3,ab=128,channels=2}:std{access=shout{mp3=1,protocol=icy},mux=mpeg1,dst=source:password@server:port/stream.mp3}

This now works for me streaming mp3 to a shoutcast server.

acid2
New Cone
New Cone
Posts: 2
Joined: 13 Aug 2006 17:39

Postby acid2 » 14 Aug 2006 11:52

Grabbed a nightly off nightlies.videolan.org and tried again, here's my output:

Code: Select all

access_output_shout error: failed to open shout stream to 87.117.193.144:9194/: Socket error stream_out_standard error: no suitable sout access module for `shout{mp3=1,protocol=icy}/mpeg1://source:zomgpassword@87.117.193.144:9194/' stream_out_transcode error: cannot create chain main error: stream chain failed for `transcode{acodec=mp3,ab=128,channels=2}:std{access=shout{mp3=1,protocol=icy},mux=mpeg1,dst=source:lolpasswordrly@87.117.193.144:9194/}' main error: cannot start stream output instance, aborting
Any ideas? I tried using / and /stream.mp3 - but they both give the same. Does shoutcast have some concept of mountpoints?

Trax
Blank Cone
Blank Cone
Posts: 82
Joined: 17 Apr 2005 01:34

Postby Trax » 16 Aug 2006 12:37

The latest development version automatically tries shoutcast (protocol) if icecast fails (there is only support for streaming MP3 to shoutcast). Nightly builds as of 20060817 should have this option. The socket error in this case was caused by a mismatch in the protocol.

WiZO9247
New Cone
New Cone
Posts: 1
Joined: 10 Dec 2006 15:36

Postby WiZO9247 » 10 Dec 2006 16:05

I'm trying to do the same thing as acid2, but couldn't stream to my shoutcast server either.
Did anybody ever accomplish that task?


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests