Open password protected http stream with VLC

7

1

I want to stream a video / media file that is hosted by a http server, but the webserver protects the file with HTTP authentication. The GUI asks for for the credentials on every opening of the stream.

This is quite annoying. Can the password be saved somehow?

kluka

Posted 2015-09-01T20:16:25.120

Reputation: 1 924

related http://superuser.com/questions/337020/play-video-files-in-vlc-media-player-from-behind-http-basic-authentication-urls

– Ciro Santilli 新疆改造中心法轮功六四事件 – 2015-12-03T12:02:48.063

Answers

6

Not really saved, but you can enter the credentials in the URL itself:

When your media file URL is http://server.com/my_media_file.mkv, then simply add http://<user>:<password>@server.com/my_media_file.mkv.

The authentication tokens must not contain whitespace - VLC cannot process that.

kluka

Posted 2015-09-01T20:16:25.120

Reputation: 1 924

Arghh, this won't work for SFTP :-( http://serverfault.com/questions/241588/how-to-automate-ssh-login-with-password

– Ciro Santilli 新疆改造中心法轮功六四事件 – 2015-12-03T12:02:14.657