Page 1 of 1

stream to Icecast fails

Posted: 04 Nov 2016 00:33
by coffeenod
I try to set up a Shoutcast stream to the Icecast server running on localhost (Linux) with the following command:

Code: Select all

vlc Music/test.ogg --sout="#std{access=shout,mux=ogg,dst=source:hackme@127.0.0.1:8000/audio.ogg}"
But it doesn't want to work:

Code: Select all

VLC media player 3.0.0-git Vetinari (revision 3.0.0~~git20160813+r65787+62~ubuntu16.04.1) [0000000001df10e8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00007f82bc002d08] access_output_shout access out error: failed to initialize shout streaming to (null):8000/hackme@127.0.0.1:8000/audio.ogg [00007f82bc001028] standard stream out error: no suitable sout access module for `shout/ogg://source:hackme@127.0.0.1:8000/audio.ogg' [00007f82bc000bd8] core stream output error: stream chain failed for `std{access=shout,mux=ogg,dst=source:hackme@127.0.0.1:8000/audio.ogg}' [00007f82c40009d8] core input error: cannot start stream output instance, aborting
I tried a lot: mp3 streams, version 2.2, etc. The result was the same.

It looks like to me as the destination wouldn't be parsed properly. Can anybody give a hint, what do I do wrong?

Re: stream to Icecast fails

Posted: 27 Dec 2016 11:28
by Jean-Baptiste Kempf
(null):8000/hackme@127.0.0.1:8000/audio.ogg

The command line is not understood.

Re: stream to Icecast fails

Posted: 13 Mar 2017 18:48
by anu1097
For I ran the same command with a few changes

Code: Select all

anuraag@anu123:~$ vlc ~/Videos/Big_Buck_Bunny_small.ogv --sout="#std{access=shout,mux=ogg,dst=source:hackme@127.0.0.1:8000/BBB.ogg}" :sout-keep & [1] 26858 anuraag@anu123:~$ VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) [0000564a115d3148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. anuraag@anu123:~$ vlc http://localhost:8000 VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) [0000555ba077b148] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [00007f6440000e28] core access error: connection failed: Connection refused [00007f6440000e28] http access error: cannot connect to localhost:8000 [00007f6440000e28] core access error: connection failed: Connection refused [00007f6440000e28] access_mms access error: cannot connect to localhost:8000 [00007f64480009b8] core input error: open of `http://localhost:8000' failed QObject::~QObject: Timers cannot be stopped from another thread
I am frustrated by this connection refused error. I don't what do I need to do solve this problem.

Re: stream to Icecast fails

Posted: 11 Jun 2017 16:05
by Jean-Baptiste Kempf
please use -vv on the server side.