This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

RTSP to MJPEG stream
#1
Hello,

A while back I asked if I can display RTSP stream on visualization. Since then, I managed to actively convert camera stream from RTSP to MJPEG through VLC media player, sending it to 192.168.1.100:8080. When I create html document with script to play it, I can see the live stream in Google Chrome. Same thing if I only browse to the IP address and port it starts downloading the footage (never ending download since it's a stream). Now that it should be MJPEG since Google Chrome can open it, I need to import it to visualization. I tried simply creating camera button and to URL I added:
Code:
http://192.168.1.100:8080/
It doesn't work though. Am I doing the final step wrong?
Reply
#2
Open dev tools in your browser via F12 and check network tab when you open camera in visualization. Post request details here.
Reply
#3
I have checked the requests as you said, as you can see at the very bottom of first screenshot (requests.png) with red text it has failed, it says 192.168.1.100 didn't respond. As I wrote earlier, when I type the IPTongueort into browser, it immediately starts downloading the footage. Second screenshot (html.png) is HTML script that shows the stream opened in Google Chrome.


Attached Files Image(s)
       
Reply
#4
Visualization camera element uses img tag, but your example uses video tag. As a workaround you can use iframe with HTML uploaded to LM FTP instead of camera element.
Reply
#5
Works flawlessly. Thank you once again for help!
Reply


Forum Jump: