[vlc-devel] Re: Demux ASF plugin modification (Linux)

Steve MOREAU moreau at essi.fr
Tue Jul 26 10:34:27 CEST 2005


> Could you please post the full debug messages of VLC when you open
> this stream?
> This might explain better why the retrieved information from your
> webcams http server is (considered) incorrect.
>
> DJH
>

Hello,

I send the current working trace of VLC. It is almost the same that the
non working except it is passing the stream_Peek function. There is
stream_Size==0 like in a VLC ASF stream (well, it is what I assume but I'm
not sure as always). There is also my own debug traces in it. I'm not sure
there are relevant for you but anyway :-)
Here it is :

vlc http://192.168.0.2/img/video.asf -vvv
VLC media player 0.8.2 Janus
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[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 189 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000000] main root debug: VLC media player - version 0.8.2 Janus - (c)
1996-2005 VideoLAN
[00000000] main root debug: libvlc was configured with ./configure
--prefix=/usr --disable-wxwindows --disable-skins2
[00000001] main vlc debug: translation test: code is "Fr"
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[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 189 modules
[00000001] main vlc debug: opening config file /root/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE FPU
[00000001] main vlc debug: looking for memcpy module: 3 candidates
[00000010] main module debug: using memcpy module "memcpymmxext"
[00000235] main playlist debug: waiting for thread completion
[00000235] main playlist debug: thread 26950576 (playlist) created at
priority 0 (src/playlist/playlist.c:152)
[00000236] main private debug: waiting for thread completion
[00000236] main private debug: thread 47950768 (preparser) created at
priority 0 (src/playlist/playlist.c:174)
[00000237] main interface debug: looking for interface module: 1 candidate
[00000164] main module debug: using interface module "hotkeys"
[00000237] main interface debug: interface initialized
[00000237] main interface debug: thread 37440432 (interface) created at
priority 0 (src/interface/interface.c:211)
[00000235] main playlist debug: adding playlist item
`http://192.168.0.2/img/video.asf' ( http://192.168.0.2/img/video.asf )
[00000239] main interface debug: looking for interface module: 1 candidate
Interface de commande à distance initialisée, « h » pour obtenir de l’aide.
[00000163] main module debug: using interface module "rc"
[00000239] main interface debug: interface initialized
[00000239] main interface debug: thread 58440624 (manager) created at
priority 0 (src/interface/interface.c:196)
[00000235] main playlist debug: creating new input thread
[00000241] main input debug: waiting for thread completion
[00000241] main input debug: thread 68930480 (input) created at priority 0
(src/input/input.c:230)
[00000241] main input debug: `http://192.168.0.2/img/video.asf' gives
access `http' demux `' path `192.168.0.2/img/video.asf'
[00000241] main input debug: creating demux: access='http' demux=''
path='192.168.0.2/img/video.asf'
[00000242] main demuxer debug: looking for access_demux module: 0
candidates[00000242] main demuxer warning: no access_demux module matched
"http"
[00000241] main input debug: creating access 'http'
path='192.168.0.2/img/video.asf'
[00000243] main access debug: looking for access2 module: 6 candidates
[00000243] access_http access debug: http: server='192.168.0.2' port=80
file='/img/video.asf
[00000243] main access debug: net: connecting to '192.168.0.2:80'
[00000243] main access debug: looking for network module: 2 candidates
[00000243] ipv4 access debug: connection in progress
[00000043] main module debug: using network module "ipv4"
[00000043] main module debug: unlocking module "ipv4"
[00000243] access_http access debug: protocol 'HTTP' answer code 206
[00000243] access_http access debug: Server: thttpd/2.20b 10oct00
[00000243] access_http access debug: Content-Type: application/octet-stream

p_access->info.i_size =0
[00000243] access_http access debug: stream size=0
[00000183] main module debug: using access2 module "access_http"
s->pf_peek = AStreamPeekStream

[00000246] main private debug: pre buffering
[00000246] main private debug: received first data for our buffer
[00000246] main private debug: prebuffering done 391 bytes in 0s - 3 kbytes/s
[00000241] main input debug: creating demux: access='http' demux=''
path='192.168.0.2/img/video.asf'
[00000247] main demuxer debug: looking for demux2 module: 36 candidates
[00000246] asf private debug: found object guid:
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:327
[00000246] asf private debug: read "header object" subobj:3, reserved1:1,
reserved2:2
[00000246] asf private debug: found object guid:
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104
[00000246] 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:0
send_duration:0 preroll:2000 flags:1 min_data_packet_size:2000
max_data_packet_size:2000 max_bitrate:512000

p_obj->common.i_object_size =104
[00000246] asf private debug: found object guid:
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147
[00000246] 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

p_obj->common.i_object_size =147
[00000246] asf private debug: found object guid:
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46
[00000246] asf private debug: read "header extension object"
reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6
header_extension_size:0

p_obj->common.i_object_size =46

p_obj->common.i_object_size =327
[00000246] asf private debug: found object guid:
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:-72057594037927937
[00000246] asf private debug: read "data object"
file_id:0x67452301-0xab89-0xefcd-0x0000000000000000 total data packet:0
reserved:257
[00000246] asf private debug: + 'Unknown' GUID
0x0-0x0-0x0-0x0000000000000000 size:0pos:0
[00000246] asf private debug:      + 'Header' GUID
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:327pos:0
[00000246] asf private debug:      |    + 'File Properties' GUID
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:30
[00000246] asf private debug:      |    + 'Stream Properties' GUID
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147pos:134
[00000246] asf private debug:      |    + 'Header Extention' GUID
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46pos:281
[00000246] asf private debug:      + 'Data' GUID
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c
size:18374686479671623679pos:327
[00000247] asf demuxer debug: found 1 streams
[00000243] access_http access warning: unimplemented query in control
[00000241] main input debug: selecting program id=0
[00000247] asf demuxer debug: added new video stream(ID:1)

p_sys->i_data_begin =377

p_sys->i_data_end =18374686479671624006

stream_Size = 0, i_size = 0
[00000210] main module debug: using demux2 module "asf"
[00000249] main decoder debug: looking for decoder module: 18 candidates
[00000249] ffmpeg decoder debug: libavcodec initialized (interface 4753 )
[00000249] ffmpeg decoder debug: postprocessing disabled
[00000249] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000014] main module debug: using decoder module "ffmpeg"
[00000249] main decoder debug: thread 107056048 (decoder) created at
priority 0 (src/input/decoder.c:159)
[00000243] access_http access debug: GET META (null) (null) (null)
[00000241] main input debug: `http://192.168.0.2/img/video.asf'
successfully opened
[00000243] access_http access debug: trying to seek to 6377
[00000243] main access debug: net: connecting to '192.168.0.2:80'
[00000243] main access debug: looking for network module: 2 candidates
[00000243] ipv4 access debug: connection in progress
[00000043] main module debug: using network module "ipv4"
[00000043] main module debug: unlocking module "ipv4"
[00000243] access_http access debug: protocol 'HTTP' answer code 200
[00000243] access_http access debug: Server: thttpd/2.20b 10oct00
[00000243] access_http access debug: Content-Type: application/octet-stream
[00000247] asf demuxer warning: Found a new ASF header
[00000246] asf private debug: free asf object
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365
[00000246] asf private debug: free asf object
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000246] asf private debug: free asf object
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365
[00000246] asf private debug: free asf object
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000246] asf private debug: free asf object
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000249] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000014] main module debug: unlocking module "ffmpeg"
[00000249] main decoder debug: thread 107056048 joined
(src/input/decoder.c:191)
[00000249] main decoder debug: killing decoder fourcc `MP4S', 0 PES in FIFO
[00000241] main input debug: Program doesn't contain anymore ES
[00000246] asf private debug: found object guid:
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:327
[00000246] asf private debug: read "header object" subobj:3, reserved1:1,
reserved2:2
[00000246] asf private debug: found object guid:
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104
[00000246] 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:0
send_duration:0 preroll:2000 flags:1 min_data_packet_size:2000
max_data_packet_size:2000 max_bitrate:512000

p_obj->common.i_object_size =104
[00000246] asf private debug: found object guid:
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147
[00000246] 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

p_obj->common.i_object_size =147
[00000246] asf private debug: found object guid:
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46
[00000246] asf private debug: read "header extension object"
reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6
header_extension_size:0

p_obj->common.i_object_size =46

p_obj->common.i_object_size =327
[00000246] asf private debug: found object guid:
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:-72057594037927937
[00000246] asf private debug: read "data object"
file_id:0x67452301-0xab89-0xefcd-0x0000000000000000 total data packet:0
reserved:257
[00000246] asf private debug: + 'Unknown' GUID
0x0-0x0-0x0-0x0000000000000000 size:0pos:6377
[00000246] asf private debug:      + 'Header' GUID
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:327pos:6377
[00000246] asf private debug:      |    + 'File Properties' GUID
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:6407
[00000246] asf private debug:      |    + 'Stream Properties' GUID
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:147pos:6511
[00000246] asf private debug:      |    + 'Header Extention' GUID
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46pos:6658
[00000246] asf private debug:      + 'Data' GUID
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c
size:18374686479671623679pos:6704
[00000247] asf demuxer debug: found 1 streams
[00000243] access_http access warning: unimplemented query in control
[00000266] main decoder debug: looking for decoder module: 18 candidates
[00000266] ffmpeg decoder debug: libavcodec already initialized
[00000266] ffmpeg decoder debug: postprocessing disabled
[00000266] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000014] main module debug: using decoder module "ffmpeg"
[00000266] main decoder debug: thread 107056048 (decoder) created at
priority 0 (src/input/decoder.c:159)
[00000247] asf demuxer debug: added new video stream(ID:1)

p_sys->i_data_begin =6754

p_sys->i_data_end =18374686479671630383

stream_Size = 0, i_size = 0
[00000266] main decoder debug: no usable vout present, spawning one
[00000267] main video output debug: looking for video output module: 6
candidates
[00000268] main private debug: Registering subpicture channel, ID: 2
[00000268] main private debug: Registering subpicture channel, ID: 3
[00000268] main private debug: Registering subpicture channel, ID: 4
[00000268] main private debug: Registering subpicture channel, ID: 5
[00000267] xvideo video output debug: adaptor 0, port 64, format
0x32315659 (YV12) planar

0 0 512 384
[00000267] xvideo video output debug: Window manager supports NetWM
[00000267] xvideo video output debug: Window manager supports
_NET_WM_STATE_FULLSCREEN
[00000267] xvideo video output debug: Window manager supports
_NET_WM_STATE_ABOVE
[00000267] xvideo video output debug: Window manager supports
_NET_WM_STATE_BELOW
[00000114] main module debug: using video output module "xvideo"
[00000267] main video output debug: waiting for thread completion
[00000267] main video output debug: got 8 direct buffer(s)
[00000267] main video output debug: picture in 320x240 (0,0,320x240),
chroma I420, ar 4:3, sar 1:1
[00000267] main video output debug: picture user 320x240 (0,0,320x240),
chroma I420, ar 4:3, sar 1:1
[00000267] main video output debug: picture out 320x240, chroma I420, ar
4:3, sar 1:1
[00000267] main video output debug: direct render, mapping render pictures
0-6 to system pictures 1-7
[00000267] main video output debug: thread 79420336 (video output) created
at priority 0 (src/video_output/video_output.c:466)
[00000241] main input debug: control type=0
[00000241] main input debug: control: stopping input
[00000241] main input debug: closing input
[00000246] asf private debug: free asf object
0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365
[00000246] asf private debug: free asf object
0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365
[00000246] asf private debug: free asf object
0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365
[00000246] asf private debug: free asf object
0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000246] asf private debug: free asf object
0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c
[00000266] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000014] main module debug: unlocking module "ffmpeg"
[00000266] main decoder debug: thread 107056048 joined
(src/input/decoder.c:191)
[00000266] main decoder debug: killing decoder fourcc `MP4S', 19 PES in
FIFO[00000241] main input debug: Program doesn't contain anymore ES
[00000210] main module debug: unlocking module "asf"
[00000183] main module debug: unlocking module "access_http"
[00000241] main input debug: thread 68930480 joined (src/input/input.c:386)
[00000235] main playlist debug: garbage collector destroying 1 vout
[00000114] main module debug: unlocking module "xvideo"
[00000267] main video output debug: thread 79420336 joined
(src/video_output/video_output.c:506)


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list