ICECAST

About encoding, codec settings, muxers and filter usage
meza

Postby meza » 22 Apr 2006 16:11

up!

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 22 Apr 2006 16:16

try the 0.8.5-test3 release
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

meza

Postby meza » 22 Apr 2006 17:41

main error: no sout stream module matched "#shout"

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 22 Apr 2006 18:53

could you give your full command line and debug output ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Vortex

Postby Vortex » 22 Apr 2006 23:21

With the last v0.8.5-test3
from vlc --list

Code: Select all

access_output_shout Sortie IceCAST shout Shoutcast
means shoutcast compliant :lol: but :(

Command line :

Code: Select all

vlc.exe -vv C:\Video\Metropop2001.mpg :sout=#transcode{vcodec=theora,vb=256,scale=1,acodec=vorbis,ab=32,channels=1}:std{access=shout,mux=ogg,url=admin:password@localhost:8000/video.ogg}' --loop
Error message :

Code: Select all

access_output_shout error: failed to open shout stream to localhost:8000/video.ogg: Login failed stream_out_standard error: no suitable sout access module for `shout/ogg://admin:password@localhost:8000/video.ogg' stream_out_transcode error: cannot create chain main error: stream chain failed for `transcode{vcodec=theora,vb=256,scale=1,acodec=vorbis,ab=32,channels=1}:std{access=shout,mux=ogg,url=admin:pssword@localhost:8000/video.ogg}'' main error: cannot start stream output instance, aborting
What is the right syntax to stream in Icecast server ?
Thanks for your help dionoea

vortex

Postby vortex » 23 Apr 2006 00:36

bad icecast user : user=source

Code: Select all

vlc.exe -vv C:\Video\Metropop2001.mpg :sout=#transcode{vcodec=theora,vb=256,scale=1,acodec=vorbis,ab=32,channels=1}:std{access=shout,mux=ogg,url=source:password@localhost:8000/video.ogg}' --loop
so now : No error :lol:

But after :cry:
VLC still in play mode but current time always at 1s
in admin IceCast www interface : 1 Mount Point (/video.ogg) during 1s

I tired to pre-encode my mpg video in theora/ogg with ffmpeg2theora.exe
and duplicate the file with

Code: Select all

vlc.exe -vv C:\Video\PipeDrea2001.ogg :sout=#duplicate{dst=std{access=shout,mux=ogg,dst=source:password@localhost:8000/video.ogg}}
But always the same
VLC log :

Code: Select all

-- logger module started -- main debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE FPU main debug: looking for memcpy module: 4 candidates main debug: using memcpy module "memcpymmxext" main debug: waiting for thread completion main debug: thread 3616 (playlist) created at priority 0 (playlist/playlist.c:184) main debug: waiting for thread completion main debug: thread 3632 (preparser) created at priority 0 (playlist/playlist.c:210) main debug: looking for interface module: 1 candidate msn debug: using format: {0} - {1} main debug: using interface module "msn" main debug: thread 3648 (interface) created at priority 0 (interface/interface.c:231) main debug: looking for interface module: 1 candidate main debug: using interface module "hotkeys" main debug: thread 3676 (interface) created at priority 0 (interface/interface.c:231) main debug: adding playlist item `C:\Video\PipeDrea2001.ogg' ( C:\Video\PipeDrea2001.ogg ) main debug: looking for interface module: 3 candidates main debug: using interface module "wxwidgets" main debug: thread 3708 (manager) created at priority 0 (interface/interface.c:216) wxwidgets debug: Using last windows config '(-1,0,0,1280,1024)(0,221,411,389,102)(6,0,0,-1,150)' wxwidgets debug: id=0 p=(221,411) s=(389,102) wxwidgets debug: id=6 p=(0,0) s=(-1,150) main debug: nothing requested, starting main debug: creating new input thread main debug: waiting for thread completion main debug: creating statistics handler main debug: stream=`duplicate' main debug: looking for sout stream module: 1 candidate main debug: thread 3932 (input) created at priority 1 (input/input.c:261) stream_out_duplicate debug: creating 'duplicate' stream_out_duplicate debug: * adding `std{access=shout,mux=ogg,dst=source:password@localhost:8000/video.ogg}' main debug: stream=`std' main debug: looking for sout stream module: 1 candidate main debug: set sout option: sout-standard-access to shout main debug: set sout option: sout-standard-mux to ogg main debug: set sout option: sout-standard-dst to source:vortex@localhost:8000/video.ogg stream_out_standard debug: creating `shout/ogg://source:password@localhost:8000/video.ogg' stream_out_standard debug: extension is ogg stream_out_standard debug: extension -> mux=ogg stream_out_standard debug: using `shout/ogg://source:password@localhost:8000/video.ogg' main debug: looking for sout access module: 1 candidate access_output_shout debug: shout access output opened (source@localhost:8000/video.ogg) main debug: using sout access module "access_output_shout" stream_out_standard debug: access opened main debug: looking for sout mux module: 1 candidate mux_ogg: Open main debug: using sout mux module "mux_ogg" main debug: muxer support adding stream at any time main debug: muxer prefers to wait for all ES before starting to mux stream_out_standard debug: mux opened main debug: using sout stream module "stream_out_standard" main debug: using sout stream module "stream_out_duplicate" main warning: drive letter C: found in source main debug: `C:\Video\PipeDrea2001.ogg' gives access `' demux `' path `C:\Video\PipeDrea2001.ogg' main debug: creating demux: access='' demux='' path='C:\Video\PipeDrea2001.ogg' main debug: looking for access_demux module: 1 candidate main debug: creating access '' path='C:\Video\PipeDrea2001.ogg' main debug: looking for access2 module: 5 candidates vcd debug: trying .cue file: C:\Video\PipeDrea2001.cue access_file debug: opening file `C:\Video\PipeDrea2001.ogg' main debug: using access2 module "access_file" main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 1408981 bytes in 0s - 23955 kbytes/s main debug: creating demux: access='' demux='' path='C:\Video\PipeDrea2001.ogg' main debug: looking for demux2 module: 43 candidates main debug: using demux2 module "ogg" main debug: looking for a subtitle file in C:\Video\ main debug: starting in asynch mode main debug: `C:\Video\PipeDrea2001.ogg' successfully opened ogg debug: found theora header, bitrate: 0, rate: 29.970030 ogg debug: found vorbis header main debug: selecting program id=0 main debug: looking for packetizer module: 17 candidates main debug: using packetizer module "theora" main debug: stream out mode -> no decoder thread main debug: looking for packetizer module: 17 candidates main debug: using packetizer module "vorbis" main debug: stream out mode -> no decoder thread ogg debug: beginning of a group of logical streams main debug: removing module "vorbis" main debug: killing decoder fourcc `vorb', 0 PES in FIFO main debug: looking for packetizer module: 17 candidates main debug: using packetizer module "vorbis" main debug: stream out mode -> no decoder thread vorbis debug: headers already available as extra data vorbis debug: channels:2 samplerate:44100 bitrate:79840 main debug: adding a new input stream_out_duplicate debug: duplicated a new stream codec=vorb (es=1 group=0) main debug: adding a new input mux_ogg debug: adding input mux_ogg debug: vorbis stream stream_out_duplicate debug: - added for output 0 main debug: removing module "theora" main debug: killing decoder fourcc `theo', 0 PES in FIFO main debug: looking for packetizer module: 17 candidates main debug: using packetizer module "theora" main debug: stream out mode -> no decoder thread theora debug: 320x240 29.97 fps video, frame content is 320x240 with offset (0,0) main debug: adding a new input stream_out_duplicate debug: duplicated a new stream codec=theo (es=0 group=0) main debug: adding a new input mux_ogg debug: adding input mux_ogg debug: theora stream stream_out_duplicate debug: - added for output 0 mux_ogg debug: writing header mux_ogg debug: creating header for vorb mux_ogg debug: creating header for theo main debug: looking for interface module: 1 candidate logger: VLC media player - version 0.8.5-test3 Janus - (c) 1996-2006 the VideoLAN team
Any news ?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 23 Apr 2006 01:52

use shout{ } instead of std{ }
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

vortex

Postby vortex » 23 Apr 2006 09:29

I tried with an audio file and it's working :o

Code: Select all

vlc.exe -vv C:\MP3\test.mp3 :sout=#transcode{acodec=vorb,ab=96,channels=2}:duplicate{dst=std{access=shout,mux=ogg,dst=source:password@localhost:8000/audio.ogg}}
so I added video in transcode part no error but still the same : no progress :cry:

Code: Select all

vlc.exe -vv C:\Video\Metropop2001.mpg :sout=#transcode{vcodec=theora,vb=256,scale=1,acodec=vorb,ab=32,channels=1}:duplicate{dst=std{access=shout,mux=ogg,dst=source:password@localhost:8000/video.ogg}} --loop

Guest

Postby Guest » 15 May 2006 00:48

I also tried with the latest release and the latest nightly, but neither did work.

Log output:

Code: Select all

access_output_shout error: failed to open shout stream to powerdan.de:8010/: Socket error stream_out_standard error: no suitable sout access module for `shout/ogg://:pass@name.tld:8010/' main error: stream chain failed for `standard{mux=ogg,access=shout,url=:pass@name.tld:8010/}' main error: cannot start stream output instance, aborting
I started vlc with
c:\Programme\VideoLAN\VLC\vlc.exe -vv file.mp3 :sout=#standard{mux=ogg,access=shout,url=:pass@name.tld:8010/}

I'm running WinXP with SP2. The problem occurs with a normal user account as well as when using an admin account. Any clues? Normal http and udp streaming works fine.

Guest

Postby Guest » 22 Jun 2006 11:47

I use vlc as source client for icecast server. When I'm playing 1-2 stations - everything is ok, but when I'm trying to stream three or more ones - I have playback stopped periodically, besides cpu load is far from being 100%. When I'm trying to stream even more stations - vlc displays error like "Socket error, unable to write stream"
I don't think., it's because of low network bandwidth, because my LAN is rather fast and I haven't such problems when streaming video

Spot

Postby Spot » 13 Jul 2006 20:04

Hello!

I got transcoding streaming from WMA source to IceCast/MP3 working with the following command line (VLC 0.8.5 for Windows):

start vlc.exe http://wmaserver/source :sout=#transcode{acodec=mp3,ab=128,channels=2}:std{access=shout,mux=mpeg1,dst=user:pass@myicecastserver:8080/stream.mp3}

I didn't got Debian Unstable's VLC to work in the same command line (VLC 0.8.5 for Linux), but at least the Windows version works.

christiangeek
New Cone
New Cone
Posts: 1
Joined: 05 Jan 2007 23:24

Postby christiangeek » 05 Jan 2007 23:28

Whenever I try to stream to a
IceCast server, I get this error:

Code: Select all

./VLC 04\ Smile.mp3 -v --sout="#std{access=shoutcast{mp3=1},mux=mpeg1,url=source:h@domain:8000/test}" [00000001] main private warning: config file /Users/gbell/Library/Preferences/VLC/vlcrc does not exist yet [00000001] main private warning: config file /Users/gbell/Library/Preferences/VLC/vlcrc does not exist yet [00000272] main private warning: Option sout-standard-url is deprecated. You should use sout-standard-dst instead. [00000274] main private error: no sout access module matched "shoutcast" [00000272] stream_out_standard private error: no suitable sout access module for `shoutcast{mp3=1}/mpeg1://source:h@domain:8000/test' [00000272] main private warning: no sout stream module matching "std" could be loaded [00000271] main stream output error: stream chain failed for `std{access=shoutcast{mp3=1},mux=mpeg1,url=source:h@domain:8000/test}' [00000269] main input error: cannot start stream output instance, aborting [00000264] main playlist: nothing to play [00000277] main private warning: Option sout-standard-url is deprecated. You should use sout-standard-dst instead. [00000278] main private error: no sout access module matched "shoutcast" [00000277] stream_out_standard private error: no suitable sout access module for `shoutcast{mp3=1}/mpeg1://source:h@domain:8000/test' [00000277] main private warning: no sout stream module matching "std" could be loaded [00000276] main stream output error: stream chain failed for `std{access=shoutcast{mp3=1},mux=mpeg1,url=source:h@domain:8000/test}' [00000275] main input error: cannot start stream output instance, aborting VLC[20248]: [WSX:SUIS[244]] error loading prefs - creating defaults one [00000264] main playlist: nothing to play
The command worked on a windows based machine but on a mac it gives that error

Thanks,

hammadkom
Blank Cone
Blank Cone
Posts: 14
Joined: 26 Mar 2007 21:23

Postby hammadkom » 26 Mar 2007 21:37

Peace upon you
hii evry body
i solve this issue with audio codec if you are using the icecast with default values , this will work fine

"given the server ip is 192.168.1.6 "

if you are streaming file

Code: Select all

vlc.exe -vv C:\test.mp3 :sout=#transcode{acodec=vorb,ab=96,channels=2}:duplicate{dst=std{access=shout,mux=ogg,dst=source:hackme@192.168.1.6:8000/audio.ogg}}

if u r streaming from audio card this will work
(with speex codec http//www.speex.org)

Code: Select all

{acodec=spx,samplerate=8000,channels=1,aenc=speex}:std{access=shout{name="mystream"},mux=ogg,dst=source:hackme@192.168.1.6:8000/audio.ogg}"
both are working fine with audio
but now i have a problem , which is what is the best config for speex codec to reach 4 kbps with vbr or cbr

also when i see the streaming rate i see very high traffic rate !!!! amazing

please any one help

kalden
New Cone
New Cone
Posts: 1
Joined: 19 Oct 2007 02:09

Re: ICECAST

Postby kalden » 19 Oct 2007 02:48

Currently i'm using Gentoo with
VLC media player 0.9.0-svn Grishenko
and Icecast.

Code: Select all

vlc -l | grep shout access_output_shout Sortie IceCAST playlist New winamp 5.2 shoutcast import shout Shoutcast shout Shoutcast TV listings
With this :
vlc mysong.mp3 --sout #transcode{acodec=vorb,ab=128,channels=2}:standard{access=shout,mux=ogg,dst=login:pass@server.org:8000/mountpoint}'
Icecast work well.

When i try to add video like this:
vlc mymovie.avi --sout #transcode{vcodec=theo,vb=128,scale=0.25,acodec=vorb,ab=32,channels=2}:standard{access=shout,mux=ogg,dst=login:pass@server.org:8000/mountpoint}'
I've no error during the stream but the stream still on icecast only few seconds.

If i try to watch a .avi movie VLC have a seg fault.

So maybe this command is ok for video.

Can you try it?



If you have an idea... Video/Audio BitRate are very low so maybe it's not a bandwith problem.

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

Re: ICECAST

Postby airtek » 06 Nov 2007 20:19

o you solve your problem to coonect Vlc to an icecast server?


I've the same problem!
Can anyone help us?

Thanks a lot


BR

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests