Page 1 of 1

MMS stream failing

Posted: 22 Nov 2011 18:41
by ugarth
Hi people.

I'm trying to view this mms stream (it's a live channel always streaming during daytime in europe).

Code: Select all

http://www.canal.parlamento.pt/artv.asx
It works perfectly well in Windows Media player.

VLC tells me in the terminal

Code: Select all

[0x257e2f0] main playlist: stopping playback [0x2942420] access_mms access error: failed to open a connection (tcp) [0x2942420] access_mms access error: failed to open a connection (tcp) [0x2942420] access_mms access error: cannot connect to server [0x2942420] access_mms access error: invalid chunk FATAL (0xbbef) [0x2942420] access_mms access error: header size == 0 [0x2927a70] main input error: open of `mms://80.251.166.34/Live' failed: (null)
MPlayer goes around the same path, fails connect.

Running nmap

Code: Select all

$ nmap 80.251.166.34 Starting Nmap 5.21 ( http://nmap.org ) at 2011-11-22 18:33 CET Nmap scan report for 80.251.166.34 Host is up (0.055s latency). Not shown: 990 filtered ports PORT STATE SERVICE 80/tcp open http 111/tcp closed rpcbind 139/tcp closed netbios-ssn 445/tcp closed microsoft-ds 514/tcp closed shell 554/tcp open rtsp 2049/tcp closed nfs 4662/tcp closed edonkey 6346/tcp closed gnutella 8000/tcp open http-alt
shows port 554 is open and streaming. Indeed Windows Media Player connects to that port, and not port 1755 which mplayer tried to use, and perhaps also VLC.

If I try to connect to that port

Code: Select all

$ vlc mms://80.251.166.34:554/Live VLC media player 1.1.9 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x21cc120] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Blocked: call to setlocale(6, "") Blocked: call to setlocale(6, "") [0x26ad060] access_mms access error: no data received [0x26ad060] access_mms access error: no data received [0x26ad060] access_mms access error: no data received [0x26ad060] access_mms access error: no data received [0x26ad060] access_mms access error: no data received [0x26ad060] access_mms access error: no data received
... and keeps on ad nauseum.

But, nmap tells me rtsp, so if I connect to rtsp://80.251.166.34:554/Live it works !

There seem to be multiple problems:
a) VLC fails to use the proper port. If a port is not specified and the default port is not accessible, then perhaps VLC should do a nmap and check if there are any other ports open, and give preference to the port that maps to the url scheme (mms or rtsp). Perhaps WMP does something like this.
b) Even connecting using the mms: scheme, VLC failed to sniff the content and instead treated the tream as rtsp.
c) during playback, perhaps due to streaming error, playback stopped. VLC should try to resume (or perhaps I'm imagining things)
d) sound is very unbalanced. I get all sound from the left channel and none from the right. It works in windows media player.

I do not have a bug tracker account. I wonder if these bugs are reported.

Thanks.