Logic Machine Forum
MJPEG No working - 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: MJPEG No working (/showthread.php?tid=4673)



MJPEG No working - KRIS DOCX - 23.03.2023

Hi all, 

The command   http://admin:Cameraxxxxxx@182.168.120:80/cgi-bin/mjpg/video.cgi?subtype=1  entered in the browser does visualize the MJPEG stream.

The same command in the honelynk camera visualisation does not work.  The frame size is correct.

Any tips here?

Thanks


RE: MJPEG No working - Erwin van der Zwart - 24.03.2023

You cannot use basic authentication in the URL in modern browsers as it’s blocked.

The reason that it works directly in the browser is that you probably have entered the credentials in that session or stored it so it doesn’t have to use the credentials passed in the URL.


RE: MJPEG No working - KRIS DOCX - 24.03.2023

(24.03.2023, 06:21)Erwin van der Zwart Wrote:
You cannot use basic authentication in the URL in modern browsers as it’s blocked.
The reason that it works directly in the browser is that you probably have entered the credentials in that session or stored it so it doesn’t have to use the credentials passed in the URL.

That makes sence!

Not sure how an IP camera can be integrated then in touch or pc visualisation.  The manual describes it is done via this url authentification   (09/22 – Firmware Q 2.8.0 LSS 100100 page 98).  what is an alternative way to integrate a camera in touch or pc visualisation?


RE: MJPEG No working - Erwin van der Zwart - 25.03.2023

Only way is disable credentials or use a camera that allows passing credentials as qeury parameters like
https://192.168.0.100/stream.mjpeg?username=myusername&password=mypassword but those cams are still rare on the market.


RE: MJPEG No working - Hoang Hien - 12.03.2024

(25.03.2023, 10:10)Erwin van der Zwart Wrote: Only way is disable credentials or use a camera that allows passing credentials as qeury parameters like
https://192.168.0.100/stream.mjpeg?username=myusername&password=mypassword but those cams are still rare on the market.

Please allow me to ask, can I find a live stream like this for Hikvision cameras, where can I find it?


RE: MJPEG No working - Daniel - 12.03.2024

Each camera has a unique way of doing it, contact the manufacture.


RE: MJPEG No working - AlexLV - 13.03.2024

Hi,

my old enough Hik camera and Mozilla (latest version 123.0.1) still working. Chrome block such way.

I still use this:

http://admin:pass@IP/Streaming/channels/102/Preview. Not remember camera config, I think this is second stream. I just put in at visu. Of course not a super secure way..

May be helps,

BR,

Alex


RE: MJPEG No working - victor.back - 15.09.2024

I had this working when using the camera settings in visualization until now lately, with http://xxxxxxx:xxxxxxx@192.168.1.50/cgi-bin/mjpg/video.cgi?channel=1&subtype=1
This didnt work in iframe but when using the camera setting, but now the stream are´nt working there eihter.

So what is the way of stream a video from the IP cameras in the visualization now?


RE: MJPEG No working - Erwin van der Zwart - 16.09.2024

Basic authentication in the URL (user:pass@)is blocked by all modern browsers so this will never work, only thing you can do is use a different camera with query parameters for credentials or disable password..


RE: MJPEG No working - victor.back - 30.09.2024

(16.09.2024, 05:57)Erwin van der Zwart Wrote: Basic authentication in the URL (user:pass@)is blocked by all modern browsers so this will never work, only thing you can do is use a different camera with query parameters for credentials or disable password..

Hi Erwin. 

Thanks for reply. How does query parameters work in visualization Camera element? 
We run this camera stream with basic authentication in URL (user:pass@) with Camera element in visu until for a couple of months or so. Has it been any new updates lately for this?


RE: MJPEG No working - Daniel - 30.09.2024

This is an example foe a hikvision camera but each manufacture does it his own way or not at all.
http://IP/cgi-bin/snapshot.cgi?chn=[CHANNEL]&u=[USERNAME]&p=[PASSWORD]