Temperature Measurement Solution
Mutiple people Body Temperature Screening System Single people Body Temperature Screening SystemThis article will introduce the use of a CGI command to get the MJPEG stream of Foscam camera. CGI is a standardized set of commands used by both web browsers and internet servers to initiate different operations across computer networks and the internet. CGI is the acronym for Common Gateway Interface. Additional information on this may be found at https://en.wikipedia.org/wiki/Common_Gateway_Interface
CGI Commands / Various Foscam Models
For HD cameras(VD1/DBW5,F41/FLC,S41/SPC,SD2/HT2,SD2X,D4Z/VZ4,C2M V5/C2M V6,X3/X3E/R3/R5/X5/X4,G4C,SD4, V5EP, V8EP, T5EP, T8EP, V4EC, V5P,C5M,SD4H,SD8P,SD8EP,
R2C/R2M,R4S/R4M,G2EP/QJ2/FI9912EP,G2/FI9902P/FI9912P,G4/QJ4/G4EP,D2EP,FI9826W,FI9826P,
FI9821P,FI9831W,FI9831P,FI9821W V2,FI9818W V2,FI9805W,FI9805E,FI9804W,FI9805P,FI9828P V2,FI9828W,FI9828P,FI9821W V2.1,FI9821P V2, FI9821EP,
FI9826P V2,FI9831P V2,FosBabyP1,FosBaby,FI9803W,FI9803P,FI9803EP, FI9853EP,FI9851P):
Step1: Set the MJPEG stream format:
http://ip address:port/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=1&usr=xxx&pwd=xxx
Step2: Get the MJPEG stream:
http://ip address:port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=xxx&pwd=xxx
For SD cameras(FI8910W,FI8910E,FI8918W,FI8919W,FI8916W,FI8908W,FI8905W,FI8904W,FI8905E,FI8909W,FI8907W,FI8906W):
http://ip address:port number/videostream.cgi?user=xxx&pwd=xxx
Example:
Camera model: FI9831P
IP address: 192.168.15.62:88
Http port: 88
Username: admin1
Password: admin1
Run the command below via a web browser first, type it in the address bar and hit enter:
http:// 192.168.15.62:88/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=1&usr=admin1&pwd=admin1
Open VLC player, and chooseOpen Network Stream
Enter the command URL here to get the stream to view the MJPEG video stream in VLC Media Player
NOTE: The WAN IP Address can also be used for the URL, if DDNS is used instead of the WAN IP address the media player being used must support parsing the domain name otherwise the player will not display the video feed.
Was this article helpful?