RTSP will not auth in both 1.1.7 and latest nightly 1.2.0

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
elite185
New Cone
New Cone
Posts: 5
Joined: 06 Aug 2010 15:01

RTSP will not auth in both 1.1.7 and latest nightly 1.2.0

Postby elite185 » 14 Feb 2011 22:25

I am trying to play a .rm file that contains the text:

Code: Select all

rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm
Copy and pasting this code into the media -> "open network stream" dialog also doesn't work.

Code: Select all

Here is the debug code in the 1.2.0 nightly (key section labeled "live555 debug") main debug: adding item `040210201109c.rm' ( file:///C:/Users/Jason/Desktop/040210201109c.rm ) qt4 debug: Adding a new MRL to recent ones: file:///C:/Users/Jason/Desktop/040210201109c.rm main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: processing request item 040210201109c.rm node null skip 0 main debug: resyncing on 040210201109c.rm main debug: 040210201109c.rm is at 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for '040210201109c.rm' main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\Jason\AppData\Local\Temp' main debug: `file:///C:/Users/Jason/Desktop/040210201109c.rm' gives access `file' demux `' path `/C:/Users/Jason/Desktop/040210201109c.rm' main debug: creating demux: access='file' demux='' location='/C:/Users/Jason/Desktop/040210201109c.rm' file='C:\Users\Jason\Desktop\040210201109c.rm' main debug: looking for access_demux module: 2 candidates main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 0.318 ms - Total 0.318 ms / 1 intvls (Avg 0.318 ms) main debug: creating access 'file' location='/C:/Users/Jason/Desktop/040210201109c.rm', path='C:\Users\Jason\Desktop\040210201109c.rm' main debug: looking for access module: 3 candidates filesystem debug: opening file `C:\Users\Jason\Desktop\040210201109c.rm' main debug: using access module "filesystem" main debug: TIMER module_need() : 0.197 ms - Total 0.197 ms / 1 intvls (Avg 0.197 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms main debug: looking for stream_filter module: 3 candidates main debug: no stream_filter module matching "any" could be loaded main debug: TIMER module_need() : 0.100 ms - Total 0.100 ms / 1 intvls (Avg 0.100 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.093 ms - Total 0.093 ms / 1 intvls (Avg 0.093 ms) main debug: creating demux: access='file' demux='' location='/C:/Users/Jason/Desktop/040210201109c.rm' file='C:\Users\Jason\Desktop\040210201109c.rm' main debug: looking for demux module: 53 candidates main debug: Creating an input for '040210201109c.rm' es error: cannot peek playlist debug: found valid M3U playlist main debug: using demux module "playlist" main debug: TIMER module_need() : 4.204 ms - Total 4.204 ms / 1 intvls (Avg 4.204 ms) main debug: looking for a subtitle file in C:\Users\Jason\Desktop main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Jason\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.luac main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 1.048 ms - Total 1.048 ms / 1 intvls (Avg 1.048 ms) main debug: `file:///C:/Users/Jason/Desktop/040210201109c.rm' successfully opened main info: stopping playback main debug: deleting item `040210201109c.rm' main debug: EOF reached main debug: removing module "playlist" main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: thread ended main debug: incoming request - stopping current input main debug: dead input main debug: Destroying the input for '040210201109c.rm' main debug: TIMER input launching for '040210201109c.rm' : 7.141 ms - Total 7.141 ms / 1 intvls (Avg 7.141 ms) main debug: processing request item rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm node Playlist skip 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index 0 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' main debug: no fetch required for (null) (art currently (null)) main debug: no fetch required for rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm (art currently (null)) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\Jason\AppData\Local\Temp' main debug: `rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' gives access `rtsp' demux `' path `128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' main debug: creating demux: access='rtsp' demux='' location='128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' file='\\128.249.159.41:554\AY1011\Spring\B4IM\040210201109.rm' main debug: looking for access_demux module: 1 candidate live555 debug: version 2010.09.25 qt4 debug: IM: Setting an input live555 debug: authentication failed live555 debug: retrying with user=[deleted from the log] live555 debug: authentication failed live555 error: Failed to connect with rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm main debug: no access_demux module matching "rtsp" could be loaded main debug: TIMER module_need() : 10811.703 ms - Total 10811.703 ms / 1 intvls (Avg 10811.702 ms) main debug: creating access 'rtsp' location='128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm', path='\\128.249.159.41:554\AY1011\Spring\B4IM\040210201109.rm' main debug: looking for access module: 1 candidate main debug: net: connecting to 128.249.159.41 port 554 main debug: connection succeeded (socket = 1412) access_realrtsp debug: rtsp connected access_realrtsp debug: found a real/helix rtsp server access_realrtsp error: rtsp session can not be established main debug: no access module matching "rtsp" could be loaded main debug: TIMER module_need() : 586.551 ms - Total 586.551 ms / 1 intvls (Avg 586.551 ms) main debug: waitpipe: object killed main error: open of `rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' failed main debug: thread ended main debug: dead input main debug: changing item without a request (current 0/1) main debug: nothing to play qt4 debug: IM: Deleting the input main debug: Destroying the input for 'rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' main debug: TIMER input launching for 'rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' : 11421.559 ms - Total 11421.559 ms / 1 intvls (Avg 11421.558 ms)
Here is the debug code in 1.1.7 (key section labeled "live555 debug")

Code: Select all

main debug: adding item `040210201109c.rm' ( file:///C:/Users/Jason/Desktop/040210201109c.rm ) main debug: rebuilding array of current - root Playlist main debug: Creating an input for '040210201109c.rm' main debug: rebuild done - 2 items, index 0 main debug: processing request item 040210201109c.rm node Playlist skip 0 main debug: resyncing on 040210201109c.rm main debug: 040210201109c.rm is at 1 main debug: starting new item main debug: creating new input thread main debug: Creating an input for '040210201109c.rm' qt4 debug: Adding a new MRL to recent ones: C:\Users\Jason\Desktop\040210201109c.rm main debug: thread (input) created at priority 1 (../.././src/input/input.c:214) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\Jason\AppData\Local\Temp' main debug: `file:///C:/Users/Jason/Desktop/040210201109c.rm' gives access `file' demux `' path `C:\Users\Jason\Desktop\040210201109c.rm' main debug: creating demux: access='file' demux='' path='C:\Users\Jason\Desktop\040210201109c.rm' main debug: looking for access_demux module: 2 candidates main debug: no access_demux module matching "file" could be loaded main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'file' path='C:\Users\Jason\Desktop\040210201109c.rm' main debug: looking for access module: 2 candidates filesystem debug: opening file `C:\Users\Jason\Desktop\040210201109c.rm' main debug: using access module "filesystem" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: Using AStream*Stream main debug: pre buffering main debug: received first data after 0 ms 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='file' demux='' path='C:\Users\Jason\Desktop\040210201109c.rm' main debug: looking for demux module: 52 candidates es error: cannot peek playlist debug: found valid M3U playlist main debug: using demux module "playlist" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for a subtitle file in C:\Users\Jason\Desktop\ main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Jason\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\reader\filename.lua main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: `file:///C:/Users/Jason/Desktop/040210201109c.rm' successfully opened main info: stopping playback main debug: deleting item `040210201109c.rm' main debug: incoming request - stopping current input main debug: dying input main debug: EOF reached main debug: control type=0 main debug: control: stopping input main debug: dying input main debug: removing module "playlist" main debug: removing module "stream_filter_record" main debug: removing module "filesystem" main debug: dead input main debug: thread ended main debug: thread times: real 0m0.004000s, kernel 0m0.000000s, user 0m0.000000s main debug: TIMER input launching for '040210201109c.rm' : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms) main debug: processing request item rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm node Playlist skip 0 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 2 items, index 1 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' main debug: thread (input) created at priority 1 (../.././src/input/input.c:214) main debug: thread started main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\Jason\AppData\Local\Temp' main debug: `rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' gives access `rtsp' demux `' path `128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' main debug: creating demux: access='rtsp' demux='' path='128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' main debug: looking for access_demux module: 1 candidate qt4 debug: IM: Setting an input main debug: meta ok for (null), need to fetch art main debug: meta ok for rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm, need to fetch art main debug: looking for meta fetcher module: 1 candidate lua debug: Trying Lua scripts in C:\Users\Jason\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.lua main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: removing module "lua" main debug: searching art for 040210201109c.rm main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Jason\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\04_musicbrainz.lua main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: art not found for 040210201109c.rm live555 debug: DESCRIBE failed with 0: 401 Unauthorized live555 debug: connection timeout live555 error: Failed to connect with rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm main debug: no access_demux module matching "rtsp" could be loaded main debug: TIMER module_need() : 279.000 ms - Total 279.000 ms / 1 intvls (Avg 279.000 ms) main debug: creating access 'rtsp' path='128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' main debug: looking for access module: 1 candidate main debug: net: connecting to 128.249.159.41 port 554 main debug: connection succeeded (socket = 1504) main debug: looking for meta fetcher module: 1 candidate lua debug: Trying Lua scripts in C:\Users\Jason\AppData\Roaming\vlc\lua\meta\fetcher lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\fetcher\tvrage.lua main debug: using meta fetcher module "lua" main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: removing module "lua" main debug: searching art for rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm main debug: looking for art finder module: 2 candidates lua debug: Trying Lua scripts in C:\Users\Jason\AppData\Roaming\vlc\lua\meta\art lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\01_googleimage.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\02_frenchtv.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\03_lastfm.lua lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\meta\art\04_musicbrainz.lua main debug: no art finder module matching "any" could be loaded main debug: TIMER module_need() : 2.000 ms - Total 2.000 ms / 1 intvls (Avg 2.000 ms) main debug: art not found for rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm access_realrtsp debug: rtsp connected access_realrtsp debug: found a real/helix rtsp server access_realrtsp error: rtsp session can not be established main debug: no access module matching "rtsp" could be loaded main debug: TIMER module_need() : 580.000 ms - Total 580.000 ms / 1 intvls (Avg 580.000 ms) main debug: waitpipe: object killed main error: open of `rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' failed: (null) main debug: thread ended main debug: dead input main debug: thread times: real 0m0.860049s, kernel 0m0.000000s, user 0m0.000000s main debug: changing item without a request (current 1/2) main debug: nothing to play qt4 debug: IM: Deleting the input main debug: TIMER input launching for 'rtsp://128.249.159.41:554/AY1011/Spring/B4IM/040210201109.rm' : 877.000 ms - Total 877.000 ms / 1 intvls (Avg 877.000 ms)
Note: does not ask me for password or username. Putting those in Demuxers -> RTP/RTSP changes nothing.

I think this is a problem in the way that VLC sends/receives the auth to/from live555, and not a problem with live555 itself. If I try the "username:password@" syntax in the address, VLC will then try to connect to a server named "username." Everything works fine in RealPlayer (that is, if I try and play the file, it will ask me for username and password, and if I modify it to have the "username:password@" syntax, it will work without prompting me).

Does anyone have any advice before I submit a bug report?

Note: I have submitted this before here: viewtopic.php?f=2&t=80728

Thank you.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: RTSP will not auth in both 1.1.7 and latest nightly 1.2.

Postby Sébastien Escudier » 15 Feb 2011 08:52

I just tested with a password protected stream, and in 1.2 it displays a dialog box asking for username and password, and it works.
In 1.1.7 it doesn't. I'll have a look at it. But if you give the username/passwork in the url (like rtsp://user:passwd@ip) then it works with both 1.1.7 and 1.2
From the log you show, I would say you entered an incorrect password

Can you try again these cases :
1.1.7 with no password in the url
1.1.7 with the password in the url
1.2 with no password in the url
1.2 with the password in the url

And when it does not work give the logs again.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests