Important Message from Foscam Digital Technologies Regarding US Sales & Service

Foscam.US (aka Foscam Digital Technologies and now Amcrest Technologies) is an independent United States based distributor of "Foscam" branded products. We have been offering telephone support, US local warranty and building the Foscam brand in the US for the past 7 years. Based on our experiences with Foscam and feedback from end users we have launched our own new and improved line of wireless IP cameras and security systems under the Amcrest brand. Working in partnership with the second largest security camera manufacturer in the world, Amcrest was founded with a deep commitment to end-user privacy and security, highly reliable software and hardware as well a seamless and intuitive user experience. For more information, please visit www.Amcrest.com

If you are having trouble with your Foscam cameras, we sincerely apologize for this inconvenience and would love to help. For technical support, response to inquiries and for obtaining replacements for any Foscam IP Cameras or NVR products, please reach out to tech@foscam.com or call 1-844-344-1113.

If you are interested in exchanging your Foscam camera for an Amcrest camera, we can offer you a massive loyalty discount, even if you are out of warranty. Please send an email to support@amcrest.com, sales@amcrest.com or call 1-888-212-7538

If you are subscribed to Foscam Cloud (www.foscamcloud.com), please contact cloud@foscam.us for support.

If you currently use the manufacturer's cloud service (www.myfoscam.com or linked in any way to www.foscam.com), you will need to contact them directly for support, at www.myfoscam.com.


FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Users can ask and answer questions regarding Foscam IP Cameras

Moderators: mycam, FOSCAM

FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Postby asiawatcher » Mon Jul 06, 2015 9:18 am

I got the above camera

System Firmware Version 1.9.1.12
Application Firmware Version 2.54.1.37
Plug-In Version 3.0.0.9

I have tried those but it didnt work

how-to-fetch-snapshots-and-mjpeg-stream-on-hd-cameras-t4328.html

whats the http stream url for the above camera to get mjpeg or hd stream from browser/application ?

cheers
asiawatcher
 
Posts: 3
Joined: Mon Jul 06, 2015 9:13 am

Re: FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Postby TheUberOverLord » Mon Jul 06, 2015 3:04 pm

asiawatcher wrote:I got the above camera

System Firmware Version 1.9.1.12
Application Firmware Version 2.54.1.37
Plug-In Version 3.0.0.9

I have tried those but it didnt work

how-to-fetch-snapshots-and-mjpeg-stream-on-hd-cameras-t4328.html

whats the http stream url for the above camera to get mjpeg or hd stream from browser/application ?

cheers

Did you set the stream as the above link says to do? ("See quoted text from above link, below")

FOSCAM wrote:Hi everyone,

In order to assist with some customer requests of a HTTP URL stream for fetching JPG snapshots and MJPEG streams on HD cameras, the Foscam R&D team was able to add these features in the latest firmware!

First, please upgrade your camera with the latest firmware to use these two features.

Please see this forum thread for more information on how to download and install the latest firmware.

Fetching JPG snapshots by URL parameters

The URL example is as follows:

http://ip address:port/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=admin&pwd=xxx

Use the above to attain a snapshot image, this also supports fetching the highest resolution stream image.

Fetching MJPEG stream by URL

There are two steps needed to fetch the MJPEG URL stream.

Step 1: Set one of the streams to MJPEG.

As the current chipset on HD camerasonly supports two H.264 streams (Mainstream and Substream), we need to set one of the streams to an MJPEG stream, as the chipset does not support three streams. After we set one of the streams to an MJPEG stream, we can fetch the videostream using an HTTP URL.

Here is an example URL on how to set one stream to an MJPEG stream:

http://ip address:port/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=1&usr=admin&pwd=

Here “1” sets an MJPEG stream, if we don't want to set the MJPEG stream, we would set the number to “0”, “0” sets an H.264 stream.

When inputting this URL and pushing "Enter" in your browser, it will return the following result:

<CGI_Result>
<result>0</result>
</CGI_Result>


Step 2: After setting the MJPEG stream, it can be fetched using an HTTP URL.

See the example HTTP URL you would use to fetch the MJPEG videostream. Note that this differs from older MJPEG cameras like the FI8910W, but the videostream result is the same.

http://ip address:port/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=admin&pwd=xxx

Simply replace the IP address, port, username, and password into the above URL to access your camera's MJPEG stream.

You can refer to the CGI document on setSubStreamFormat and GetMJStream if you wish.

The new CGI documentation can be found here: cgi-sdk-for-hd-camera-t6045.html

Regards,

The Foscam Technical Support Team

When the link fails, in a browser window, do you get any error?

Here are the RTSP URL formats for the H.264 based Foscam IP Camera models:

how-to-use-rtsp-and-https-for-hd-cameras-t4926.html

Don
TheUberOverLord
 
Posts: 13110
Joined: Fri Jun 22, 2012 11:52 pm

Re: FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Postby asiawatcher » Mon Jul 06, 2015 4:28 pm

yup did all that it can login to web interface normally but i dont get stream-only to use with my application

when i try to set mjpeg stream i get

<CGI_Result>
<result>-1</result>
</CGI_Result>

when i try to access it i get


No data received

ERR_EMPTY_RESPONSE
asiawatcher
 
Posts: 3
Joined: Mon Jul 06, 2015 9:13 am

Re: FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Postby asiawatcher » Mon Jul 06, 2015 4:41 pm

also where can i get the cgi sdk ? the link is dead
asiawatcher
 
Posts: 3
Joined: Mon Jul 06, 2015 9:13 am

Re: FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Postby TheUberOverLord » Mon Jul 06, 2015 5:23 pm

asiawatcher wrote:yup did all that it can login to web interface normally but i dont get stream-only to use with my application

when i try to set mjpeg stream i get

<CGI_Result>
<result>-1</result>
</CGI_Result>

when i try to access it i get


No data received

ERR_EMPTY_RESPONSE

This is one of the few Foscam IP camera models I don't have. So I can only suggest contacting your seller and asking them about this failure. If your seller is Foscam.us, please see this for contact information:

http://foscam.us/contactus.html

asiawatcher wrote:also where can i get the cgi sdk ? the link is dead

Things have changed and the CGI and SDK's are no longer in the public domain and you must make a request to get them. More here about that:

new-sdk-cgi-application-t13426.html#p62103

Don
TheUberOverLord
 
Posts: 13110
Joined: Fri Jun 22, 2012 11:52 pm

Re: FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Postby riley26 » Wed Jul 08, 2015 10:38 am

I had similar problems with getting an MJPEG stream to work. I received access to SDK which did not help. I got confirmation from Foscam tech support that GetMJStream is not supported for FI9803P.

This VLC trick worked for getting an MJPEG stream: https://forum.videolan.org/viewtopic.php?t=120366

Change the source url to rtsp://yourcam/videoMain
And then use html <img src="http://localhost:8888/videostream.cgi"/>
riley26
 
Posts: 1
Joined: Wed Jul 08, 2015 10:24 am

Re: FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Postby doinrobin » Wed Jul 08, 2015 6:37 pm

Your post makes no sense. I got one of these cameras and I can get it to snapshot, but I need to be able to stream it on zoneminder. Which I have not been able to do and the vlc connection in manual does not work either. I just need a simple line command to use.
doinrobin
 
Posts: 1
Joined: Wed Jul 08, 2015 6:06 pm

Re: FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Postby pgregg » Wed Jul 08, 2015 6:44 pm

doinrobin wrote:Your post makes no sense. I got one of these cameras and I can get it to snapshot, but I need to be able to stream it on zoneminder. Which I have not been able to do and the vlc connection in manual does not work either. I just need a simple line command to use.


If you are using zoneminder then you should be using the JPG snapshots from the camera - not the rtsp or mpeg streaming. ZM has to extract the frames from the video to save them as JPGs so using video is highly inefficient.
pgregg
 
Posts: 6
Joined: Mon Jun 23, 2014 4:53 pm

Re: FOSCAM FI9803P V2 - CANNOT GET HD/MJPEG STREAM VIA HTTP

Postby pmjoen » Thu May 18, 2017 11:50 am

Im having the same issue with my FI9800P camera.. I stopped buying Foscam camera's because of this very issue and lack of support by the manufacturer... Amcrest supports MJPEG and is willing to support their products...
pmjoen
 
Posts: 3
Joined: Wed Aug 24, 2016 8:39 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests