[vlc] Question on streaming

Jerry Geis geisj at pagestation.com
Tue Aug 7 17:15:40 CEST 2007


I am trying to use VLC to stream a camera feed.

I can use the command "vlc ../trailer_videos/SharkTale.avi --sout 
'#standard{access=http,mux=asf,url:8080}'
and I can view the sharktale video on windows. no problem.
I am using a centos 4.5 vlc server.

However, then I change the command line for the camera to:
"vlc http://192.168.1.115/img/video.asf  --sout 
'#standard{access=http,mux=asf,url:8080}'

and I get nothing on the windows box.

How can I stream from an http source???

Thanks jerry
---------------

The output for vlc is:
[00000282] main playlist debug: adding item 
`http://192.168.1.115/img/video.asf' ( http://192.168.1.115/img/video.asf )
[00000289] main interface debug: looking for interface module: 1 candidate
Remote control interface initialized. Type `help' for help.
[00000289] main interface debug: using interface module "rc"
[00000282] main playlist debug: rebuilding array of current - root Playlist
[00000282] main playlist debug: rebuild done - 1 items, index -1
[00000282] main playlist debug: starting new item
[00000282] main playlist debug: processing request item null node 
Playlist skip 0
[00000282] main playlist debug: creating new input thread
[00000291] main input debug: waiting for thread completion
[00000292] main stream output debug: stream=`standard'
[00000293] main private debug: looking for sout stream module: 1 candidate
[00000293] main private debug: set config option: sout-standard-access 
to http
[00000293] main private debug: set config option: sout-standard-mux to asf
[00000293] main private warning: option url:8080 is unknown
[00000293] stream_out_standard private debug: creating `http/asf://(null)'
[00000293] stream_out_standard private debug: using `http/asf://(null)'
[00000295] main private debug: looking for sout access module: 1 candidate
[00000295] main private: creating httpd
[00000295] main private debug: net: listening to  port 8080
[00000298] main http server debug: thread 1140881760 (httpd host thread) 
created at priority 0 (network/httpd.c:1099)
[00000295] main private debug: using sout access module "access_output_http"
[00000293] stream_out_standard private debug: access opened
[00000299] main private debug: looking for sout mux module: 1 candidate
[00000299] mux_asf private debug: asf muxer opened
[00000299] mux_asf private debug: Packet size 4096
[00000299] mux_asf private debug: meta data: title='', author='', 
copyright='', comment='', rating=''
[00000299] main private debug: using sout mux module "mux_asf"
[00000293] stream_out_standard private debug: mux opened
[00000293] main private debug: using sout stream module 
"stream_out_standard"
[00000291] main input debug: `http://192.168.1.115/img/video.asf' gives 
access `http' demux `' path `192.168.1.115/img/video.asf'
[00000291] main input debug: creating demux: access='http' demux='' 
path='192.168.1.115/img/video.asf'
[00000301] main demuxer debug: looking for access_demux module: 0 candidates
[00000301] main demuxer warning: no access_demux module matched "http"
[00000291] main input debug: creating access 'http' 
path='192.168.1.115/img/video.asf'
[00000302] main access debug: looking for access2 module: 2 candidates
[00000302] access_http access debug: http: server='192.168.1.115' 
port=80 file='/img/video.asf
[00000302] main access debug: net: connecting to 192.168.1.115 port 80
[00000302] main access debug: connection in progress
[00000291] main input debug: thread 1132489056 (input) created at 
priority 0 (input/input.c:332)
[00000282] main playlist debug: requesting art for 
http://192.168.1.115/img/video.asf
[00000302] access_http access debug: protocol 'HTTP' answer code 206
[00000302] access_http access debug: Server: thttpd/2.20b 10oct00
[00000302] access_http access debug: Content-Type: application/octet-stream
[00000302] access_http access debug: stream size=4504
[00000302] main access debug: using access2 module "access_http"
[00000304] main private debug: pre-buffering...
[00000304] main private debug: received first data for our buffer
[00000291] main input debug: creating demux: access='http' demux='' 
path='192.168.1.115/img/video.asf'
[00000305] main demuxer debug: looking for demux2 module: 49 candidates
[00000304] asf private debug: found object guid: 
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:431
[00000304] asf private debug: read "header object" subobj:4, 
reserved1:1, reserved2:2
[00000304] asf private debug: found object guid: 
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104
[00000304] asf private debug: read "file properties object" 
file_id:0x67452301-0xab89-0xefcd-0x0000000000000000 file_size:4294967295 
creation_date:0 data_packets_count:4294967295 play_duration:4294967295 
send_duration:16777215 preroll:0 flags:1 min_data_packet_size:2000 
max_data_packet_size:2000 max_bitrate:916000
[00000304] asf private debug: found object guid: 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147
[00000304] asf private debug: read "stream Properties object" 
stream_type:0xbc19efc0-0x5b4d-0x11cf-0xa8fd00805f5c442b 
error_correction_type:0x20fb5700-0x5b55-0x11cf-0xa8fd00805f5c442b 
time_offset:0 type_specific_data_length:69 
error_correction_data_length:0 flags:0x1 stream_number:1
[00000304] asf private debug: found object guid: 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:104
[00000304] asf private debug: read "stream Properties object" 
stream_type:0xf8699e40-0x5b4d-0x11cf-0xa8fd00805f5c442b 
error_correction_type:0xbfc3cd50-0x618f-0x11cf-0x8bb200aa00b4e220 
time_offset:0 type_specific_data_length:18 
error_correction_data_length:8 flags:0x2 stream_number:2
[00000304] asf private debug: found object guid: 
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46
[00000304] asf private debug: read "header extension object" 
reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6 
header_extension_size:0
[00000304] asf private debug: found object guid: 
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:-72057594037927937
[00000304] asf private debug: read "data object" 
file_id:0x67452301-0xab89-0xefcd-0x0000000000000000 total data packet:0 
reserved:257
[00000304] asf private debug: + 'Unknown' GUID 
0x0-0x0-0x0-0x0000000000000000 size:0pos:0
[00000304] asf private debug:      + 'Header' GUID 
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:431pos:0
[00000304] asf private debug:      |    + 'File Properties' GUID 
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:30
[00000304] asf private debug:      |    + 'Stream Properties' GUID 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147pos:134
[00000304] asf private debug:      |    + 'Stream Properties' GUID 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:104pos:281
[00000304] asf private debug:      |    + 'Header Extension' GUID 
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46pos:385
[00000304] asf private debug:      + 'Data' GUID 
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:18374686479671623679pos:431
[00000305] asf demuxer debug: found 2 streams
[00000302] access_http access warning: unimplemented query in control
[00000291] main input debug: selecting program id=0
[00000305] asf demuxer debug: added new video stream(ID:1)
[00000302] access_http access warning: unimplemented query in control
[00000305] asf demuxer debug: added new audio stream(codec:0x45,ID:2)
[00000305] main demuxer debug: using demux2 module "asf"
[00000307] main packetizer debug: looking for packetizer module: 15 
candidates
[00000307] packetizer_mpeg4video packetizer debug: opening with vol size: 18
[00000307] main packetizer debug: using packetizer module 
"packetizer_mpeg4video"
[00000291] main input debug: stream out mode -> no decoder thread
[00000317] main packetizer debug: looking for packetizer module: 15 
candidates
[00000317] main packetizer debug: using packetizer module "packetizer_copy"
[00000291] main input debug: stream out mode -> no decoder thread
[00000291] main input debug: starting in sync mode
[00000291] main input debug: `http://192.168.1.115/img/video.asf' 
successfully opened
[00000305] asf demuxer warning: cannot peek while getting new packet, EOF ?
[00000291] main input debug: EOF reached
[00000282] main playlist debug: finished input
[00000282] main playlist debug: dying input
[00000304] asf private debug: free asf object 
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365
[00000304] asf private debug: free asf object 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000304] asf private debug: free asf object 
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000304] asf private debug: free asf object 
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365
[00000304] asf private debug: free asf object 
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000304] asf private debug: free asf object 
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000307] main packetizer debug: removing module "packetizer_mpeg4video"
[00000307] main packetizer debug: killing decoder fourcc `MP4S', 0 PES 
in FIFO
[00000317] main packetizer debug: removing module "packetizer_copy"
[00000317] main packetizer debug: killing decoder fourcc `g726', 0 PES 
in FIFO
[00000291] main input debug: Program doesn't contain anymore ES
[00000305] main demuxer debug: removing module "asf"
[00000302] main access debug: removing module "access_http"
[00000282] main playlist debug: art not found for 
http://192.168.1.115/img/video.asf
[00000282] main playlist debug: dead input
[00000291] main input debug: thread 1132489056 joined (input/input.c:469)
[00000292] main stream output debug: sout has been kept
[00000282] main playlist debug: starting new item
[00000282] main playlist debug: changing item without a request (current 
0/1)
[00000282] main playlist debug: nothing to play
[00000282] main playlist debug: garbage collector destroying 1 sout
[00000293] main private debug: destroying chain... (name=standard)
[00000299] mux_asf private debug: Asf muxer closed
[00000295] access_output_http private warning: HTTP sout access cannot seek
[00000299] main private debug: removing module "mux_asf"
[00000298] main http server debug: thread 1140881760 joined 
(network/httpd.c:1155)
[00000298] main http server debug: HTTP host removed
[00000297] main http server debug: no host left, stopping httpd
[00000295] access_output_http private debug: Close
[00000295] main private debug: removing module "access_output_http"
[00000293] main private debug: removing module "stream_out_standard"
[00000293] main private debug: destroying chain done
[00000283] main private debug: thread 1090525536: possible condition 
deadlock at playlist/engine.c:480 (Connection timed out)
[00000285] hotkeys interface debug: thread 1115703648: possible 
condition deadlock at hotkeys.c:209 (Connection timed out)
[00000284] main private debug: thread 1098918240: possible condition 
deadlock at playlist/engine.c:596 (Connection timed out)
[00000282] main playlist debug: thread 1107310944: possible condition 
deadlock at playlist/thread.c:203 (Connection timed out)
signal 2 received, terminating vlc - do it again in case it gets stuck
user insisted too much, dying badly


_______________________________________________
vlc mailing list
vlc at videolan.org
http://mailman.videolan.org/listinfo/vlc


More information about the vlc mailing list