Page 1 of 1

VLC .9.9 - 1.1.0 Stream to ShoutcastDNAS2 does not work.

Posted: 01 Jul 2010 03:13
by kdh
I was doing some testing with the new Shoutcast2 DNAS and discovered that streaming from VLC to shoutcast2 does not work.

Here is what I get in my shoutcast2 logs:
2010-06-30 19:56:30 E msg:[src 74.208.167.104:44885 sid=1] [src 74.208.167.104:44885 sid=1] connection rejected. Bad icy header string [icy-irc:]
2010-06-30 19:56:30 E msg:[src 74.208.167.104:44885 sid=1] connection rejected. Bad icy header string [icy-irc:]
2010-06-30 19:56:32 I msg:[src 74.208.167.104:44886 sid=1] Shoutcast source connection.
I took a look at the latest /vlc-1.1.0/modules/access_output/shout.c file to see if it was updated and it has not.

Looking at the source code of shout.c it does not show a defined string for "IRC".

It appears it only accepts these options.

Code: Select all

static const char *const ppsz_sout_options[] = { "name", "description", "mp3", "genre", "url", "bitrate", "samplerate", "channels", "quality", "public", NULL };
Here is the VLC command I am using. This works fine with the 1.X version of Shoutcast DNAS.

Code: Select all

vlc -vvv ./my.mp3 --no-sout-video --sout '#transcode{acodec=mpga, ab=128, channels=2, samplerate=44100, aenc=ffmpeg}:std{access=shout{mp3=1, bitrate=128, samplerate=44100, channels=2, name='EverydayJunglist.org', genre='dnb'}, mux=raw, dst=admin:tranceisgay@mywebsite.com:9999//}'
Here is the tail end of my VLC log:

Code: Select all

[00000502] mpgatofixed32 filter debug: libmad error: Huffman data overrun [00000443] access_http access debug: New Title=rom - rom - aubspace sessions mix - april 2010 [00000438] access_output_shout access out error: cannot write to stream: Socket error [00000438] access_output_shout access out warning: server unavailable? trying to reconnect... [00000438] access_output_shout access out warning: reconnected to server [00000438] access_output_shout access out error: cannot write to stream: Socket error [00000438] access_output_shout access out warning: server unavailable? trying to reconnect... [00000438] access_output_shout access out warning: reconnected to server [00000438] access_output_shout access out error: cannot write to stream: Socket error [00000438] access_output_shout access out warning: server unavailable? trying to reconnect... [00000438] access_output_shout access out warning: reconnected to server
I would update the code, but 1. I do not know C. 2. If I did, I am running Centos and they refuse to update certain libs that make compiling VLC1.X even possible. Can we some how get this on the to-do list?

Re: VLC .9.9 - 1.1.0 Stream to ShoutcastDNAS2 does not work.

Posted: 01 Jul 2010 17:28
by Jean-Baptiste Kempf

Re: VLC .9.9 - 1.1.0 Stream to ShoutcastDNAS2 does not work.

Posted: 01 Jul 2010 20:44
by kdh
Done! 8)