[vlc] sout http basic authentication

Patrice Lahaie intvpc at club-internet.fr
Mon Apr 19 00:47:01 CEST 2004


Hi,

congratulations for your job.
I compiled vlc.tar.tgz (0.7.1) and everything is just perfect : 
I can stream ASF from a Linux Server to windows clients.

Now, I would like to add basic authentication on sout to have 
 windows clients giving user/pass to get the stream.

I tried the following command line : 
vlc --intf dummy mms://217.10.192.13/xcam6 --sout '#duplicate{dst=std{access=mmsh{user=foo,pass=bar},mux=asfh,url=172.16.0.1:8000/xcam.asf}}'

But I get :
    ...
    httpd private: httpd started
    httpd private: httpd thread launched
    "segmentation fault".

Server configuration is :
- Linux RedHat 9 updated with required packages,
- Vlc.0.7.1 :  ./configure --disable-mkv --disable-dvd --with-ffmpeg-tree=ffmpef-path  --with-ffmpeg-mp3lame --enable-v4l

I have the same problem with http/ts, on linux/vlc.0.7.0 and Windows/vlc.0.7.0.

I noticed the following messages :

1) http://www.via.ecp.fr/via/ml/vlc-devel/200307/msg00435.html
    for using "--sout-http-user user --sout-http-pwd password"
    ==> I get "unknown option" : normal

and 

2) http://www.via.ecp.fr/via/ml/vlc-devel/200308/msg00074.html
    for using "access=http{user=foo,pass=bar}" instead of previous args.
    ==> I get "segmentation fault".

Maybe I do not use the correct synthax or some package is missing ?

Thanks for any help
Patrice Lahaie







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20040418/1e9ae151/attachment.html>


More information about the vlc mailing list