GWAK
1
[p5 WEB] Is there a library capable of CCTV Mjpeg?
Hello. Nice to meet you.
I want to express real-time streaming video of CCTV on ‘p5 WEB’.
In ‘JAVA Mode’
- Library-IPCature: Mjpeg executable
- url exam : http://
[[id]] : [[pw]] @ [[camera ip]] :80/ISAPI/Streaming/channels/101/httppreview
- Library-VLCJVideo: RTSP Executable (H.265/264)
It can be driven through the library in 1) and 2). (In JAVA Mode)
By any chance, is there a library that enables RTSP of CCTV in ‘p5 WEB’? If any, please share.
- Confirmed that it does not work in the ‘p5.vida’ library.
GWAK
2
[UPDATE:230329]
- I was able to run it through the VLC protocol.
<!DOCTYPE html>
<html>
<OBJECT classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="http://download.videolan.org/pub/videolan/vlc/2.2.4/win32/vlc-2.2.4-win32.exe"
width="100%" height="100%" id="vlc" events="True">
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" name="vlc" />
<param name="Src" value="http://
[[id]] : [[pw]] @ [[camera ip]] :80/ISAPI/Streaming/channels/101/httppreview" />
<param name="autostart" value="true" />
<param name="ShowDisplay" value="false" />
<param name="AutoLoop" value="false" />
<param name="AutoPlay" value="true" />
</OBJECT>
</html>
- However, it does not work in HTML5. It works only in the old Internet IE.
1 Like
GWAK
3
[UPDATE:230330]
link : [Tutorial] Easiest Way to Play RTSP Streams on HTML5 Webpage Without Plugin - VLC RTSP HTML5 Transcoding
The way to create is to use the ‘VLC STREAM’ function.
-
STREAM CCTV’s ‘RTSP’.
-
Configure as HTTP server.
http://127.0.0.1:8080/stream
-
Make it in ogg format.
-
Start the stream.
-
Create HTML.
<video id="video" src="http://127.0.0.1:8080/stream" type="video/ogg; codecs=theora" autoplay="autoplay"/>
-
It becomes a stream as shown in the picture.