Posts: 112
Threads: 39
Joined: Jul 2017
Reputation:
1
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?
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
mjpeg
------------------------------
Ctrl+F5
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
It depend of the camera manufacture, there is no universal solution
First try to open video in browser.
------------------------------
Ctrl+F5
Posts: 112
Threads: 39
Joined: Jul 2017
Reputation:
1
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?
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
(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.
------------------------------
Ctrl+F5
Posts: 112
Threads: 39
Joined: Jul 2017
Reputation:
1
So is there a way to play the camera stream inside visualization of either chrome or safari browser?
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
(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.
------------------------------
Ctrl+F5
Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
what kind of camera model do you have?
Done is better than perfect
Posts: 112
Threads: 39
Joined: Jul 2017
Reputation:
1
I have some kind of Dahua IP camera
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Try something like that. Also check if there is new firmware for your cam.
http://IP/axis-cgi/mjpg/video.cgi
------------------------------
Ctrl+F5
Posts: 940
Threads: 161
Joined: Jul 2015
Reputation:
33
Done is better than perfect
Posts: 112
Threads: 39
Joined: Jul 2017
Reputation:
1
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?
Posts: 7758
Threads: 42
Joined: Jun 2015
Reputation:
447
It must be mjpeg over http. Browsers do not understand rtsp without plugins.
Posts: 112
Threads: 39
Joined: Jul 2017
Reputation:
1
Thank you very much, got it working.
Posts: 106
Threads: 40
Joined: Sep 2017
Reputation:
0
(17.07.2018, 11:38)Jayce Wrote: Thank you very much, got it working.
What is the link for the mjpeg video ?
KNX Advanced Partner + Tutor
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Here is nice webpage which provides lots of urls for different cameras
https://www.ispyconnect.com/sources.aspx
------------------------------
Ctrl+F5