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

About encoding, codec settings, muxers and filter usage
kdh
Cone that earned his stripes
Cone that earned his stripes
Posts: 224
Joined: 16 Jun 2009 22:38

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

Postby kdh » 01 Jul 2010 03:13

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 01 Jul 2010 17:28

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kdh
Cone that earned his stripes
Cone that earned his stripes
Posts: 224
Joined: 16 Jun 2009 22:38

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

Postby kdh » 01 Jul 2010 20:44

Done! 8)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 2 guests