[vlc] how to read the mp4 stream from Linksys IP camera

rakoto,,, rakoto at fresenius-vial.fr
Thu Aug 26 17:16:52 CEST 2004


Does anyone have ever tried to read the video stream from a linksys IP 
camera (like WVC11b or WVC45g)? 

I captured the http frames send by the linksys software to the camera and I 
received this:
 --- a call to a file named /util/util2.cgi that send the mac address and the 
network name of the camera
 --- then the following
"
GET /img/video.asf HTTP/1.1
User-Agent: NETCAM~1
Host: 192.168.30.5 

HTTP/1.1 200 OK
Server: thttpd/2.20b 10oct00
Content-type: application/octet-stream
Date: Tue, 24 Aug 2004 16:15:37 GMT
Last-modified: Tue, 24 Aug 2004 16:15:37 GMT
Accept-Ranges: bytes
Connection: close 

0&²uŽfϦ٠ª bÎlG         ¡Ü«ŒG©ÏŽä À
 Seh       #Eg‰«Íï        ÿÿÿÿ   
ÿÿÿÿ    ÿÿÿÿ    ÿÿÿ                Ð  Ð  @œ  ‘Ü··©ÏŽæ À
 Se“       
Àï¼M[Ϩý €_\D+ Wû U[Ϩý €_\D+        E            @  ð   : :   @  ð   
  MP4S „
 ----- plenty of things that must be the video stream i suppose?!" 


I tried to read the file video.asf with vlc but received the following 
error: 

main debug: adding playlist item `http://192.168.30.5/img/video.asf' ( 
http://192.168.30.5/img/video.asf )
main debug: creating new input thread
main: playlist item `http://192.168.30.5/img/video.asf'
main debug: waiting for thread completion
main debug: thread 2852 (input) created at priority 1 
(src/input/input.c:326)
main debug: access `http', demux `', name `192.168.30.5/img/video.asf'
main debug: looking for access module
main debug: probing 1 candidate
access_http debug: http: server='192.168.30.5' port=80 file='/img/video.asf
main debug: net: connecting to '192.168.30.5:80'
main debug: looking for network module
main debug: probing 2 candidates
ipv4 debug: connection in progress
main debug: using network module "ipv4"
main debug: unlocking module "ipv4"
access_http debug: protocol 'HTTP' answer code 206
access_http debug: Content-Type: application/octet-stream
access_http debug: stream size=4522
main debug: using access module "access_http"
main debug: looking for demux module
main debug: probing 7 candidates
dshow warning: dshow plugin discarded (not a valid stream)
dshow warning: dshow plugin discarded (not a valid stream)
ts_dvbpsi warning: TS module discarded (lost sync)
ts warning: TS module discarded (lost sync)
main debug: demux2_New: 'http://192.168.30.5/img/video.asf' -> access='' 
demux='' path='192.168.30.5/img/video.asf'
main debug: looking for demux2 module
main debug: probing 27 candidates
asf debug: found object guid: 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c 
size:327
asf debug: read "header object" subobj:3, reserved1:1, reserved2:2
asf debug: found object guid: 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 
size:104
asf 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:40000
asf debug: found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 
size:147
asf 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
asf debug: found object guid: 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 
size:46
asf debug: read "header extention object" 
reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6 
header_extention_size:0
asf debug: found object guid: 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c 
size:-72057594037927937
asf debug: read "data object" 
file_id:0x67452301-0xab89-0xefcd-0x0000000000000000 total data packet:0 
reserved:257
asf debug: found 1 streams
asf debug: added new video stream(ID:1)
main debug: using demux2 module "asf"
main debug: using demux module "demux2"
main debug: meta informations:
main debug:   - track[0]:
main debug: selecting ES 0x1
main debug: looking for decoder module
main debug: probing 22 candidates
ffmpeg debug: libavcodec initialized (interface 4714 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "ffmpeg"
main debug: thread 2932 (decoder) created at priority 0 
(src/input/input_dec.c:161)
asf warning: cannot peek while getting new packet, EOF ?
main: EOF reached
main debug: 1 loops
main debug: dumping stream ID 0x0 [OK:0/D:0]
main debug: seekable stream, position: 4377/4522 (-:--:--/-:--:--)
main debug: dumping program 0x0, version 0 (partial)
main debug: ES 0x0, stream 0x0, fourcc `null', not selected [OK:0/ERR:0]
main debug: ES 0x1, stream 0x0, fourcc `MP4S', selected [OK:0/ERR:0]
asf debug: free asf object 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365
asf debug: free asf object 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
asf debug: free asf object 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365
asf debug: free asf object 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c
asf debug: free asf object 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c
main debug: unselecting ES 0x1
ffmpeg debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: unlocking module "ffmpeg"
main debug: thread 2932 joined (src/input/input_dec.c:203)
main debug: killing decoder fourcc `MP4S', 0 PES in FIFO
main debug: no more selected ES
main debug: unlocking module "asf"
main debug: unlocking module "demux2"
main debug: unlocking module "access_http"
main debug: pes: 0 packets
main debug: data: 0 packets
main debug: buffers: 2 packets
main debug: freeing info structures...
main debug: thread 2852 joined (src/input/input.c:373)
main warning: refcount is 1, delaying before deletion

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>



More information about the vlc mailing list