X-Security: obtaining a MJPG by HTTP commands for web pages and home automation

Super Admin
07 May 2026
4 views

In general, any X-Security camera that has the mjpg format in the secondary stream is valid, but sometimes the default access may not be activated.

The direction to use to access the settings is as follows:

http://"ip local camera"/cgi-bin/configManager.cgi?action=setConfig&Telnet.Enable=true


The first step is to activate the mjpg in the secondary flow:

mceclip0.png


Remember that X-Security and Dahua allow multi-access, that is, several connections at the same time.

This is the address to access the stream as long as it is not through Internet Explorer (the bold parts are fixed, the normal color parts must be modified according to the network):

http://"user":"password"@"ip":"web port"/cgi-bin/mjpg/video.cgi?subtype=1

mceclip0.png


Catch/Snapshot:

If you need to do an image capture this would be the sequence, this is useful for web pages, timing this string and receiving an image every x time.

http://<ip>/cgi-bin/snapshot.cgi?

Example: http://172.18.220.100/cgi-bin/snapshot.cgi?


Was this article helpful?

Bu bilgiler sorununuzu çözmeye yardımcı oldu mu?

Still need help?

Uzman ekibimiz size yardımcı olmak için burada.

New Ticket