[vlc] RTSP authentication regression in 0.8.6.a?

Igor Bukanov igor at mir2.org
Wed Feb 14 09:58:49 CET 2007


Hi!

I am trying to use VLC to access RTSP stream from MPEG4 Transcoder box
(ACTi SED 2120). On Windows 0.8.5 works without any problems as
entering:

rtsp://username:password@ip4address:port/

from the Open Network Stream menu works and shows the video without.
Yet on 0.8.6a on Windows and Linux that just produces errors. Bellow
is the full log from Linux (error messages on Windows are identical).

Thanks in advance, Igor

vlc -vvv rtsp://t:t@10.0.1.139:7070/

VLC media player 0.8.6a Janus
[00000001] main private debug: checking builtin modules
[00000001] main private debug: checking plugin modules
[00000001] main private debug: loading plugins cache file
/home/igor/.vlc/cache/plugins-04041e.dat
[00000001] main private debug: recursively browsing `modules'
[00000001] main private debug: recursively browsing `/usr/lib/vlc'
[00000001] main private debug: recursively browsing `plugins'
[00000001] main private debug: module bank initialized, found 236 modules
[00000001] main private debug: opening config file /home/igor/.vlc/vlcrc
[00000001] main private debug: CPU has capabilities 486 586 MMX MMXEXT
SSE SSE2 FPU
[00000001] main private debug: looking for memcpy module: 3 candidates
[00000001] main private debug: using memcpy module "memcpymmxext"
[00000306] main playlist debug: waiting for thread completion
[00000306] main playlist debug: thread 27138960 (playlist) created at
priority 0 (playlist/playlist.c:184)
[00000307] main private debug: waiting for thread completion
[00000307] main private debug: thread 56359824 (preparser) created at
priority 0 (playlist/playlist.c:210)
[00000308] main interface debug: looking for interface module: 1 candidate
[00000308] main interface debug: using interface module "hotkeys"
[00000308] main interface debug: thread 37628816 (interface) created
at priority 0 (interface/interface.c:231)
[00000310] main interface debug: looking for interface module: 1 candidate
[00000310] main interface debug: using interface module "screensaver"
[00000310] main interface debug: thread 66849680 (interface) created
at priority 0 (interface/interface.c:231)
[00000306] main playlist debug: adding playlist item
`rtsp://t:t@10.0.1.139:7070/' ( rtsp://t:t@10.0.1.139:7070/ )
[00000312] main interface debug: looking for interface module: 5 candidates
[00000312] main interface debug: using interface module "wxwidgets"
[00000312] main interface debug: thread 77339536 (manager) created at
priority 0 (interface/interface.c:216)
[00000312] wxwidgets interface debug: Using last windows config
'(-1,0,0,1280,768)(0,0,25,422,80)(6,0,0,-1,150)'
[00000312] wxwidgets interface debug: id=0 p=(0,25) s=(422,80)
[00000312] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150)
[00000306] main playlist debug: nothing requested, starting
[00000306] main playlist debug: creating new input thread
[00000315] main input debug: waiting for thread completion
[00000315] main input debug: creating statistics handler
[00000315] main input debug: `rtsp://t:t@10.0.1.139:7070/' gives
access `rtsp' demux `' path `t:t at 10.0.1.139:7070/'
[00000315] main input debug: creating demux: access='rtsp' demux=''
path='t:t at 10.0.1.139:7070/'
[00000317] main demuxer debug: looking for access_demux module: 1 candidate
[00000315] main input debug: thread 98851728 (input) created at
priority 0 (input/input.c:265)
Sending request: OPTIONS rtsp://t:t@10.0.1.139:7070/ RTSP/1.0

CSeq: 1

User-Agent: VLC media player (LIVE555 Streaming Media v2006.08.06)




Received OPTIONS response: RTSP/1.0 200 OK

CSeq: 1

Date: Mon, Feb 12 2007 12:06:18 GMT

Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, SET_PARAMETER




Sending request: DESCRIBE rtsp://t:t@10.0.1.139:7070/ RTSP/1.0

CSeq: 2

Accept: application/sdp

User-Agent: VLC media player (LIVE555 Streaming Media v2006.08.06)




Received DESCRIBE response: RTSP/1.0 401 Unauthorized

CSeq: 2

Date: Mon, Feb 12 2007 12:06:18 GMT

WWW-Authenticate: Digest realm="Session streamed by RTP/RTSP server",
nonce="5e54ba80ff598ff919cc659fccb5c51c"




[00000317] live555 demuxer debug: DESCRIBE failed with 0: cannot
handle DESCRIBE response: RTSP/1.0 401 Unauthorized
[00000317] live555 demuxer debug: we will now try HTTP tunneling mode
Requesting RTSP-over-HTTP tunneling (on port 80)

Sending request: GET / HTTP/1.0

User-Agent: VLC media player (LIVE555 Streaming Media v2006.08.06)

x-sessioncookie: 5575869dc3ffcaec1240e5d

Accept: application/x-rtsp-tunnelled

Pragma: no-cache

Cache-Control: no-cache




Received HTTP GET response: HTTP/1.0 200 OK

Server: thttpd/2.25b 29dec2003

Content-Type: text/html; charset=iso-8859-1

Date: Mon, 12 Feb 2007 12:06:18 GMT

Last-Modified: Wed, 09 Jun 2004 08:57:29 GMT

Accept-Ranges: bytes

Connection: close

Content-Length: 79




Sending request: POST / HTTP/1.0

User-Agent: VLC media player (LIVE555 Streaming Media v2006.08.06)

x-sessioncookie: 5575869dc3ffcaec1240e5d

Content-Type: application/x-rtsp-tunnelled

Pragma: no-cache

Cache-Control: no-cache

Content-Length: 32767

Expires: Sun, 9 Jan 1972 00:00:00 GMT




Sending request: OPTIONS rtsp://t:t@10.0.1.139:7070/ RTSP/1.0

CSeq: 3

User-Agent: VLC media player (LIVE555 Streaming Media v2006.08.06)




	The request was base-64 encoded to:
T1BUSU9OUyBydHNwOi8vdDp0QDEwLjAuMS4xMzk6NzA3MC8gUlRTUC8xLjANCkNTZXE6IDMNClVzZXItQWdlbnQ6IFZMQyBtZWRpYSBwbGF5ZXIgKExJVkU1NTUgU3RyZWFtaW5nIE1lZGlhIHYyMDA2LjA4LjA2KQ0KDQo=

Sending request: DESCRIBE rtsp://t:t@10.0.1.139:7070/ RTSP/1.0

CSeq: 4

Accept: application/sdp

Authorization: Digest username="", realm="Session streamed by RTP/RTSP
server", nonce="5e54ba80ff598ff919cc659fccb5c51c",
uri="rtsp://t:t@10.0.1.139:7070/",
response="4ac8661d43a1d6a0aacc5edd4481f0c1"

User-Agent: VLC media player (LIVE555 Streaming Media v2006.08.06)




	The request was base-64 encoded to:
REVTQ1JJQkUgcnRzcDovL3Q6dEAxMC4wLjEuMTM5OjcwNzAvIFJUU1AvMS4wDQpDU2VxOiA0DQpBY2NlcHQ6IGFwcGxpY2F0aW9uL3NkcA0KQXV0aG9yaXphdGlvbjogRGlnZXN0IHVzZXJuYW1lPSIiLCByZWFsbT0iU2Vzc2lvbiBzdHJlYW1lZCBieSBSVFAvUlRTUCBzZXJ2ZXIiLCBub25jZT0iNWU1NGJhODBmZjU5OGZmOTE5Y2M2NTlmY2NiNWM1MWMiLCB1cmk9InJ0c3A6Ly90OnRAMTAuMC4xLjEzOTo3MDcwLyIsIHJlc3BvbnNlPSI0YWM4NjYxZDQzYTFkNmEwYWFjYzVlZGQ0NDgxZjBjMSINClVzZXItQWdlbnQ6IFZMQyBtZWRpYSBwbGF5ZXIgKExJVkU1NTUgU3RyZWFtaW5nIE1lZGlhIHYyMDA2LjA4LjA2KQ0KDQo=

[00000317] live555 demuxer debug: DESCRIBE failed with 0: Failed to
read response: Success
[00000317] live555 demuxer error: Failed to connect with
rtsp://t:t@10.0.1.139:7070/
[00000317] main demuxer warning: no access_demux module matching
"rtsp" could be loaded
[00000315] main input debug: creating access 'rtsp' path='t:t at 10.0.1.139:7070/'
[00000320] main access debug: looking for access2 module: 8 candidates
[00000320] main access debug: net: connecting to t port 80
[00000320] main access error: cannot resolve t port 80 : Name or
service not known
[00000320] access_realrtsp access error: cannot connect to t:0
[00000320] access_realrtsp access debug: could not connect to:
t:t at 10.0.1.139:7070/
[00000320] vcdx access warning: Can't get file status for t:t:
No such file or directory
[00000320] vcdx access warning: could not retrieve file info for
`t:t': No such file or directory
[00000320] vcdx access warning: can't open nrg image file t:t for reading
[00000320] access_file access warning: t:t at 10.0.1.139:7070/: No such
file or directory
[00000320] cdda access warning: could not open t:t at 10.0.1.139:7070/
[00000320] access_gnomevfs access warning: cannot parse MRL
rtsp://t:t@10.0.1.139:7070/ or unsupported protocol
[00000320] cddax access warning: could not open t:t
[00000320] main access warning: no access2 module matching "rtsp"
could be loaded
[00000315] main input error: no suitable access module for
`rtsp://t:t@10.0.1.139:7070/'
[00000315] main input debug: thread 98851728 joined (input/input.c:412)
[00000306] main playlist: nothing to play
[00000001] main private debug: removing all interfaces
[00000312] main interface debug: thread 77339536 joined
(interface/interface.c:258)
[00000312] main interface debug: removing module "wxwidgets"
[00000310] main interface debug: thread 66849680 joined
(interface/interface.c:258)
[00000310] main interface debug: removing module "screensaver"
[00000308] main interface debug: thread 37628816 joined
(interface/interface.c:258)
[00000308] main interface debug: removing module "hotkeys"
[00000001] main private debug: removing playlist handler
[00000307] main private debug: thread 56359824 joined (playlist/playlist.c:247)
[00000306] main playlist debug: thread 27138960 joined (playlist/playlist.c:248)
[00000306] main playlist: stopping playback
[00000306] main playlist debug: deleting playlist item
`rtsp://t:t@10.0.1.139:7070/'
[00000001] main private debug: removing all video outputs
[00000001] main private debug: removing all audio outputs
[00000001] main private debug: removing module "memcpymmxext"
[00000001] main private debug: opening config file /home/igor/.vlc/vlcrc
[00000001] main private debug: saving plugins cache file
/home/igor/.vlc/cache/plugins-04041e.dat

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



More information about the vlc mailing list