INPUT HTTP Authentication -- Is it possible with VLC?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
exxx
New Cone
New Cone
Posts: 9
Joined: 15 Jan 2007 07:16

INPUT HTTP Authentication -- Is it possible with VLC?

Postby exxx » 15 Jan 2007 07:43

If I want to have my input be:

http://username:password@74.25.63.11:8020/hello.nsv

This is easily accessible by pasting that URL in my web browser.

However I am getting errors within VLC.

What can I do? This is my .vlm that I load:

Code: Select all

new channel1 broadcast enabled setup channel1 input http://username:password@74.25.63.11:8020/hello.nsv setup channel1 output #standard{mux=ts,access=udp,dst=74.102.255.10,sap,name="Channel 1"}


and this is the output I get when I load the .vlm

Code: Select all

main debug: 1 addresses, 1 sessions main debug: using sout stream module "stream_out_standard" main debug: `http://http://username:password@74.25.63.11:8020/hello.nsv' gives access `http' demux `' path `http://username:password@74.25.63.11:8020/hello.nsv' main debug: creating demux: access='http' demux='' path='http://username:password@74.25.63.11:8020/hello.nsv' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "http" main debug: creating access 'http' path='http://username:password@74.25.63.11:8020/hello.nsv' main debug: looking for access2 module: 7 candidates access_http debug: http: server='74.25.63.11' port=8020 file='/hello.nsv access_http debug: user='username', pwd='password' main debug: net: connecting to 74.25.63.11 port 8020 main debug: connection in progress access_http debug: protocol 'HTTP' answer code 401 access_http debug: authentication failed main debug: net: connecting to 74.25.63.11 port 8020 main debug: connection in progress access_mms error: error: HTTP/1.0 401 Authentication Required vcd debug: trying .cue file: username:password.cue vcd debug: could not find .cue file access_file warning: http://username:password@74.25.63.11:8020/hello.nsv: No such file or directory cdda debug: trying .cue file: username:password@74.25.63.11:8020/hello.cue cdda debug: could not find .cue file cdda warning: could not open http://username:password@74.25.63.11:8020/hello.nsv main warning: no access2 module matching "http" could be loaded main error: no suitable access module for `http://http://username:password@74.25.63.11:8020/hello.nsv' main debug: destroying chain... (name=standard) main debug: unregistering announce main debug: removing SAP announce 00B902E8 main debug: 0 announcements remaining main debug: removing module "mux_ts" access_output_udp debug: packet has been sent too late (50536188531) main debug: thread times: real 0m1.390625s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 4480 joined (udp.c:316) access_output_udp debug: udp access output closed main debug: removing module "access_output_udp" main debug: removing module "stream_out_standard" main debug: destroying chain done main debug: thread times: real 0m1.546875s, kernel 0m0.015625s, user 0m0.000000s main debug: thread 4384 joined (input/input.c:412)

exxx
New Cone
New Cone
Posts: 9
Joined: 15 Jan 2007 07:16

Postby exxx » 15 Jan 2007 17:57

So does anybody know this? It's placed me in quite a bind.

Thanks in advance.

exxx
New Cone
New Cone
Posts: 9
Joined: 15 Jan 2007 07:16

Postby exxx » 15 Jan 2007 22:05

Update: I noticed that it works when I put the link inside an .m3u and open the .m3u with VLC.

What does this mean? It's quite confusing...

exxx
New Cone
New Cone
Posts: 9
Joined: 15 Jan 2007 07:16

Postby exxx » 15 Jan 2007 22:18

If I try to use the .m3u as the source (local) VLC crashes with its last lines being this:

Code: Select all

access_file debug: opening file `m3u.m3u' main debug: using access2 module "access_file" main debug: pre-buffering... main debug: received first data for our buffer main debug: creating demux: access='' demux='' path='m3u.m3u' main debug: looking for demux2 module: 45 candidates playlist debug: found valid M3U playlist file main debug: using demux2 module "playlist" main debug: looking for a subtitle file in E:\Program Files\VideoLAN\VLC\ main debug: starting in sync mode main debug: `m3u.m3u' successfully opened playlist debug: unable to find item in playlist playlist debug: not starting playlist playback
Please advise. THanks :)

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 16 Jan 2007 01:08

--http-proxy <string> HTTP proxy
HTTP proxy to be used. It must be of the form http://[user[:pass]@] myproxy.mydomain:myport/ ; if empty, the http_proxy environment variable will be tried.

exxx
New Cone
New Cone
Posts: 9
Joined: 15 Jan 2007 07:16

Postby exxx » 16 Jan 2007 09:04

Thanks I thought that was for proxies explicitly :)


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 60 guests