stream with vlc to a shoutcast server

*nix specific usage questions
didigwa
Blank Cone
Blank Cone
Posts: 13
Joined: 22 Mar 2007 05:22

stream with vlc to a shoutcast server

Postby didigwa » 22 Mar 2007 05:30

I want to stream to a shoutcast server, I have VLC on a linux machine. I read all the subject on shoutcast, but with all my test I don't find a command line ok to do that.
Somebody have the good command line on linux ?

Thanks
new on vlc

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

Postby dionoea » 23 Mar 2007 00:03

Untested, but should work:

Code: Select all

vlc -vvv --color <input> --sout "#std{access=shout{name=MyTest},mux=ogg,dst=login:password@ip:port}"
Other options which can go in shout{ } are:

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)
I hope that this helps :)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

didigwa
Blank Cone
Blank Cone
Posts: 13
Joined: 22 Mar 2007 05:22

stream with vlc to a shoutcast server

Postby didigwa » 23 Mar 2007 01:43

Ok thanks I will try and give you the result

Regards
new on vlc

didigwa
Blank Cone
Blank Cone
Posts: 13
Joined: 22 Mar 2007 05:22

stream with vlc to a shoutcast server

Postby didigwa » 23 Mar 2007 02:07

I do the test with the first code, and I have errors:

no suitable sout access module for 'shout{name=mytest, etc ...

Do you have an idea ?
new on vlc

didigwa
Blank Cone
Blank Cone
Posts: 13
Joined: 22 Mar 2007 05:22

stream with vlc to a shoutcast server

Postby didigwa » 24 Mar 2007 21:49

I hope someone can help me, I want to stream with VLC on fedora, but no answer

I try with windows xp it's ok. Audio and video.

The linux version can't work ????
new on vlc

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

Postby dionoea » 24 Mar 2007 22:15

Can you paste the output from vlc --list -vvv --color ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

didigwa
Blank Cone
Blank Cone
Posts: 13
Joined: 22 Mar 2007 05:22

stream with vlc to a shoutcast server

Postby didigwa » 25 Mar 2007 00:02

This is the result, I try with files working with VLC on windows no result.
On the windows version is good with audio and video with mpg file as source.
I have just a problem when I read it with VLC on my computer from the server it is stopped after 50s I think it's my smal connexion

On Fedora nothing.
Thanks
[root@srvvideo /]# vlc -vvv --color /VideoDif/kadans.ogg --sout "#std{access=shout{name=tiviannou},mux=ogg,dst=source:pass@giss.tv:8000}"
VLC media player 0.8.6a Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************

It is potentially dangerous, and might not even work properly.
[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/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 236 modules
[00000001] main private debug: opening config file /root/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000306] main playlist debug: waiting for thread completion
[00000306] main playlist debug: thread 25144208 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000307] main private debug: waiting for thread completion
[00000307] main private debug: thread 49556368 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000308] main interface debug: looking for interface module: 1 candidate
[00000308] main interface debug: using interface module "hotkeys"
[00000308] main interface debug: thread 35634064 (interface) created at priority 0 (interface/interface.c:231)
[00000310] main interface debug: looking for interface module: 1 candidate
[00000310] main interface debug: using interface module "screensaver"
[00000310] main interface debug: thread 112253840 (interface) created at priority 0 (interface/interface.c:231)
[00000306] main playlist debug: adding playlist item `/VideoDif/kadans.ogg' ( /VideoDif/kadans.ogg )
[00000312] main interface debug: looking for interface module: 5 candidates
[00000312] main interface debug: using interface module "wxwidgets"
[00000312] main interface debug: thread 68193168 (manager) created at priority 0 (interface/interface.c:216)
[00000312] wxwidgets interface debug: Using last windows config '(-1,0,0,1024,768)(0,62,25,458,86)(1,41,157,500,300)(6,0,0,-1,150)'
[00000312] wxwidgets interface debug: id=0 p=(62,25) s=(458,86)
[00000312] wxwidgets interface debug: id=1 p=(41,157) s=(500,300)
[00000312] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150)

** (.:11548): CRITICAL **: gtk_pizza_set_size: assertion `pizza != NULL' failed
[00000306] main playlist debug: nothing requested, starting
[00000306] main playlist debug: creating new input thread
[00000315] main input debug: waiting for thread completion
[00000315] main input debug: creating statistics handler
[00000317] main stream output debug: stream=`std'
[00000318] main private debug: looking for sout stream module: 1 candidate
[00000315] main input debug: thread 85396368 (input) created at priority 0 (input/input.c:265)
[00000318] main private debug: set sout option: sout-standard-access to shout{name=tiviannou}
[00000318] main private debug: set sout option: sout-standard-mux to ogg
[00000318] main private debug: set sout option: sout-standard-dst to source:pass@giss.tv:8000
[00000318] stream_out_standard private debug: creating `shout{name=tiviannou}/ogg://source:pass@giss.tv:8000'
[00000318] stream_out_standard private debug: extension is tv:8000
[00000318] stream_out_standard private debug: extension -> mux=(null)
[00000318] stream_out_standard private debug: using `shout{name=tiviannou}/ogg://source:pass@giss.tv:8000'
[00000320] main private debug: looking for sout access module: 0 candidates
[00000320] main private error: no sout access module matched "shout"
[00000318] stream_out_standard private error: no suitable sout access module for `shout{name=tiviannou}/ogg://source:pass@giss.tv:8000'
[00000318] main private warning: no sout stream module matching "std" could be loaded
[00000318] main private debug: destroying chain... (name=std)
[00000318] main private debug: destroying chain done
[00000317] main stream output error: stream chain failed for `std{access=shout{name=tiviannou},mux=ogg,dst=usr:pass@giss.tv:8000}'
[00000315] main input error: cannot start stream output instance, aborting
[00000315] main input debug: thread 85396368 joined (input/input.c:412)

** (.:11548): CRITICAL **: gtk_pizza_set_size: assertion `pizza != NULL' failed
[00000315] main input warning: refcount is 1, delaying before deletion (id=315,type=-7)
[00000315] main input error: refcount is 1, delaying again (id=315,type=-7)
[00000315] main input error: waited too long, cancelling destruction (id=315,type=-7)
[00000306] main playlist: nothing to play
new on vlc

FabianL
New Cone
New Cone
Posts: 4
Joined: 24 Mar 2007 22:27

Postby FabianL » 25 Mar 2007 03:33

I'm trying to do the same. But i don't think the 'shout' library is included in all the binary dists.

Debian stable - VLC media player 0.8.2-svn Janus

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)

FabianL
New Cone
New Cone
Posts: 4
Joined: 24 Mar 2007 22:27

Postby FabianL » 25 Mar 2007 05:02

Compiled 0.8.6a from source on Debian stable (with shout lib)

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 )
I know it is possible to push video through shoutcast....

didigwa
Blank Cone
Blank Cone
Posts: 13
Joined: 22 Mar 2007 05:22

Postby didigwa » 25 Mar 2007 06:53

I'm on Fedora, and:

[root@srvvideo ~]# vlc -l | grep shout
VLC media player 0.8.6a Janus
starting VLC root wrapper... using UID 0 (root)
***************************************
* Running VLC as root is discouraged. *
***************************************

It is potentially dangerous, and might not even work properly.
playlist New winamp 5.2 shoutcast import
shout Shoutcast
shout Shoutcast TV listings

and

[root@srvvideo ~]# 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
[root@srvvideo ~]#

I think it must work but nothing to do , I'm just do it with windows.
I hope somebody can help us
new on vlc

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

Postby dionoea » 25 Mar 2007 19:32

Ok, looks like we have 2 different issues:

didigwa: you're missing the shoutcast access output module (access_output_shout in vlc --list).

FabianL: i'm not sure that it's supposed to work with video. Can you try with audio only?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

didigwa
Blank Cone
Blank Cone
Posts: 13
Joined: 22 Mar 2007 05:22

Postby didigwa » 26 Mar 2007 05:02

thanks for your answer, now I have uninstall vlc, and decide compile on my system, I have installed the libshout2.2 no error, when I try for compile VLC 0.8.6a, I do ./configure --enable-shout I have and error libshout library not found, and the end is missing header file postproc/postprocees.h

In usr/local/lib I see the libshout.*

can you help me ?
new on vlc

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

Postby dionoea » 26 Mar 2007 21:53

You also need to install the libshout development header (usually name *-dev). You'll also need those dev packages for the other libraries used by VLC (which basically is libogg in your case).
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

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

Postby hammadkom » 27 Mar 2007 19:08

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}}"
this code is work fine but the output streaming is 150 kbps which is too high , how i can fix this

i need this code to decrease the streaming output to work over dial up networks
the output from vlc is:

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
please any one help

didigwa
Blank Cone
Blank Cone
Posts: 13
Joined: 22 Mar 2007 05:22

Postby didigwa » 31 Mar 2007 06:26

I recompile vlc but I must do something bad. Do you know where can I take a package with shoutcast ready.
now I come back on a windows xp pc, but when I connect to the server with vlc, I start reading good 3s but after it stop I have the message on the client PTS is out of range (3908320, if I stop and replay it start and stop. I have increase the http-cache nut nothing, do you have an idea ?

Thanks
new on vlc

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

Postby hammadkom » 04 Apr 2007 19:36

Peace for all;
you got this message if your streaming bit rate is more than bit rate that available for you , so if you stream over a high bandwidth network like LAN , you will not get this message and you will get 2 or 3 seconds delay , but if you streaming over internet and streaming rate is higher than internet bandwidth then the packets will lost and you got these messages

you can find your streaming info from view->stream and media info-> 3rd tab

i hope i get you your needed information

didigwa
Blank Cone
Blank Cone
Posts: 13
Joined: 22 Mar 2007 05:22

Nice is good - Shoutcast ok

Postby didigwa » 04 Apr 2007 21:31

After some hard days, now is good with Fedora 6, I send stream video ,
First I install all the needed livrary
I have recompile VLC with: --enable-shout , and now with :

--sout '#transcode{vcodec=theora,vb=128,acodec=vorb,ab=96}:std{access=shout,dst=user,password@ip:port/test.ogg}'

Thanks for all.
new on vlc

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

Postby hammadkom » 05 Apr 2007 16:37

vlc -vvv --color dshow://dshow-adev="" --sout "#transcode{acodec=vorb}:std{access=shout

{bitrate=8,samplerate=8000,channels=1},mux=ogg,dst=source:hackme@192.168.1.6:8000/audio.ogg

}"

it gave me this warning

Code: Select all

main warning: option bitrate is unknown main warning: option samplerate is unknown main warning: option channels is unknown
and the resulting stream is 64 kbps

so how i can set these parameters in shout module correctly? my platform is windows and in advanced long help i didn't found any of these parameters

i need to decrease the bitrate to be suitable with dialup connection speed

groffhibbitz
New Cone
New Cone
Posts: 3
Joined: 25 Apr 2007 00:15

Postby groffhibbitz » 25 Apr 2007 03:35

looks like your command line options aren't the right syntax

try this:

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”

Who is online

Users browsing this forum: No registered users and 12 guests