Delay in mms stream display - HELP!

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
SteveO
Blank Cone
Blank Cone
Posts: 32
Joined: 01 Dec 2011 22:46

Delay in mms stream display - HELP!

Postby SteveO » 23 Jan 2012 23:54

Dear Forum,

I have tried exhaustively to get mms streaming to work consistently and have not had luck. A few times the display worked immediately, but usually it either takes about 1 minute or fails. Appears this problem has been encountered before, but not sure if a fix was implemented.... Based on those posts its appears it revolves around an issue" with LIBACCESS_MMS.DLL. I downloaded a more recent version of this dll but crashed vlc when I used it... One post suggests that there is an extra or missing "/" in the mms path specification from the receiving side...

I set message output to level 2 (verbose) and received the output shown below. Basically VLC holds up while outputting:

"access_mms warning: cannot fill buffer"
"access_mms error: no data received"

and then VLC decides to change how it is communicating with the server and video data transfer and display begins. In my application I cannot wait for 1 minute and hope it works.... Does anyone know how to address this or if there is a version that has?

Thx,

Steve.


HERE GOES A CONNECTION ATTEMPT...
access_mms error: no data received
access_mms warning: cannot fill buffer
access_mms warning: failed to receive command (aborting)
access_mms debug: Connection closed
access_mms debug: waiting for connection...
main debug: net: connecting to 172.16.3.44 port 8080
main debug: connection succeeded (socket = 1664)
access_mms debug: connection(tcp) with "172.16.3.44:8080" successful
main debug: net: opening 172.16.3.44 datagram port 7000
access_mms debug: connection(udp) at "172.16.3.44:7000" successful
access_mms debug: generated guid: babac001-4ae1-3d6c-d62c0000ae720000
access_mms error: no data received
access_mms warning: cannot fill buffer
access_mms error: no data received
access_mms warning: cannot fill buffer
access_mms error: no data received
access_mms error: no data received
access_mms warning: cannot fill buffer
access_mms warning: failed to receive command (aborting)
access_mms debug: Connection closed
access_mms error: cannot connect to server

HERE GOES ANOTHER CONNECTION ATTEMPT...
main debug: net: connecting to 172.16.3.44 port 8080
main debug: connection succeeded (socket = 1368)
access_mms debug: HTTP reply 'HTTP/1.0 200 OK'
access_mms debug: stream type = broadcast
access_mms error: cannot read data 2
access_mms debug: complete header size=573
access_mms debug: packet count=4294967295 packet size=4096
access_mms debug: starting stream
main debug: net: connecting to 172.16.3.44 port 8080
main debug: connection succeeded (socket = 1368)
access_mms debug: HTTP reply 'HTTP/1.0 200 OK'
access_mms debug: Content-type: application/octet-stream
access_mms debug: Server: Cougar 4.1.0.3921
access_mms debug: Pragma: no-cache
access_mms debug: Pragma: client-id=17116
access_mms debug: Pragma: features="broadcast"
access_mms debug: Cache-Control: no-cache
main debug: using access module "access_mms"
main debug: TIMER module_need() : 101072.005 ms - Total 101072.005 ms / 1 intvls (Avg 101072.000 ms)
main debug: Using AStream*Block
main debug: pre buffering
main debug: received first data after 0 ms
main debug: prebuffering done 573 bytes in 0s - 559570 KiB/s
main debug: looking for stream_filter module: 2 candidates
main debug: no stream_filter module matching "any" could be loaded
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for stream_filter module: 1 candidate
main debug: using stream_filter module "stream_filter_record"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: creating demux: access='mms' demux='' path='172.16.3.44:8080'
main debug: looking for demux module: 52 candidates
asf debug: found object guid: 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:523
asf debug: read "header object" subobj:5, reserved1:1, reserved2:2
asf debug: found object guid: 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104
asf debug: read "file properties object" file_id:0xbabac001-0x29-0x4823-0xbe18000084670000 file_size:573 creation_date:0 data_packets_count:4294967295 play_duration:0 send_duration:0 preroll:2000 flags:1 min_data_packet_size:4096 max_data_packet_size:4096 max_bitrate:960000
asf debug: found object guid: 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46
asf debug: read "header extension object" reserved1:0xabd3d211-0xa9ba-0x11cf-0x8ee600c00c205365 reserved2:6 header_extension_size:0
asf debug: found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:96
asf debug: read "stream Properties object" stream_type:0xf8699e40-0x5b4d-0x11cf-0xa8fd00805f5c442b error_correction_type:0x20fb5700-0x5b55-0x11cf-0xa8fd00805f5c442b time_offset:0 type_specific_data_length:18 error_correction_data_length:0 flags:0x1 stream_number:1
asf debug: found object guid: 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:145
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:67 error_correction_data_length:0 flags:0x2 stream_number:2
asf debug: found object guid: 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6 size:102
asf debug: read "codec list object" reserved_guid:0x86d15241-0x311d-0x11d0-0xa3a400a0c90348f6 codec_entries_count:2
asf debug: - codec[0] audio name:"A/52" description:"" information_length:2
asf debug: - codec[1] video name:"MPEG-4 Video" description:"" information_length:4
asf debug: found object guid: 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:50
asf debug: read "data object" file_id:0xbabac001-0x29-0x4823-0xbe18000084670000 total data packet:0 reserved:257
asf debug: + 'Unknown' GUID 0x0-0x0-0x0-0x0000000000000000 size:0pos:0
asf debug: + 'Header' GUID 0x75b22630-0x668e-0x11cf-0xa6d900aa0062ce6c size:523pos:0
asf debug: | + 'File Properties' GUID 0x8cabdca1-0xa947-0x11cf-0x8ee400c00c205365 size:104pos:30
asf debug: | + 'Header Extension' GUID 0x5fbf03b5-0xa92e-0x11cf-0x8ee300c00c205365 size:46pos:134
asf debug: | + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:96pos:180
asf debug: | + 'Stream Properties' GUID 0xb7dc0791-0xa9b7-0x11cf-0x8ee600c00c205365 size:145pos:276
asf debug: | + 'Codec List' GUID 0x86d15240-0x311d-0x11d0-0xa3a400a0c90348f6 size:102pos:421
asf debug: + 'Data' GUID 0x75b22636-0x668e-0x11cf-0xa6d900aa0062ce6c size:50pos:523
asf debug: found 2 streams
asf debug: added new audio stream(codec:0x2000,ID:1)
main debug: selecting program id=0
asf debug: added new video stream(ID:2)
main warning: 0 bytes need to be skipped (access non seekable)
main debug: using demux module "asf"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: looking for decoder module: 34 candidates
main debug: using decoder module "a52"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread started
main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:301)
main debug: looking for decoder module: 34 candidates
avcodec debug: libavcodec initialized (interface 0x350500)
avcodec debug: trying to use direct rendering
avcodec debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_need() : 182.000 ms - Total 182.000 ms / 1 intvls (Avg 182.000 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:301)
main debug: thread started
access_mms warning: unimplemented query in control
main debug: looking for meta reader module: 2 candidates
lua debug: Trying Lua scripts in C:\Users\SteveL\AppData\Roaming\vlc\lua\meta\reader
lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC-1.11\lua\meta\reader
lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC-1.11\lua\meta\reader\filename.lua
main debug: no meta reader module matching "any" could be loaded
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: `mms://172.16.3.44:8080' successfully opened
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
main debug: Buffering 0%
a52 debug: A/52 channels:6 samplerate:48000 bitrate:448000
main debug: creating aout
main debug: looking for audio output module: 4 candidates
aout_directx debug: Opening DirectSound Audio Output
main debug: Buffering 1%
main debug: Buffering 2%
avcodec warning: cannot decode one frame (7660 bytes)
main debug: no usable vout present, spawning one
main debug: looking for text renderer module: 2 candidates
freetype debug: Using Arial as font from file C:\Windows\Fonts\arial.ttf
freetype debug: using fontsize: 2
main debug: using text renderer module "freetype"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for video filter2 module: 18 candidates
swscale debug: 32x32 chroma: YUVA -> 16x16 chroma: YUVA with scaling using Bicubic (good quality)
main debug: using video filter2 module "swscale"
main debug: TIMER module_need() : 5.000 ms - Total 5.000 ms / 1 intvls (Avg 5.000 ms)
main debug: looking for video filter2 module: 18 candidates
yuvp debug: YUVP to YUVA converter
main debug: using video filter2 module "yuvp"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: window size: 640x272
main debug: Deinterlacing available
main debug: deinterlace 0, mode blend, is_needed 0
main debug: looking for video output module: 1 candidate
vout_wrapper debug: Opening vout display wrapper
main debug: looking for vout display module: 8 candidates
main debug: Buffering 2%
direct3d debug: creating Vout EventThread
direct3d debug: DirectXCreateWindow
main debug: looking for vout window hwnd module: 3 candidates
qt4 debug: requesting video...
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: Speakers (High Definition Audio Device)
aout_directx debug: device supports 5.1 channels
aout_directx debug: device supports 4 channels
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
aout_directx debug: Windows says your SpeakerConfig is stereo
aout_directx debug: creating DirectSoundThread
main debug: thread started
main debug: thread (DirectSound Notification Thread) created at priority 15 (../../.././modules/audio_output/directx.c:321)
aout_directx debug: DirectSoundThread ready
main debug: using audio output module "aout_directx"
main debug: TIMER module_need() : 39.000 ms - Total 39.000 ms / 1 intvls (Avg 39.000 ms)
main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'f32l'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 13 candidates
audio_format debug: f32l->s16l, bits per sample: 32->16
main debug: using audio filter module "audio_format"
main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms)
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: input 'a52 ' 48000 Hz 3F2R/LFE frame=1536 samples/1792 bytes
main debug: looking for audio filter module: 1 candidate
scaletempo debug: format: 48000 rate, 2 nch, 4 bps, fl32
scaletempo debug: params: 30 stride, 0.200 overlap, 14 search
scaletempo debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode
main debug: using audio filter module "scaletempo"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: filter(s) 'a52 '->'f32l' 48000 Hz->48000 Hz 3F2R/LFE->Stereo
main debug: looking for audio filter module: 13 candidates
main debug: using audio filter module "a52tofloat32"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: filter(s) 'f32l'->'f32l' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 13 candidates
main debug: using audio filter module "ugly_resampler"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: End of audio preroll
qt4 debug: Video was requested 0, 0
main debug: using vout window hwnd module "qt4"
main debug: TIMER module_need() : 72.000 ms - Total 72.000 ms / 1 intvls (Avg 72.000 ms)
main debug: Buffering 4%
main debug: Buffering 5%
main debug: Buffering 5%
direct3d debug: created video sub-window
direct3d debug: Vout EventThread running
direct3d debug: disabling screen saver
main debug: Buffering 6%
main debug: VoutDisplayEvent 'resize' 656x310 window
direct3d warning: trying surface pixel format: YV12
direct3d debug: selected surface pixel format is YV12
direct3d debug: Direct3D scene created successfully
direct3d debug: Direct3D device adapter successfully initialized
main debug: using vout display module "direct3d"
main debug: TIMER module_need() : 329.000 ms - Total 329.000 ms / 1 intvls (Avg 329.000 ms)
main debug: using video output module "vout_wrapper"
main debug: TIMER module_need() : 329.000 ms - Total 329.000 ms / 1 intvls (Avg 329.000 ms)
main debug: got 1 direct buffer(s)
main debug: pic render sz 640x272, of (0,0), vsz 640x272, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic in sz 640x272, of (0,0), vsz 640x272, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
main debug: pic out sz 640x272, of (0,0), vsz 640x272, 4cc I420, sar 1727999:1728000, msk r0x0 g0x0 b0x0
main debug: direct render, mapping render pictures 0-23 to system pictures 1-24
main debug: VoutDisplayEvent 'resize' 640x272 window
avcodec debug: using direct rendering
main debug: End of video preroll
main debug: Received first picture
main debug: Post-processing available
main warning: vlc_object_find_name(postproc) is not safe!
main debug: Buffering 8%
main debug: Buffering 8%
main debug: Buffering 10%
main debug: Buffering 10%
main debug: Buffering 11%

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Delay in mms stream display - HELP!

Postby VLC_help » 24 Jan 2012 16:16

Did you test with VLC 2.0.0 nightly builds?
http://nightlies.videolan.org/build/win32/?C=M;O=D branches are 2.0.0

SteveO
Blank Cone
Blank Cone
Posts: 32
Joined: 01 Dec 2011 22:46

Re: Delay in mms stream display - HELP!

Postby SteveO » 24 Jan 2012 18:00

Thx for the suggestion - just tried it but no luck. I believe I will try a few older version because it did seem to work at some point, just havent always been careful about which version I was using. That could get me to the right ver of VLC or LibAccess_Mms.dll plugin. Certainly appears this is a bug and if so surprised it has hung around so long... maybe Windows is not used as much as some other platforms or perhaps mms is not used that much, but would be a bit surprised on both counts. In any case, worst case I can patch and recompile.

Thx.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 52 guests