User Tools

Site Tools


video:mjpeg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
video:mjpeg [2023/02/13 14:52] – external edit 127.0.0.1video:mjpeg [2023/05/14 16:54] (current) – added link information for various cameras that I know James Sentman
Line 9: Line 9:
  
 There are also extensive lists of cameras and all the video links on the internet. Usually a google search for the camera model number and “MJPEG URL” or something similar will turn up a list that can help. There are also extensive lists of cameras and all the video links on the internet. Usually a google search for the camera model number and “MJPEG URL” or something similar will turn up a list that can help.
 +
 +-----
 +====Known MJPEG URLs:====
 +
 +This is a very short list of the cameras that I have that support this and is by no means complete.
 +
 +===Raspberry Pi Camera Software:===
 +
 +The Raspberry Pi Motion and other security camera programs seem to all have an MJPEG output option.
 +
 +===Foscam HD Cameras===
 +
 +For most older Foscam cameras I could not get any URL to work properly and so used the [[video:jpeg|JPEG Refresh plugin]]. See that page for more info.
 +
 +===Foscam SD Cameras===
 +
 +I still have one much older Foscam camera in service. This works just fine with the MJPEG stream using this link:
 +<code>
 +http://???.???.???.???/videostream.cgi?user=admin&pwd=yourpassword
 +</code>
 +
 +Even though the user and password must be embedded in the URL it is still necessary to set the “Send Authentication” checkbox and setup the same credentials there. This information is used for the Foscam Camera API you can select below for camera control. The authentication type for these cameras should be set to “Basic”. 
 +
 +
 +===Amcrest Cameras===
 +
 +Some amcrest cameras, especially the older ones, support an MJPEG stream as well as the RTSP one. In some cases you may wish to use the MJPEG stream as it will startup more quickly from an idle state than the RTSP stream, has less latency, and it uses much less CPU to process. It will also be limited in size and resolution. This might be useful when you are recording at full resolution and frame rate in the camera itself but still wish a low latency smaller or thumbnail size image you can use in the various interfaces in XTension. I have some cameras that this works jst fine in, some that it works for a short time before sending me only a few pixels and becoming useless, and some, like the Smart Home products that will not service it up at all. 
 +
 +For Amcrest cameras that support it the URL is:
 +
 +<code>
 +http://???.???.???.???/cgi-bin/mjpg/video.cgi?channel=0&subtype=1
 +</code>
 +
 +What this seems to do is attempt to connect to the “sub stream” and set it to MJPEG. Even on my cameras on which this does not work it still seems to set it to MJPEG. You may wish to try setting the sub stream ahead of time if the camera refuses to give it to you with only the link.
 +
 +Note that the channel=0&subtype=1 seems to be necessary even if you would normally connect to the camera with the channel being 1. So try this first and if it refuses the connection then try other combinations of 0 and 1. It is not necessary to put the user/password into the URL itself, but it is necessary to set it in the “send authenication” fields below.
 +
 +**For all Amcrest Cameras it is necessary to set the Authentication Type to “Digest”**
video/mjpeg.txt · Last modified: 2023/05/14 16:54 by James Sentman