Accessing password protected IP camera via RTSP

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
abhishekdvirus
New Cone
New Cone
Posts: 1
Joined: 23 Nov 2020 17:56

Accessing password protected IP camera via RTSP

Postby abhishekdvirus » 23 Nov 2020 18:01

Hi folks,

I am trying to access my camera but the password has an @ symbol.

Stream link - rtsp://username:p@ssword@192.168.1.33:554/stream1

Connection failed:
VLC could not connect to "ssword@192.168.1.33:554".
Your input can't be opened:
VLC is unable to open the MRL 'rtsp://username:p@ssword@192.168.1.33:554/stream1'. Check the log for details.

Please help.

aik
Blank Cone
Blank Cone
Posts: 14
Joined: 18 Dec 2008 19:15

Re: Accessing password protected IP camera via RTSP

Postby aik » 27 May 2021 08:47

same issue, annoying :(

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Accessing password protected IP camera via RTSP

Postby InTheWings » 27 May 2021 10:16

%40
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

DuluthSecurityNeeds
New Cone
New Cone
Posts: 1
Joined: 06 May 2023 17:22

Re: Accessing password protected IP camera via RTSP

Postby DuluthSecurityNeeds » 06 May 2023 17:25

I am surprised that this is still an unanswered question three years later...

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Accessing password protected IP camera via RTSP

Postby Rémi Denis-Courmont » 06 May 2023 19:15

Except for the fact that there was an answer 2 years ago, you mean? Did you actually try to escape the password as InTheWings pointed out? If that doesn't work, why do you expect an answer if you won't provide more details?

And it shouldn't be surprising that user errors for which the solution is literally part of the relevant standards go unanswered in a support forum run entirely by volunteers.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

sedak
New Cone
New Cone
Posts: 1
Joined: 12 May 2023 22:58

Re: Accessing password protected IP camera via RTSP

Postby sedak » 12 May 2023 23:20

I haven't checked the last version, but it still seems unsupported on VLC. I just checked ubuntu 22.04 4version 3.0.16.

VLC Android seems to have an input for RTSP user & password, but it didn't work for me.

The syntax works perfectly with mplayer.
They do a DESCRIBE, which reply a WWW-Authenticate header with a nonce.
The player then does a SETUP with an Authorization header with nonce and response then it's unlocked.

Not sure if it's the official standard. Tested on a HikVision camera.

I guess the next step is to check the latest version for this support and open an issue on VLC.

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Accessing password protected IP camera via RTSP

Postby Rémi Denis-Courmont » 13 May 2023 09:23

Ubuntu has disabled RTSP in VLC, password or not.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 13 guests