Page HTML with video stream

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
alpvir
New Cone
New Cone
Posts: 3
Joined: 30 Apr 2020 15:27

Page HTML with video stream

Postby alpvir » 30 Apr 2020 15:46

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.

egosum
New Cone
New Cone
Posts: 5
Joined: 12 Nov 2012 19:32

Re: Page HTML with video stream

Postby egosum » 07 May 2020 16:18

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.

alpvir
New Cone
New Cone
Posts: 3
Joined: 30 Apr 2020 15:27

Re: Page HTML with video stream

Postby alpvir » 07 May 2020 17:53

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 10 guests