Logic Machine Forum
Visualization camera - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Visualization camera (/showthread.php?tid=1490)



Visualization camera - Jayce - 16.07.2018

Hello,

I'm trying to make visualization page with camera, but I can't seem to find out what form of URL to use. Could you help me? I think it should be rtsp onvif.

IP: 192.168.1.110
username, password


Also, are there any other parameters?


RE: Visualization camera - Daniel - 16.07.2018

mjpeg


RE: Visualization camera - Jayce - 16.07.2018

(16.07.2018, 12:50)Daniel. Wrote: mjpeg

What syntax of URL should I use?

I tried using http://IPADDRESS/videostream.asf?resolution=[WIDTH]*[HEIGHT]&user=[USERNAME]&pwd=[PASSWORD] which doesn't work.


RE: Visualization camera - Daniel - 16.07.2018

It depend of the camera manufacture, there is no universal solution Sad
First try to open video in browser.


RE: Visualization camera - Jayce - 17.07.2018

So it looks like I have found the right syntax for my camera, it is 
rtsp://username:password@IPADDRESS:554/cam/realmonitor?channel=1&subtype=0

Unfortunately I still can't make it work through visualization, only through VLC. Is there a way to make browser play RTSP stream inside of it, not through some 3rd party player like VXG or VLC player?


RE: Visualization camera - Daniel - 17.07.2018

(17.07.2018, 07:57)Jayce Wrote: So it looks like I have found the right syntax for my camera, it is 
rtsp://username:password@IPADDRESS:554/cam/realmonitor?channel=1&subtype=0

Unfortunately I still can't make it work through visualization, only through VLC. Is there a way to make browser play RTSP stream inside of it, not through some 3rd party player like VXG or VLC player?
Clean browser can play only mjpeg, other formats need a plugin.


RE: Visualization camera - Jayce - 17.07.2018

So is there a way to play the camera stream inside visualization of either chrome or safari browser?


RE: Visualization camera - Daniel - 17.07.2018

(17.07.2018, 08:25)Jayce Wrote: So is there a way to play the camera stream inside visualization of either chrome or safari browser?

To be honest you can only do it when camera support mjpeg.  Not every browser support or allow plugings to be installed. There are some options if your camera support other formats. There are devices which can convert video formats to the one you need.  We were playing with android app TinyCam https://tinycammonitor.com/ installed on a android TV was nicely converting  it to mjpeg video. The only issue was not the most stable hardware.
I saw recently some other option with cloud base conversion but had no time to try it out yet.  Something like this should also work https://www.ipcamlive.com/ free for few cameras.


RE: Visualization camera - buuuudzik - 17.07.2018

what kind of camera model do you have?


RE: Visualization camera - Jayce - 17.07.2018

I have some kind of Dahua IP camera


RE: Visualization camera - Daniel - 17.07.2018

Try something like that. Also check if there is new firmware for your cam.
http://IP/axis-cgi/mjpg/video.cgi


RE: Visualization camera - buuuudzik - 17.07.2018

You can also check this whole post:
https://forum.logicmachine.net/showthread.php?tid=1061&highlight=camera


RE: Visualization camera - Jayce - 17.07.2018

Okay I have found in my camera settings option to set encoding to mjpeg which I did. Then I tried the link which I think should have worked but still doesn't. If the encoding is mjpeg do I type in http url or rtsp one?


RE: Visualization camera - admin - 17.07.2018

It must be mjpeg over http. Browsers do not understand rtsp without plugins.


RE: Visualization camera - Jayce - 17.07.2018

Thank you very much, got it working.


RE: Visualization camera - toujour - 12.02.2020

(17.07.2018, 11:38)Jayce Wrote: Thank you very much, got it working.
What is the link for the mjpeg video ?


RE: Visualization camera - Daniel - 13.02.2020

Here is nice webpage which provides lots of urls for different cameras
https://www.ispyconnect.com/sources.aspx