Page 1 of 1

Problem playing internet-audiostreams whith vlc

Posted: 22 Dec 2009 17:57
by dag0
Hello to all vlc-freaks :-)!

My Problem is the following:
When opening one of those loopstreams: http://www.fritz.de/Loopstreams/Loopstreams.html
for example: mms://85.214.45.87:80/fritz.dienstag.2
with my Firefox-associated vlc it takes about 2 Minutes until the stream begins playing. Same Problem occurs with WinXP and Linux (Sidux on other box and Ubuntu 9.10 here in a virtual machine). When opening the stream from a Linux console I get:
--------------------------------------------------------------------------------------
patrice@patrice-desktop:~$ vlc mms://85.214.45.87:80/fritz.dienstag.2
VLC media player 1.0.2 Goldeneye
[0x919da30] main interface error: no interface module matched "globalhotkeys,none"
[0x919da30] main interface error: no suitable interface module
[0x90ed140] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x90ed140] main libvlc: vlc wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um vlc ohne Interface zu verwenden.
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: no data received
[0x93fba90] access_mms access error: cannot connect to server
[0x93fba90] access_mms access error: cannot read data 2
[0x93fd240] pulse audio output: No. of Audio Channels: 2
------------------------------------------------------------------------------

Just right after the two last error-messages "cannot connect to server" and "cannot read data 2" wich appear quick consecutively the stream begins playing!
When entering the url manually in vlc with http:// instead of mms:// the stream plays instantly!

Any help apreciated, Thanks!

bye,
dag0

Re: Problem playing internet-audiostreams whith vlc

Posted: 22 Dec 2009 19:38
by dag0
Here the output with "vlc verbose 2", fore those interested :-)


main playlist debug: rebuilding array of current - root Wiedergabeliste
[0x865d4c0] main playlist debug: rebuild done - 1 items, index -1
[0x865d4c0] main playlist debug: processing request item null node Wiedergabeliste skip 0
[0x865d4c0] main playlist debug: starting new item
[0x865d4c0] main playlist debug: creating new input thread
[0x88c13f0] main input debug: Creating an input for 'mms://85.214.45.87:80/fritz.dienstag.2'
[0x88c13f0] main input debug: thread started
[0x88c13f0] main input debug: using timeshift granularity of 50 MBytes
[0x88c13f0] main input debug: using timeshift path '/tmp'
[0x88c13f0] main input debug: thread (input) created at priority 10 (input/input.c:230)
[0x88c13f0] main input debug: `mms://85.214.45.87:80/fritz.dienstag.2' gives access `mms' demux `' path `85.214.45.87:80/fritz.dienstag.2'
[0x88c13f0] main input debug: creating demux: access='mms' demux='' path='85.214.45.87:80/fritz.dienstag.2'
[0x8678380] main demux debug: looking for access_demux module: 0 candidates
[0x8678380] main demux debug: no access_demux module matched "mms"
[0x8678380] main demux debug: TIMER module_need() : 0,080 ms - Total 0,080 ms / 1 intvls (Avg 0,080 ms)
[0x88c13f0] main input debug: creating access 'mms' path='85.214.45.87:80/fritz.dienstag.2'
[0x88c1b40] main access debug: looking for access module: 1 candidate
[0x88c1b40] access_mms access debug: waiting for connection...
[0x88c1b40] main access debug: net: connecting to 85.214.45.87 port 80
[0x88c1b40] main access debug: connection: Operation now in progress
[0x88c1b40] main access debug: connection succeeded (socket = 22)
[0x88c1b40] access_mms access debug: connection(tcp) with "85.214.45.87:80" successful
[0x88c1b40] access_mms access debug: generated guid: babac001-7869-03a8-009df33a6c265570
[0x8663b10] qt4 interface debug: IM: Setting an input
[0x8663b10] qt4 interface debug: Updating the geometry
[0x8663b10] qt4 interface debug: Updating the geometry
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access warning: failed to receive command (aborting)
[0x88c1b40] access_mms access debug: Connection closed
[0x88c1b40] access_mms access debug: waiting for connection...
[0x88c1b40] main access debug: net: connecting to 85.214.45.87 port 80
[0x88c1b40] main access debug: connection: Operation now in progress
[0x88c1b40] main access debug: connection succeeded (socket = 22)
[0x88c1b40] access_mms access debug: connection(tcp) with "85.214.45.87:80" successful
[0x88c1b40] main access debug: net: opening 10.0.2.15 datagram port 7000
[0x88c1b40] access_mms access debug: connection(udp) at "10.0.2.15:7000" successful
[0x88c1b40] access_mms access debug: generated guid: babac001-7c06-c094-9256be666c638cb9
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access error: no data received
[0x88c1b40] access_mms access warning: cannot fill buffer
[0x88c1b40] access_mms access warning: failed to receive command (aborting)
[0x88c1b40] access_mms access debug: Connection closed
[0x88c1b40] access_mms access error: cannot connect to server
[0x88c1b40] main access debug: net: connecting to 85.214.45.87 port 80
[0x88c1b40] main access debug: connection: Operation now in progress
[0x88c1b40] main access debug: connection succeeded (socket = 22)
[0x88c1b40] access_mms access debug: HTTP reply 'HTTP/1.0 200 OK'
[0x88c1b40] access_mms access debug: stream type = broadcast
[0x88c1b40] access_mms access error: cannot read data 2
[0x88c1b40] access_mms access debug: complete header size=601
[0x88c1b40] access_mms access debug: packet count=68986 packet size=1693
[0x88c1b40] access_mms access debug: starting stream
[0x88c1b40] main access debug: net: connecting to 85.214.45.87 port 80
[0x88c1b40] main access debug: connection: Operation now in progress
[0x88c1b40] main access debug: connection succeeded (socket = 22)
[0x88c1b40] access_mms access debug: HTTP reply 'HTTP/1.0 200 OK'
[0x88c1b40] access_mms access debug: Content-Type: application/x-mms-framed
[0x88c1b40] access_mms access debug: Server: Cougar/9.01.01.5001
[0x88c1b40] access_mms access debug: Date: Tue, 22 Dec 2009 18:23:37 GMT
[0x88c1b40] access_mms access debug: Pragma: no-cache, client-id=1197218874, xResetStrm=1, features="broadcast,playlist", AccelBW=0, AccelDuration=0, Speed=1.000

Re: Problem playing internet-audiostreams whith vlc

Posted: 23 Dec 2009 14:03
by dag0
Can anyone at least confirm this behaviour? Or is this just a problem with my installation?

greets,
dag0

Re: Problem playing internet-audiostreams whith vlc

Posted: 26 Dec 2009 18:31
by Jean-Baptiste Kempf
same issue here.

Re: Problem playing internet-audiostreams whith vlc

Posted: 30 Dec 2009 00:08
by mc2man
mms would be better as such
mms://85.214.45.87/fritz.dienstag.2?MSWMExt=.asf

Re: Problem playing internet-audiostreams whith vlc

Posted: 30 Dec 2009 03:56
by fgwaller
I am not sure if it is exactly the same problem or just very similar:

Since switcing to 1.0.3 Goldeneye (Windows XP) (having 0.9.8a on a number of other PCs in our house without this Problem and not had it on this one before upgrading as well) I get very frequently Errors like this:

VLC is unable to open the MRL 'http://10.10.1.10/video//The_Mentalist/ ... ec/002.vdr'. Check the log for details.

The resources are available since retrying will play the same files or playlists without problems!

The Problems only show up when files are accessed via http or http equivilent streaming, no matter if files are served via apache, sockso or vdr. There are however no Problems accessing the same files via smb/Samba as well...

Debug output is not very informative either:
[0x20e4e3c] logger interface: using logger...
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
... I see a lot of these whenever screen is partially overlapped...
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
[0x1f80be4] access_http access error: cannot connect to 10.10.1.10:80
[0x1f80be4] access_mms access error: cannot connect to 10.10.1.10:80
[0x20a5f24] main input error: open of `http://10.10.1.10/video//The_Mentalist/_/
2009-09-27.21.14.50.99.rec/002.vdr' failed: (null)
QPainter::begin: Paint device returned engine == 0, type: 1

Error comes very quickly, like instantly when switching to next track/part or instantly on trying to open the file, I usually would expect a 2-3 second connect timeout at least if the Program was really trying to access the Server...
There is no incoming connection registered on the server as well when the error is displayed. So it looks like some error is preventing the establishing of the connection in the first place.