Foscam IP Cameras on web pages

deercam

n3wb
Joined
Mar 10, 2014
Messages
2
Reaction score
0
We are currently using our Foscam IP Cams on our web pages see http://Deer.Camera and help us with our camera images. Can we stream faster live images to our site? Faster
than the 1 pic per second we use now with our html's?
 

dalepa

Moderator
Joined
Mar 9, 2014
Messages
843
Reaction score
244
Location
Houston, Texas
Not sure I understand the question, but after not being happy with the quality of the Foscam's, I finally stepped up to a Hikvision DS-2CD2632F-I. I still have some foscsam 8905s that are terrible and often drop down to 1fps...


Here an example of my Hikvision DS-2CD2632F-I - Bullet 2.8mm at 30 FPS... (set at 1080P for best quality)

[video=youtu;2eY0qtVSuXw]http://youtu.be/2eY0qtVSuXw[/video]


We are currently using our Foscam IP Cams on our web pages see http://Deer.Camera and help us with our camera images. Can we stream faster live images to our site? Faster
than the 1 pic per second we use now with our html's?
 

Mike

Staff member
Joined
Mar 9, 2014
Messages
2,981
Reaction score
2,725
Location
New York
We are currently using our Foscam IP Cams on our web pages see http://Deer.Camera and help us with our camera images. Can we stream faster live images to our site? Faster
than the 1 pic per second we use now with our html's?
Cool website @deercam, looks like you have a lot of cameras set up! What model Foscams are they? Have you tried seeing if there is a video stream rather than the snapshot / refresh method?

Here are a full URL's to try:

http://IPADDRESS:PORT/videostream.asf
http://IPADDRESS:PORT/videostream.cgi?user=[USERNAME]&pwd=[PASSWORD]
http://IPADDRESS:PORT/videostream.asf?user=[USERNAME]&pwd=[PASSWORD]&resolution=64&rate=0

Let us know what model cameras :D
 
Last edited:

dalepa

Moderator
Joined
Mar 9, 2014
Messages
843
Reaction score
244
Location
Houston, Texas
I have the following Cams: [HikVision DS-2CD2632F-I] [HikVision DS-2CD2032-I] [Foscam 8916w] [Foscam 8910w] [Foscam 8918w] [2-Foscam 8905w] [Foscam 8906w] [ TrendNet TV-IP312]

I've had endless issues with the Foscams 8906, 8905 and 8904. But even when they are semi-working, the IQ is terrible when compared to Hik 3MP cams...

BI detects Foscam FI90XX/w compatible. Haven't tried any other method...

 

deercam

n3wb
Joined
Mar 10, 2014
Messages
2
Reaction score
0
Cool website @deercam, looks like you have a lot of cameras set up! What model Foscams are they? Have you tried seeing if there is a video stream rather than the snapshot / refresh method?

Here are a full URL's to try:

http://IPADDRESS:PORT/videostream.asf
http://IPADDRESS:PORT/videostream.cgi?user=[USERNAME]&pwd=[PASSWORD]
http://IPADDRESS:PORT/videostream.asf?user=[USERNAME]&pwd=[PASSWORD]&resolution=64&rate=0

Let us know what model cameras :D
We have a Foscam Out door F18828W and a newer F19804W. We are happy with them. Is the above html all we need to put on website so we can stream cameras? We will add them tonight if that all it takes. Thanks www.DeerCam.net
 

Mike

Staff member
Joined
Mar 9, 2014
Messages
2,981
Reaction score
2,725
Location
New York
We have a Foscam Out door F18828W and a newer F19804W. We are happy with them. Is the above html all we need to put on website so we can stream cameras? We will add them tonight if that all it takes. Thanks
Try the following code with your FI9804, let me know if this works. Replace IPADDRESS:pORT and USERNAME and PASSWORD with the correct information

Code:
[FONT=Verdana]<script language="JavaScript" type="text/javascript">[/FONT]
[FONT=Verdana]function reload() {setTimeout('reloadImg("refresh")',1000)}; // 1000 = 1 second. I'd suggest a reasonable minumum of 350[/FONT]
[FONT=Verdana]function reloadImg(id)[/FONT]
[FONT=Verdana]{[/FONT]
[FONT=Verdana]var obj = document.getElementById(id);[/FONT]
[FONT=Verdana]var rand = Math.random();[/FONT]
[FONT=Verdana]obj.src = "http://[/FONT][COLOR=#ff0000][FONT=Verdana]IPADDRESS:PORT[/FONT][/COLOR][FONT=Verdana]/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=[[/FONT][COLOR=#ff0000][FONT=Verdana]USERNAME[/FONT][/COLOR][FONT=Verdana]]&pwd=[[/FONT][COLOR=#ff0000][FONT=Verdana]PASSWORD[/FONT][/COLOR][FONT=Verdana]]&"+rand;[/FONT]
[FONT=Verdana]}[/FONT]
[FONT=Verdana]</script>[/FONT]
[FONT=Verdana]<img src="http://[/FONT][COLOR=#ff0000][FONT=Verdana]IPADDRESS:PORT[/FONT][/COLOR][FONT=Verdana]/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=[[/FONT][COLOR=#ff0000][FONT=Verdana]USERNAME[/FONT][/COLOR][FONT=Verdana]]&pwd=[[/FONT][COLOR=#ff0000][FONT=Verdana]PASSWORD[/FONT][/COLOR][FONT=Verdana]]&" name="refresh" id="refresh" onload='reload()'>[/FONT]
The FI9804 has a video feed URL looks to be rtsp://username:pwd@IP:port/videoMain

I'm having trouble finding the first one you listed, did you mean FI9828W? If so, the video feed for the FI9828W is looks to also be rtsp://username:pwd@IP:port/videoMain

Let me know how it goes.
 

networkcameracritic

Getting the hang of it
Joined
Mar 10, 2014
Messages
719
Reaction score
203
It's not going to work well because it will likely require the user to install the activex control and would likely not work with other browsers. What you need to do is convert the RTSP stream to RTMP and there's several ways to do this, I use this method I wrote an article about - http://www.networkcameracritic.com/?p=1290

Also, you can use a streaming service like ustream. They have a free version with ads & an ad-free version for a fee.
 
Top