Code: Select all
vlc -vvv --color <input> --sout "#std{access=shout{name=MyTest},mux=ogg,dst=login:password@ip:port}"
Code: Select all
IceCAST output
--sout-shout-name=<string> Stream name
Name to give to this stream/channel on the
shoutcast/icecast server.
--sout-shout-description=<string>
Stream description
Description of the stream content or
information about your channel.
--sout-shout-mp3, --no-sout-shout-mp3
Stream MP3 (default disabled)
You normally have to feed the shoutcast
module with Ogg streams. It is also possible
to stream MP3 instead, so you can forward MP3
streams to the shoutcast/icecast server.
(default disabled)
--sout-shout-genre=<string>
Genre description
Genre of the content.
--sout-shout-url=<string> URL description
URL with information about the stream or your
channel.
--sout-shout-bitrate=<string>
Bitrate
Bitrate information of the transcoded stream.
--sout-shout-samplerate=<string>
Samplerate
Samplerate information of the transcoded
stream.
--sout-shout-channels=<string>
Number of channels
Number of channels information of the
transcoded stream.
--sout-shout-quality=<string>
Ogg Vorbis Quality
Ogg Vorbis Quality information of the
transcoded stream.
--sout-shout-public, --no-sout-shout-public
Stream public (default disabled)
Make the server publicly available on the
'Yellow Pages' (directory listing of streams)
on the icecast/shoutcast website. Requires
the bitrate information specified for
shoutcast. Requires Ogg streaming for
icecast. (default disabled)
Code: Select all
# ls -1 /usr/lib/vlc/access_output/
libaccess_output_dummy_plugin.so
libaccess_output_file_plugin.so
libaccess_output_http_plugin.so
libaccess_output_udp_plugin.so
Code: Select all
# ./configure --help |grep shout
--enable-shout libshout output plugin (default disabled)
Code: Select all
# /usr/local/vlc/bin/vlc -list |grep shout
VLC media player 0.8.6a Janus
starting VLC root wrapper... using UID 0 (root)
access_output_shout IceCAST output
playlist New winamp 5.2 shoutcast import
shout Shoutcast radio listings
shout Shoutcast TV listings
Code: Select all
/usr/local/vlc/bin/vlc \
-vvv \
--color /tmp/playlist.m3u \
--sout '#transcode{vcodec=theora,vb=256,scale=1,acodec=vorbis,ab=32,channels=1}:std{access=shout,mux=ogg,dst=[login]:[pass]@[ip]:8000}'
Code: Select all
starting VLC root wrapper... using UID 0 (root)
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/local/vlc/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 181 modules
[00000001] main private debug: opening config file /root/.vlc/vlcrc
[00000001] main private warning: config file /root/.vlc/vlcrc does not exist yet
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000228] main playlist debug: waiting for thread completion
[00000228] main playlist debug: thread 1083972528 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000229] main private debug: waiting for thread completion
[00000229] main private debug: thread 1092361136 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000230] main interface debug: looking for interface module: 1 candidate
[00000230] main interface debug: using interface module "hotkeys"
[00000230] main interface debug: thread 1100774320 (interface) created at priority 0 (interface/interface.c:231)
[00000228] main playlist debug: adding playlist item `/tmp/playlist.m3u' ( /tmp/playlist.m3u )
[00000232] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized. Type `help' for help.
[00000232] main interface debug: using interface module "rc"
[00000232] main interface debug: thread 1110440880 (manager) created at priority 0 (interface/interface.c:216)
[00000228] main playlist debug: creating new input thread
[00000234] main input debug: waiting for thread completion
[00000234] main input debug: thread 1118829488 (input) created at priority 0 (input/input.c:265)
[00000234] main input debug: creating statistics handler
[00000236] main stream output debug: stream=`transcode'
[00000237] main private debug: looking for sout stream module: 1 candidate
[00000236] main stream output debug: stream=`std'
[00000240] main private debug: looking for sout stream module: 1 candidate
[00000240] main private debug: set sout option: sout-standard-access to shout
[00000240] main private debug: set sout option: sout-standard-mux to ogg
[00000240] main private debug: set sout option: sout-standard-dst to [user]:[pass]@[ip]:8000
[00000240] stream_out_standard private debug: creating `shout/ogg://[user]:[pass]@[ip]:8000'
[00000240] stream_out_standard private debug: extension is 203:8000
[00000240] stream_out_standard private debug: extension -> mux=(null)
[00000240] stream_out_standard private debug: using `shout/ogg://[user]:[pass]@[ip]:8000'
[00000242] main private debug: looking for sout access module: 1 candidate
status change: ( new input: /tmp/playlist.m3u )
status change: ( audio volume: 256 )
status change: ( play state: 1 )
[00000242] access_output_shout private error: failed to open shout stream to 83.137.144.203:8000/: Socket error
[00000242] main private warning: no sout access module matching "shout" could be loaded
[00000240] stream_out_standard private error: no suitable sout access module for `shout/ogg://[user]:[pass]@[ip]:8000'
[00000240] main private warning: no sout stream module matching "std" could be loaded
[00000240] main private debug: destroying chain... (name=std)
[00000240] main private debug: destroying chain done
[00000237] stream_out_transcode private error: cannot create chain
[00000237] main private warning: no sout stream module matching "transcode" could be loaded
[00000237] main private debug: destroying chain... (name=transcode)
[00000237] main private debug: destroying chain done
[00000236] main stream output error: stream chain failed for `transcode{vcodec=theora,vb=256,scale=1,acodec=vorbis,ab=32,channels=1}:std{access=shout,mux=ogg,dst=[user]:[pass]@[ip]:8000}'
[00000234] main input error: cannot start stream output instance, aborting
[00000234] main input debug: thread 1118829488 joined (input/input.c:412)
[00000228] main playlist: nothing to play
status change: ( stop state: 0 )
Code: Select all
vlc.exe -vv dshow://dshow-adev="" :sout="#transcode{acodec=spx,channels=2 }:duplicate{dst=std{access=shout{bitrate=6,Samplerate=8000,channels=1},mux=ogg,dst=source:hackme@192.168.1.6:8000/audio.ogg}}"
Code: Select all
main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
main debug: looking for memcpy module: 3 candidates
main debug: using memcpy module "memcpymmxext"
main debug: waiting for thread completion
main debug: thread 3732 (playlist) created at priority 0 (playlist/playlist.c:184)
main debug: waiting for thread completion
main debug: thread 3748 (preparser) created at priority 0 (playlist/playlist.c:210)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: thread 3772 (interface) created at priority 0 (interface/interface.c:231)
main debug: adding playlist item `dshow://dshow-adev=' ( dshow://dshow-adev= )
main debug: looking for interface module: 3 candidates
main debug: using interface module "wxwidgets"
main debug: thread 3804 (manager) created at priority 0 (interface/interface.c:216)
wxwidgets debug: Using last windows config '(-1,0,0,1024,768)(0,436,196,355,105)(2,22,29,418,587)(6,0,0,-1,150)'
wxwidgets debug: id=0 p=(436,196) s=(355,105)
wxwidgets debug: id=2 p=(22,29) s=(418,587)
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: thread 3944 (input) created at priority 1 (input/input.c:265)
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`duplicate'
main debug: looking for sout stream module: 1 candidate
stream_out_duplicate debug: creating 'duplicate'
stream_out_duplicate debug: * adding `std{access=shout{bitrate=6,Samplerate=8,channels=1},mux=ogg,dst=source:hackme@192.168.1.6:8000/audio.ogg}'
main debug: stream=`std'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-standard-access to shout{bitrate=6,Samplerate=8,channels=1}
main debug: set sout option: sout-standard-mux to ogg
main debug: set sout option: sout-standard-dst to source:hackme@192.168.1.6:8000/audio.ogg
stream_out_standard debug: creating `shout{bitrate=6,Samplerate=8,channels=1}/ogg://source:hackme@192.168.1.6:8000/audio.ogg'
stream_out_standard debug: extension is ogg
stream_out_standard debug: extension -> mux=ogg
stream_out_standard debug: using `shout{bitrate=6,Samplerate=8,channels=1}/ogg://source:hackme@192.168.1.6:8000/audio.ogg'
main debug: looking for sout access module: 1 candidate
main warning: option bitrate is unknown
main warning: option Samplerate is unknown
main warning: option channels is unknown
access_output_shout debug: shout access output opened (source@192.168.1.6:8000/audio.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 debug: set sout option: sout-transcode-acodec to spx
main debug: set sout option: sout-transcode-channels to 2
stream_out_transcode debug: codec audio=spx 0Hz 2 channels 64Kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: `dshow://dshow-adev=' gives access `dshow' demux `' path `dshow-adev='
main debug: creating demux: access='dshow' demux='' path='dshow-adev='
main debug: looking for access_demux module: 1 candidate
dshow error: no capture device was detected
dshow error: can't open video
dshow debug: found device: Realtek HD Audio input
dshow debug: using device: Realtek HD Audio input
dshow debug: EnumDeviceCaps: output pin: Capture
dshow debug: EnumDeviceCaps: input pin: CD Volume
dshow debug: EnumDeviceCaps: input pin: Mic Volume
dshow debug: EnumDeviceCaps: input pin: Line Volume
dshow debug: EnumDeviceCaps: input pin: Stereo Mix
dshow debug: EnumDeviceCaps: trying pin Capture
dshow debug: EnumDeviceCaps: input pin default format configured
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:44100 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:32000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:32000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:22050 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:22050 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:11025 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:11025 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:8000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:8000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:44100 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:44100 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:22050 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:22050 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:11025 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:11025 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:8000 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:8000 bits/sample:8
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:48000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:48000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:2, samples/sec:96000 bits/sample:16
dshow debug: EnumDeviceCaps: input pin accepts format: araw, channels:1, samples/sec:96000 bits/sample:16
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: connecting filters
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo [not connected]
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::QueryFilterInfo
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryAccept [OK] (channels=2, samples/sec=44100, bits/samples=16, format=araw)
dshow debug: CapturePin::ReceiveConnection [OK]
dshow debug: CapturePin::NotifyAllocator
dshow debug: filters connected successfully !
dshow debug: MEDIATYPE_Audio
dshow debug: selected audio pin accepts format: araw
dshow debug: Playing...
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CaptureFilter::EnumPins
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo [OK]
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::Pause
dshow debug: CaptureFilter::Run
main debug: selecting program id=0
main debug: using access_demux module "dshow"
main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC\
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_copy"
main debug: thread 4616 (decoder) created at priority 2 (input/decoder.c:159)
main debug: starting in async mode
main debug: `dshow://dshow-adev=' successfully opened
packetizer_copy debug: need dts > 0
main debug: adding a new input
stream_out_transcode debug: creating audio transcoding from fcc=`s16l' to fcc=`spx '
main debug: looking for decoder module: 27 candidates
araw debug: samplerate:44100Hz channels:2 bits/sample:16
main debug: using decoder module "araw"
main debug: looking for encoder module: 10 candidates
speex debug: encoding: frame size:640, channels:2, samplerate:44100
main debug: using encoder module "speex"
stream_out_duplicate debug: duplicated a new stream codec=spx (es=0 group=0)
main debug: adding a new input
mux_ogg debug: adding input
mux_ogg debug: speex stream
stream_out_duplicate debug: - added for output 0
mux_ogg debug: writing header
mux_ogg debug: creating header for spx
Code: Select all
main warning: option bitrate is unknown
main warning: option samplerate is unknown
main warning: option channels is unknown
Code: Select all
vlc -vvv --color dshow://dshow-adev="" --sout "#transcode{acodec=vorb}:duplicate{dst=std{access=shout,bitrate=8,samplerate=8000,channels=1,mux=ogg,dst=source:hackme@192.168.1.6:8000/audio.ogg}}"
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 24 guests