ICECAST

About encoding, codec settings, muxers and filter usage
TeraX
New Cone
New Cone
Posts: 3
Joined: 11 Feb 2008 01:40

Re: ICECAST

Postby TeraX » 11 Feb 2008 02:22

I have a problem with the shout module:

i have debian sarge and installed apt-get install vlc-nox

if i use vlc -l | grep shout i only have:

~/vlc/bin$ vlc -l | grep shout
VLC media player 0.8.6a Janus
shout Shoutcast-Radiolisten
shout Shoutcast TV Listen


so i compile the vlc source with --enable -shout

now if i run:

~/vlc/bin$ ./vlc -l | grep shout
VLC media player 0.8.6d Janus
access_output_shout IceCAST-Ausgabe
shout Shoutcast-Radiolisten
shout Shoutcast TV Listen

icecast output is listen but now if a start the stream he didn't find the module!
(i have check different start options:)

~/vlc/bin$ ./vlc -vvv input_stream --sout '#access_output_shout{access=access_output_shout,url=ice2:pass@217.x.x.x:8000/testradio}' ../../mp3/test.mp3

[00000243] main private debug: looking for sout stream module: 0 candidates
[00000243] main private error: no sout stream module matched "access_output_shout"
[00000243] main private debug: destroying chain... (name=access_output_shout)
-----
~/vlc/bin$ ./vlc -vvv input_stream --sout '#access_output_shout{access=shout,url=ice2:pass@217.x.x.x:8000/testradio}' ../../mp3/test.mp3

[00000248] main stream output debug: stream=`access_output_shout'
[00000249] main private debug: looking for sout stream module: 0 candidates
[00000249] main private error: no sout stream module matched "access_output_shout"
-----
./vlc -vvv input_stream --sout '#shout{access=shout,url=ice2:pass@217.x.x.x:8000/testradio}' ../../mp3/test.mp3

[00000245] main stream output debug: stream=`shout'
[00000246] main private debug: looking for sout stream module: 0 candidates
[00000246] main private error: no sout stream module matched "shout"
-----

does anybody have an idea to fix this problem?


Best Regards
TeraX

promed
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2008 13:58

Re: ICECAST

Postby promed » 05 Mar 2008 14:27

Try to use a command like this:

Code: Select all

./vlc -vvv --color /path/to/file.ogg --sout '#transcore{ab=24,samplerate=11025}:standard{access=shout{mp3},mux=raw,dst=source:pass@your.server.com:8000/mountpoint}' --loop
The --loop part is optional. It will keep repeating the file.

This command worked for me.
You must have VLC recompiled with the libshout module!

Smits

airtek
Blank Cone
Blank Cone
Posts: 17
Joined: 06 Nov 2007 20:10

Re: ICECAST

Postby airtek » 05 Mar 2008 15:14

Try to use a command like this:

Code: Select all

./vlc -vvv --color /path/to/file.ogg --sout '#transcore{ab=24,samplerate=11025}:standard{access=shout{mp3},mux=raw,dst=source:pass@your.server.com:8000/mountpoint}' --loop
The --loop part is optional. It will keep repeating the file.

This command worked for me.
You must have VLC recompiled with the libshout module!

Smits
I promed , thanks for your answer , can you say to me the version of vlc that are you using , 0.90 or 0.8.6.xx and if it's a tarball source ecc , and can you wite your compile option and your source?

Thanks for your big help!!

Nest Regards

Pierpaolo

promed
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2008 13:58

Re: ICECAST

Postby promed » 05 Mar 2008 15:58

I'm using 0.8.6x (should work for all 0.8.6 versions...)

First enable the universe repository's!

You will need to install libshout:

Code: Select all

sudo apt-get install libshout-dev
Download the tarball package form http://download.videolan.org/pub/videol ... .6x.tar.gz

After extracting download the build dep:

Code: Select all

sudo apt-get build-dep vlc
Then configure the installation from the vlc tarball directory:

Code: Select all

./configure --prefix=/opt/vlc-0.8.6x/ --exec-prefix=/opt/vlc-0.8.6x/ --enable-theora --enable-shout --enable-v4l --enable-dvb
You can add some extra options here...

Finally compile...

Code: Select all

make make install
Do a final check:

Code: Select all

cd /opt/vlc-0.8.6x/bin ./vlc -l | grep shout
Output should be something like:

Code: Select all

VLC media player 0.8.6a Janus access_output_shout IceCAST output playlist New winamp 5.2 shoutcast import shout Shoutcast radio lijsten shout Shoutcast TV listings
Will this do the trick for you?

By the way, i'm on Ubuntu.
So this should atleast work for Debian, Xubuntu, Kubuntu, Edubuntu and Ubuntu.

airtek
Blank Cone
Blank Cone
Posts: 17
Joined: 06 Nov 2007 20:10

Re: ICECAST

Postby airtek » 05 Mar 2008 16:05

I'm using 0.8.6x (should work for all 0.8.6 versions...)

First enable the universe repository's!

You will need to install libshout:

Code: Select all

sudo apt-get install libshout-dev
Download the tarball package form http://download.videolan.org/pub/videol ... .6x.tar.gz

After extracting download the build dep:

Code: Select all

sudo apt-get build-dep vlc
Then configure the installation from the vlc tarball directory:

Code: Select all

./configure --prefix=/opt/vlc-0.8.6x/ --exec-prefix=/opt/vlc-0.8.6x/ --enable-theora --enable-shout --enable-v4l --enable-dvb
You can add some extra options here...

Finally compile...

Code: Select all

make make install
Do a final check:

Code: Select all

cd /opt/vlc-0.8.6x/bin ./vlc -l | grep shout
Output should be something like:

Code: Select all

VLC media player 0.8.6a Janus access_output_shout IceCAST output playlist New winamp 5.2 shoutcast import shout Shoutcast radio lijsten shout Shoutcast TV listings
Will this do the trick for you?

By the way, i'm on Ubuntu.
So this should atleast work for Debian, Xubuntu, Kubuntu, Edubuntu and Ubuntu.

Thansk I will try on the next time and send to you my result...

You are using ubuntu 7.10?

Thansk

Pierpaolo

promed
New Cone
New Cone
Posts: 7
Joined: 05 Mar 2008 13:58

Re: ICECAST

Postby promed » 05 Mar 2008 19:53

At the moment i'm using 6.10.

Should work on 7.04 and 7.10 aswell.

Let me know, as i might upgrade to 7.10 one day.

daslicht
New Cone
New Cone
Posts: 9
Joined: 09 Apr 2014 21:00

Re: ICECAST

Postby daslicht » 13 Apr 2014 18:08


daslicht
New Cone
New Cone
Posts: 9
Joined: 09 Apr 2014 21:00

Re: ICECAST

Postby daslicht » 13 Apr 2014 18:18

How do you use a *.cue file as source for a stream under Linux, please.

This is my current approach and result:

Code: Select all

daslicht@Debian-70-wheezy-64-minimal:/home/ls$ vlc -vvv playlist.cue --sout=#std{access=shout,mux=mp3,url=supersecret:supersecret@localhost:8000/stream.mp3 VLC media player 2.1.2 Rincewind (revision 2.1.2-0-ga4c4876) [0x1b8c118] main libvlc debug: VLC media player - 2.1.2 Rincewind [0x1b8c118] main libvlc debug: Copyright © 1996-2013 the VideoLAN team [0x1b8c118] main libvlc debug: revision 2.1.2-0-ga4c4876 [0x1b8c118] main libvlc debug: configured with ./configure '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--localstatedir=/var' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-dependency-tracking' '--build=x86_64-linux-gnu' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-z,relro' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=2~bpo70+2' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' le-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--libdir=/usr/lib' '--sysconfdir=/etc' '--with-binary-version=2~bpo70+2' '--enable-a52' '--enable-aa' '--enable-bluray' '--enable-bonjour' '--enable-caca' '--enable-chromaprint' '--enable-dbus' '--enable-dca' '--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libfreerdp' '--enable-libmpeg2' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' '--enable-pulse' '--enable-qt' '--enable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' nable-realrtsp' '--enable-samplerate' '--enable-schroedinger' '--enable-sdl' '--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smbclient' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-decklink' '--disable-dxva2' '--disable-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' ble-fdkaac' '--disable-gnomevfs' '--disable-goom' '--disable-libvnc' '--disable-opencv' '--disable-projectm' '--disable-quicksync' '--disable-sndio' '--disable-telx' '--disable-vsxu' '--disable-wasapi' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv1394' '--enable-linsys' '--enable-omxil' '--enable-udev' '--enable-libva' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' '--enable-sse' '--disable-neon' '--disable-altivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' ltivec' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security' 'build_alias=x86_64-linux-gnu' [0x1b8c118] main libvlc debug: searching plug-in modules [0x1b8c118] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins.dat [0x1b8c118] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x1b8c118] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins.dat [0x1b8c118] main libvlc debug: plug-ins loaded: 426 modules [0x1b8c118] main libvlc debug: opening config file (/home/daslicht/.config/vlc/vlcrc) [0x1b8c118] main libvlc debug: translation test: code is "C" [0x1b8c118] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 FPU [0x1ba0408] main input debug: Creating an input for 'Media Library' [0x1ba0408] main input debug: Input is a meta file: disabling unneeded options [0x1ba0408] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x1ba0408] main input debug: `file/xspf-open:///home/daslicht/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/daslicht/.local/share/vlc/ml.xspf' [0x1ba0408] main input debug: creating demux: access='file' demux='xspf-open' location='/home/daslicht/.local/share/vlc/ml.xspf' file='/home/daslicht/.local/share/vlc/ml.xspf' [0x1ba5ab8] main demux debug: looking for access_demux module matching "file": 20 candidates [0x1ba5ab8] main demux debug: no access_demux modules matched [0x1ba0408] main input debug: creating access 'file' location='/home/daslicht/.local/share/vlc/ml.xspf', path='/home/daslicht/.local/share/vlc/ml.xspf' [0x1ba8048] main access debug: looking for access module matching "file": 25 candidates [0x1ba8048] filesystem access debug: opening file `/home/daslicht/.local/share/vlc/ml.xspf' [0x1ba8048] main access debug: using access module "filesystem" [0x1ba8df8] main stream debug: Using stream method for AStream* [0x1ba8df8] main stream debug: starting pre-buffering [0x1ba8df8] main stream debug: received first data after 0 ms [0x1ba8df8] main stream debug: pre-buffering done 296 bytes in 0s - 6423 KiB/s [0x1ba9cb8] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x1ba9cb8] main stream debug: no stream_filter modules matched [0x1ba9cb8] main stream debug: looking for stream_filter module matching "record": 9 candidates [0x1ba9cb8] main stream debug: using stream_filter module "record" [0x1ba0408] main input debug: creating demux: access='file' demux='xspf-open' location='/home/daslicht/.local/share/vlc/ml.xspf' file='/home/daslicht/.local/share/vlc/ml.xspf' [0x1c54a48] main demux debug: looking for demux module matching "xspf-open": 63 candidates [0x1c54a48] playlist demux debug: using XSPF playlist reader [0x1c54a48] main demux debug: using demux module "playlist" [0x1c54cb8] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x1c54cb8] lua demux meta debug: Trying Lua scripts in /home/daslicht/.local/share/vlc/lua/meta/reader [0x1c54cb8] lua demux meta debug: Trying Lua scripts in /usr/lib/vlc/lua/meta/reader [0x1c54cb8] lua demux meta debug: Trying Lua playlist script /usr/lib/vlc/lua/meta/reader/filename.luac [0x1c54cb8] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x1c54cb8] main demux meta debug: no meta reader modules matched [0x1ba0408] main input debug: `file/xspf-open:///home/daslicht/.local/share/vlc/ml.xspf' successfully opened [0x1c648d8] main xml reader debug: looking for xml reader module matching "any": 1 candidates [0x1c648d8] main xml reader debug: using xml reader module "xml" [0x1c54a48] playlist demux debug: parsed 0 tracks successfully [0x1ba0408] main input debug: EOF reached [0x1c54a48] main demux debug: removing module "playlist" [0x1ba9cb8] main stream debug: removing module "record" [0x1ba8048] main access debug: removing module "filesystem" [0x1d81978] main playlist debug: creating audio output [0x1c61eb8] main audio output debug: looking for audio output module matching "any": 6 candidates [0x1c61eb8] pulse audio output debug: using library version 2.0.0 [0x1c61eb8] pulse audio output debug: (compiled with version 2.0.0, protocol 26) [0x1c61eb8] pulse audio output error: PulseAudio server connection failure: Connection refused [0x1c61eb8] alsa audio output debug: Available ALSA PCM devices: [0x1c61eb8] alsa audio output debug: Discard all samples (playback) or generate zero samples (capture) (null) [0x1c61eb8] main audio output debug: using audio output module "alsa" [0x1d81978] main playlist debug: keeping audio output [0x1d81978] main playlist debug: adding item `playlist.cue' ( file:///home/ls/playlist.cue ) [0x1bbd2a8] main interface debug: looking for interface module matching "hotkeys,none": 19 candidates [0x1bbd2a8] main interface debug: using interface module "hotkeys" [0x1bb7e78] main interface debug: looking for interface module matching "globalhotkeys,none": 19 candidates [0x1bb7e78] main interface debug: no interface modules matched [0x1bb7e78] main interface error: no suitable interface module [0x1b8c118] main libvlc error: interface "globalhotkeys,none" initialization failed [0x1bb7e78] main interface debug: looking for interface module matching "dbus,none": 19 candidates [0x1bb7e78] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 [0x1bb7e78] main interface debug: no interface modules matched [0x1bb7e78] main interface error: no suitable interface module [0x1b8c118] main libvlc error: interface "dbus,none" initialization failed [0x1b8c118] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. [0x1bb7e78] main interface debug: looking for interface module matching "any": 19 candidates [0x1bb7e78] qt4 interface error: Could not connect to X server [0x1bc7ea8] main input debug: Creating an input for 'playlist.cue' [0x1bb7e78] skins2 interface debug: Cannot open X display [0x1bb7e78] skins2 interface error: cannot initialize OSFactory [0x1bb7e78] [cli] lua interface debug: Found lua interface script: /usr/lib/vlc/lua/intf/cli.luac [0x1bb7e78] [cli] main interface debug: using interface module "lua" [0x1d81978] main playlist debug: processing request item: null, node: Playlist, skip: 0 [0x1d81978] main playlist debug: rebuilding array of current - root Playlist [0x1d81978] main playlist debug: rebuild done - 1 items, index -1 [0x1d81978] main playlist debug: starting playback of the new playlist item [0x1d81978] main playlist debug: resyncing on playlist.cue [0x1d81978] main playlist debug: playlist.cue is at 0 [0x1d81978] main playlist debug: creating new input thread [0x1bf1fa8] main input debug: Creating an input for 'playlist.cue' [0x1bb7e78] [cli] lua interface: Listening on host "*console". VLC media player 2.1.2 Rincewind Command Line Interface initialized. Type `help' for help. > [0x1c1f388] main stream output debug: using sout chain=`std{access=shout,mux=mp3,url=supersecret:supersecret@localhost:8000/stream.mp3' [0x1c1f388] main stream output debug: stream=`std' [0x1c1f7d8] main stream out debug: looking for sout stream module matching "std": 21 candidates [0x1c1f7d8] main stream out debug: set config option: sout-standard-access to shout [0x1c1f7d8] main stream out debug: set config option: sout-standard-mux to mp3 [0x1c1f7d8] main stream out debug: set config option: sout-standard-url to supersecret:supersecret@localhost:8000/stream.mp3 [0x1c20708] main access out debug: looking for sout access module matching "shout": 8 candidates [0x1c20708] access_output_shout access out error: failed to initialize shout streaming to :8000/(null) [0x1c20708] main access out debug: no sout access modules matched [0x1c1f7d8] stream_out_standard stream out error: no suitable sout access module for `shout/mp3://(null)' [0x1c1f7d8] main stream out debug: no sout stream modules matched [0x1c1f7d8] main stream out debug: destroying chain... (name=(null)) [0x1c1f7d8] main stream out debug: destroying chain done [0x1c1f388] main stream output error: stream chain failed for `std{access=shout,mux=mp3,url=supersecret:supersecret@localhost:8000/stream.mp3' [0x1bf1fa8] main input error: cannot start stream output instance, aborting [0x1d81978] main playlist debug: dead input [0x1d81978] main playlist debug: changing item without a request (current 0/1) [0x1d81978] main playlist debug: nothing to play [0x1d81978] main playlist debug: no fetch required for (null) (art currently (null))

daslicht
New Cone
New Cone
Posts: 9
Joined: 09 Apr 2014 21:00

Re: ICECAST

Postby daslicht » 14 Apr 2014 19:44

I have just set up a new Ubuntu 13 Server and installed VLC with:

Code: Select all

apt-get install vlc
When I run: vlc -vvv playlist.cue --sout="#std{access=shout,mux=mp3,url=hackme:hackme@localhost:8000/stream.mp3}"

I get this log (full):
https://gist.github.com/daslicht/224362e1a0eacc69021e

What Am I missing ?

daslicht
New Cone
New Cone
Posts: 9
Joined: 09 Apr 2014 21:00

Re: ICECAST

Postby daslicht » 15 Apr 2014 13:24

The correct command to use a cuesheet as source and stream the output to IceCast2 is:

Code: Select all

vlc -vvv file:///home/playlist.cue --sout-shout-mp3 --sout="#std{access=shout,mux=mp3,dst=hackme:hackme@localhost:8000/stream.mp3}"
or this:

Code: Select all

vlc -vvv file:///home/playlist.cue --sout="#transcode{acodec=vorbis ,ab=96,channels=2}:duplicate{dst=std{access=shout,mux=ogg,dst=hackme:hackme@localhost:8000/stream.ogg}}"
BUT it does not submit any metadata to Icecast2 :(

Do I have to enable it manually somewhere or add something to the command above ?
Or is it simply not supported ?

When I open teh cuesheet in VLC App i get:
Image

daslicht
New Cone
New Cone
Posts: 9
Joined: 09 Apr 2014 21:00

Re: ICECAST

Postby daslicht » 13 Jun 2015 19:24

Still no-one ?

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: ICECAST

Postby Jean-Baptiste Kempf » 16 Jul 2015 14:11

Probably a bug.
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.

daslicht
New Cone
New Cone
Posts: 9
Joined: 09 Apr 2014 21:00

Re: ICECAST

Postby daslicht » 15 Mar 2016 00:10

Hi,
when playing an cue sheet and stream audio to icecast, the metadata of the cue sheet is not forwared.

Anyone knows if the cuesheet BUG is a known bug and will be solved ?

daslicht
New Cone
New Cone
Posts: 9
Joined: 09 Apr 2014 21:00

Re: ICECAST

Postby daslicht » 18 Mar 2016 04:18

What works ?

cesya
New Cone
New Cone
Posts: 1
Joined: 11 Aug 2016 13:45

Re: ICECAST

Postby cesya » 11 Aug 2016 13:50

This works for me in command line with VLC 2.1.5 on Windows
vlc -I --dummy-quietAudio.mp3 --sout="#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=shout{mp3},mux=raw,dst=othersource:hackmemore@127.0.0.1:8000/audio_prueba.mp3}" vlc://quit


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests