VLC streaming problems

*nix specific usage questions
ghostgeek
New Cone
New Cone
Posts: 5
Joined: 19 Dec 2004 22:58

VLC streaming problems

Postby ghostgeek » 18 Aug 2006 12:33

Here is my scenario.

I’m wanting to stream from my windows machine to my remote linux server. From there I want clients running Windows Media player to view my ASF video stream.

I’ve set up VLC on my home computer and I’ve tested the streaming to my local network. It is working fine. Next I point the outgoing stream to my server.

On my Linux server, I execute the following command…

Code: Select all

vlc -vvv input_stream --sout '#transcode{vcodec=DIV3,vb=96,scale=1,acodec=mp3,ab=16,channels=1}:duplicate{dst=std{access=mmsh,mux=asfh,dst=:8080}'
On my local machine, the stream output MRL –

Code: Select all

:sout=#transcode{vcodec=DIV3,vb=96,scale=1,acodec=mp3,ab=16,channels=1}:duplicate{dst=std{access=mmsh,mux=asfh,dst=MY_SERVER_IP_ADDRESS:8080}}
I enter this and start streaming a test AVI file, but it never starts streaming. Furthermore the linux server returns the following…

Code: Select all

[00000054] main module debug: using sout stream module "stream_out_transcode" [00000278] main input debug: `input_stream' gives access `' demux `' path `input_stream' [00000278] main input debug: creating demux: access='' demux='' path='input_stream' [00000293] main demuxer debug: looking for access_demux module: 2 candidates libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Can't stat input_stream No such file or directory libdvdnav: vm: faild to open/read the DVD [00000293] dvdnav demuxer warning: cannot open dvdnav [00000278] main input debug: creating access '' path='input_stream' [00000296] main access debug: looking for access2 module: 5 candidates [00000296] access_file access warning: input_stream: No such file or directory [00000296] cdda access warning: could not open input_stream status change: ( New input: input_stream ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) [00000296] access_gnomevfs access error: cannot get file info for uri file:///root/input_stream (File not found) [00000278] main input debug: creating access '' path='input_stream' [00000303] main access debug: looking for access2 module: 5 candidates [00000303] access_file access warning: input_stream: No such file or directory [00000303] cdda access warning: could not open input_stream [00000303] access_gnomevfs access error: cannot get file info for uri file:///root/input_stream (File not found) [00000278] main input error: no suitable access module for `input_stream' [00000280] main private debug: destroying chain... (name=transcode) [00000283] main private debug: destroying chain... (name=duplicate) [00000283] stream_out_duplicate private debug: closing a duplication [00000285] main private debug: destroying chain... (name=std) [00000291] mux_asf private debug: Asf muxer closed [00000287] access_output_http private warning: HTTP sout access cannot seek [00000071] main module debug: unlocking module "mux_asf" [00000290] main private debug: httpd_HostDelete [00000290] main private debug: httpd_HostDelete: host removed from http [00000290] main private debug: thread 76565424 joined (src/misc/httpd.c:1249) [00000290] main private debug: httpd_HostDelete: host thread joined [00000289] main http daemon: httpd doesn't reference any host, deleting [00000287] access_output_http private debug: Close [00000069] main module debug: unlocking module "access_output_http" [00000061] main module debug: unlocking module "stream_out_standard" [00000285] main private debug: destroying chain done [00000062] main module debug: unlocking module "stream_out_duplicate" [00000283] main private debug: destroying chain done [00000054] main module debug: unlocking module "stream_out_transcode" [00000280] main private debug: destroying chain done status change: ( stop state: 0 ) [00000278] main input debug: thread 66075568 joined (src/input/input.c:386) [00000268] main playlist: nothing to play quit quit: returned 0 (no error) status change: ( stop state: 0 ) status change: ( quit ) [00000001] main vlc debug: removing all interfaces [00000274] main interface debug: thread 55585712 joined (src/interface/interface.c:238) [00000205] main module debug: unlocking module "rc" [00000272] main interface debug: thread 45095856 joined (src/interface/interface.c:238) [00000259] main module debug: unlocking module "screensaver" [00000270] main interface debug: thread 34606000 joined (src/interface/interface.c:238) [00000206] main module debug: unlocking module "hotkeys" [00000001] main vlc debug: removing all playlists [00000269] main private debug: thread 105909168 joined (src/playlist/playlist.c:237) [00000268] main playlist debug: thread 24116144 joined (src/playlist/playlist.c:238) [00000268] main playlist: stopping playback [00000268] main playlist debug: deleting playlist item `input_stream' [00000001] main vlc debug: removing all video outputs [00000001] main vlc debug: removing all audio outputs [00000001] main vlc debug: removing announce handler [00000010] main module debug: unlocking module "memcpymmxext" [00000001] main vlc debug: saving plugins cache file /root/.vlc/cache/plugins-04041e.dat [root@ip-68-178-189-50 ~]# clear [root@ip-68-178-189-50 ~]# vlc -vvv input_stream --sout '#transcode{vcodec=DIV3,vb=96,scale=1,acodec=mp3,ab=16,channels=1}:duplicate{dst=std{access=mmsh,mux=asfh,dst=:8080}' VLC media player 0.8.4a Janus [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet [00000001] main vlc debug: checking builtin modules [00000001] main vlc debug: checking plugin modules [00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat [00000001] main vlc debug: recursively browsing `modules' [00000001] main vlc debug: recursively browsing `/usr/lib/vlc' [00000001] main vlc debug: recursively browsing `plugins' [00000001] main vlc debug: module bank initialized, found 213 modules [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet [00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main vlc debug: looking for memcpy module: 3 candidates [00000010] main module debug: using memcpy module "memcpymmxext" [00000268] main playlist debug: waiting for thread completion [00000268] main playlist debug: thread 24071088 (playlist) created at priority 0 (src/playlist/playlist.c:183) [00000269] main private debug: waiting for thread completion [00000269] main private debug: thread 110042032 (preparser) created at priority 0 (src/playlist/playlist.c:205) [00000270] main interface debug: looking for interface module: 1 candidate [00000206] main module debug: using interface module "hotkeys" [00000270] main interface debug: interface initialized [00000270] main interface debug: thread 34560944 (interface) created at priority 0 (src/interface/interface.c:211) [00000272] main interface debug: looking for interface module: 5 candidates [00000259] main module debug: using interface module "screensaver" [00000272] main interface debug: interface initialized [00000272] main interface debug: thread 45050800 (interface) created at priority 0 (src/interface/interface.c:211) [00000268] main playlist debug: adding playlist item `input_stream' ( input_stream ) [00000274] main interface debug: looking for interface module: 4 candidates [00000274] skins2 interface error: Cannot open display [00000274] skins2 interface error: Cannot initialize OSFactory Remote control interface initialized, `h' for help [00000205] main module debug: using interface module "rc" [00000274] main interface debug: interface initialized [00000274] main interface debug: thread 70482864 (manager) created at priority 0 (src/interface/interface.c:196) [00000268] main playlist debug: creating new input thread [00000278] main input debug: waiting for thread completion [00000278] main input debug: thread 55540656 (input) created at priority 0 (src/input/input.c:230) [00000279] main stream output debug: stream=`transcode' [00000280] main private debug: looking for sout stream module: 1 candidate invalid options (empty)[00000279] main stream output debug: stream=`duplicate' [00000283] main private debug: looking for sout stream module: 1 candidate [00000283] stream_out_duplicate private debug: creating 'duplicate' [00000283] stream_out_duplicate private debug: * adding `std{access=mmsh,mux=asfh,dst=:8080}' [00000279] main stream output debug: stream=`std' [00000285] main private debug: looking for sout stream module: 1 candidate [00000285] main private debug: set sout option: sout-standard-access to mmsh [00000285] main private debug: set sout option: sout-standard-mux to asfh [00000285] main private debug: set sout option: sout-standard-dst to :8080 [00000285] stream_out_standard private debug: creating `mmsh/asfh://:8080' [00000285] stream_out_standard private debug: using `mmsh/asfh://:8080' [00000287] main private debug: looking for sout access module: 1 candidate [00000287] main private: creating httpd [00000287] main private debug: net: listening to port 8080 [00000290] main private debug: thread 123820976 (httpd host thread) created at priority 0 (src/misc/httpd.c:1189) [00000069] main module debug: using sout access module "access_output_http" [00000285] stream_out_standard private debug: access opened [00000291] main private debug: looking for sout mux module: 1 candidate [00000291] mux_asf private debug: Asf muxer opened [00000291] mux_asf private debug: creating asf stream to be used with mmsh [00000291] mux_asf private debug: Packet size 4096 [00000291] mux_asf private debug: meta data: title='' author='' copyright='' comment='' rating='' [00000071] main module debug: using sout mux module "mux_asf" [00000279] main stream output debug: muxer support adding stream at any time [00000279] main stream output debug: muxer prefers waiting for all ES before starting muxing [00000285] stream_out_standard private debug: mux opened [00000061] main module debug: using sout stream module "stream_out_standard" [00000062] main module debug: using sout stream module "stream_out_duplicate" [00000280] main private debug: set sout option: sout-transcode-vcodec to DIV3 [00000280] main private debug: set sout option: sout-transcode-vb to 96 [00000280] main private debug: set sout option: sout-transcode-scale to 1 [00000280] main private debug: set sout option: sout-transcode-acodec to mp3 [00000280] main private debug: set sout option: sout-transcode-ab to 16 [00000280] main private debug: set sout option: sout-transcode-channels to 1 [00000280] stream_out_transcode private debug: codec audio=mp3 0Hz 1 channels 16Kb/s [00000280] stream_out_transcode private debug: codec video=DIV3 0x0 scaling: 1.000000 96kb/s [00000054] main module debug: using sout stream module "stream_out_transcode" [00000278] main input debug: `input_stream' gives access `' demux `' path `input_stream' [00000278] main input debug: creating demux: access='' demux='' path='input_stream' [00000293] main demuxer debug: looking for access_demux module: 2 candidates libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net libdvdread: Using libdvdcss version 1.2.9 for DVD access libdvdread: Can't stat input_stream No such file or directory libdvdnav: vm: faild to open/read the DVD [00000293] dvdnav demuxer warning: cannot open dvdnav [00000278] main input debug: creating access '' path='input_stream' [00000296] main access debug: looking for access2 module: 5 candidates [00000296] access_file access warning: input_stream: No such file or directory [00000296] cdda access warning: could not open input_stream status change: ( New input: input_stream ) status change: ( audio volume: 256 ) status change: ( play state: 1 ) [00000296] access_gnomevfs access error: cannot get file info for uri file:///root/input_stream (File not found) [00000278] main input debug: creating access '' path='input_stream' [00000303] main access debug: looking for access2 module: 5 candidates [00000303] access_file access warning: input_stream: No such file or directory [00000303] cdda access warning: could not open input_stream [00000303] access_gnomevfs access error: cannot get file info for uri file:///root/input_stream (File not found) [00000278] main input error: no suitable access module for `input_stream' [00000280] main private debug: destroying chain... (name=transcode) [00000283] main private debug: destroying chain... (name=duplicate) [00000283] stream_out_duplicate private debug: closing a duplication [00000285] main private debug: destroying chain... (name=std) [00000291] mux_asf private debug: Asf muxer closed [00000287] access_output_http private warning: HTTP sout access cannot seek [00000071] main module debug: unlocking module "mux_asf" [00000290] main private debug: httpd_HostDelete [00000290] main private debug: httpd_HostDelete: host removed from http [00000290] main private debug: thread 123820976 joined (src/misc/httpd.c:1249) [00000290] main private debug: httpd_HostDelete: host thread joined [00000289] main http daemon: httpd doesn't reference any host, deleting [00000287] access_output_http private debug: Close [00000069] main module debug: unlocking module "access_output_http" [00000061] main module debug: unlocking module "stream_out_standard" [00000285] main private debug: destroying chain done [00000062] main module debug: unlocking module "stream_out_duplicate" [00000283] main private debug: destroying chain done [00000054] main module debug: unlocking module "stream_out_transcode" [00000280] main private debug: destroying chain done status change: ( stop state: 0 ) [00000278] main input debug: thread 55540656 joined (src/input/input.c:386) [00000268] main playlist: nothing to play
Yes, I'm a complete noob to VLC streaming and I'm sure I've overlooked something "obvious" Can anyone please shed some light on what I’ve done wrong?

ghostgeek
New Cone
New Cone
Posts: 5
Joined: 19 Dec 2004 22:58

Postby ghostgeek » 18 Aug 2006 18:13

OK looking over my log I see...

Code: Select all

[00000001] main vlc warning: config file /root/.vlc/vlcrc does not exist yet
Does this file need to exist before this will work? I've read and reread the documentation but still can't make heads or tails of this. Can anyone guide me thru this step by step what needs to be done to make this work? What message SHOULD I see when I invoke VLC on the server to stream?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 18 Aug 2006 22:48

No.

To me the problem seems rather obvious
cannot get file info for uri file:///root/input_stream
You are trying to open an non-existing item.
When it says input_stream in the manual, it is of course intended that here you provided the information that will be the input of the server.

BTW. why would you transcode again on the server? If the video already is in Div3, then there is no need to transcode is there ?
Don't use PMs for support questions.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests