stream to Icecast fails

About encoding, codec settings, muxers and filter usage
coffeenod
New Cone
New Cone
Posts: 1
Joined: 04 Nov 2016 00:16

stream to Icecast fails

Postby coffeenod » 04 Nov 2016 00:33

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?

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

Re: stream to Icecast fails

Postby Jean-Baptiste Kempf » 27 Dec 2016 11:28

(null):8000/hackme@127.0.0.1:8000/audio.ogg

The command line is not understood.
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.

anu1097
New Cone
New Cone
Posts: 1
Joined: 13 Mar 2017 18:42

Re: stream to Icecast fails

Postby anu1097 » 13 Mar 2017 18:48

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.

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

Re: stream to Icecast fails

Postby Jean-Baptiste Kempf » 11 Jun 2017 16:05

please use -vv on the server side.
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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 23 guests