Page 1 of 1

Link RTSP stream to html webpage via VLC browser plug-in.

Posted: 27 Jul 2013 17:10
by wolas
Hello everyone,

I need very-very simple thing, but unfortunately, I have a "little" problem with.

I would like to link RTSP stream from IP camera into my web page.

I do not need any re-streaming servers or something like that. Because there is just one (me) user who will watch video from IP camera.

The problem is, there is no image on my web page. I see only black screen(640*360) with control panel having play/pause button, volume mixer and full screen button.

I used examples on this page http://wiki.videolan.org/ActiveX/HTML
And made following code, that I putted in my web page between <body> </body>:

Code: Select all

<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="640" height="360" id="vlc" events="True"> <param name="Src" value="rtsp://ipadress:port/stream" /> <param name="ShowDisplay" value="True" /> <param name="AutoLoop" value="False" /> <param name="AutoPlay" value="False" /> </OBJECT>
If I open my url rtsp://ipadress:port/stream via menu “open URL” in VLCPlayer (not via plug-in in browser) everything is OK. I see video stream without any problems.

Just one more thing: the rtsp stream use the basic authentication. So when I open rtsp://ipadress:port/stream in VLCPlayer via “open URL”, the pop-window appears and ask me login and password.
I enter needed credentials and voila I see my image from the camera.

But when I open web browser (IE or FF - I tried with these two) with installed VLC plug-in and go to my web page, as I already said, there is no pop-up windows appears to enter login and password – so I see only black screen(640*360) with control panel having play/pause button, volume mixer and full screen button.

And of course when I press on play/pause button - there is absolutely no reaction.

I tried to do this on two different PC’s with windows7 installed on them, both without antivirus and fire-wall is turned off.

For technical reasons I really need to observing the IP camera only via browser.

So can you help me guys, please. I need your help very-very much (I spent whole day to try find out the solution). What do you think where is can be the problem?

Re: Link RTSP stream to html webpage via VLC browser plug-in

Posted: 27 Jul 2013 17:33
by Rémi Denis-Courmont
The VLC browser plugins do not currently implement any form of user prompt. If a login or password is required, it will just fail.

Re: Link RTSP stream to html webpage via VLC browser plug-in

Posted: 27 Jul 2013 18:04
by wolas
Thank you very much for your fast answer!

You are absolutely right!

Without authentication, it works wonderfully.

So sad. :(

The quicktime solution even worse : it simply do not work with ulr that VLC playback without any problems.

Just last question: Do you know by any chance, is there any plans to add a response to authentication prompt for VLC plug-in browser?

Re: Link RTSP stream to html webpage via VLC browser plug-in

Posted: 27 Jul 2013 18:16
by Rémi Denis-Courmont
No clue, I am not involved with the browser plugins.

Re: Link RTSP stream to html webpage via VLC browser plug-in

Posted: 21 Nov 2014 01:05
by tiamelis
Hello and thanks for your info, AND IT WORKS WITH AUTENTICATION !!!! :D

You need to put the autentication in the RTSP url !!!!! Like This

<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://downloads.videolan.org/pub/video ... /axvlc.cab"
id="vlc" events="True">
<param name="Src" value="rtsp://user:password@xx.xx.xx.xx:8300/Streaming/Channels/2" /> (hikvision IP cam)
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="True" />
</OBJECT>

Re: Link RTSP stream to html webpage via VLC browser plug-in.

Posted: 18 Apr 2017 10:00
by tonj
hi does your streaming video work on smartphones?