Page 1 of 1

Page HTML with video stream

Posted: 30 Apr 2020 15:46
by alpvir
I have a wifi webcam whose live video can be seen, for example, with VLC and a windows PC, at an address like this
rtsp: //admin.123456@192.168.178.64: 554
The same video can be seen, always with the VLC client and on a Raspberry PI, at the same address.
How could I view this video stream in an HTML or PHP page. This page resides on a local site (not on the internet) registered on the Raspberry ?
I found a snippet of code on the net, but it doesn't work

Code: Select all

<div> <OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="640" height="480" id="vlc" events="True"> <param name="Src" value="rtsp://admin@192.168.178.64:554/trackID=1" /> <param name="ShowDisplay" value="false" /> <param name="AutoLoop" value="true" /> <param name="AutoPlay" value="true" /> <embed type="application/x-vlc-plugin" name="video1" autoplay="yes" loop="yes" width="640" height="480" target="rtsp://192.168.178.64/trackID=1"></embed> </OBJECT> </div>
Thanks for the attention.
P.S. : I hope I have posted to the right forum.

Re: Page HTML with video stream

Posted: 07 May 2020 16:18
by egosum
Vlc plugin doesn't work in modern browsers. f.e. Firefox ESR 52.9 is the last version can work with it. Internet Explorer is the one can works now but IE is "obsolete" comparing with Edge.

Re: Page HTML with video stream

Posted: 07 May 2020 17:53
by alpvir
Thanks for the info
What solution could I find to have the same result?
That is, to view a video stream in full screen at rtsp: //admin@192.168.178.64: 554
A program ?
Would it be difficult to make it happen? I have enough knowledge in the field of programming but I know little about multimedia and least of all program development in the Raspberry environment.
It should be a "Hello Word" type program that displays that video. Nothing else.