Release Foscam HD - Video feed with camera controls, and motion/sound detection preview
Can you access either of these links from a browser? These are the actual streams. It should look like its downloading a file but it will be infinite so cancel it once you've confirmed its working.

Code:
http://USERNAME:[email protected]:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream
or
Code:
http://XXX.XXX.XXX.XXX:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=username&pwd=password&

These are the actual streams. Currently your version of the addon is using the prior, I personally use the second. If this doesn't work, then you might be interested in using an older version of the addon which uses the snapPicture2 command for the alarm preview instead of Leopold's extract JPEG from MJPEG stream (for more FPS!!)

(2015-08-26, 15:38)joeshmoe Wrote: For others reference I haven't gotten this working yet on my C1. cmd=snapPicture2 works fine but I can't get cmd=GetMJStream working. Reports on the internet conflict about whether the camera supports it.

http://IPADDRESS:88/cgi-bin/CGIProxy.fcgi?cmd=getDevState&usr=username&pwd=password returns

<CGI_Result>
<result>0</result>
<IOAlarm>0</IOAlarm>
<motionDetectAlarm>0</motionDetectAlarm>
<soundAlarm>1</soundAlarm>
<record>0</record>
<sdState>0</sdState>
<sdFreeSpace>0k</sdFreeSpace>
<sdTotalSpace>0k</sdTotalSpace>
<ntpState>1</ntpState>
<ddnsState>0</ddnsState>
<url>http XXXXXX.myfoscam.org%XXX</url>
<upnpState>0</upnpState>
<isWifiConnected>1</isWifiConnected>
<wifiConnectedAP>XXX</wifiConnectedAP>
<infraLedState>1</infraLedState>
</CGI_Result>

Tried the procedure here http://foscam.us/forum/how-to-fetch-snap...t4328.html but http://ip address:port/cgi-bin/CGIProxy.fcgi?cmd=setSubStreamFormat&format=1&usr=admin&pwd= returns

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

instead of the expected

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

I'm not savvy enough to know exactly what this means but thought it might save someone else some time.

(2015-07-25, 00:55)joeshmoe Wrote: I can't seem to get this to work on my C1 model foscam. I don't get any errors but there's no picture. The log shows an error opening the stream and I can't open it in VLC either. Any ideas?

Code:
17:30:06 T:140215159674624   ERROR: script.foscam v0.0.21: CGI request string format error
17:30:06 T:140215054173952  NOTICE: Thread GUIDialogCache start, auto delete: true
17:30:06 T:140216385140608   ERROR: CCurlFile::Stat - Failed: Server returned nothing (no headers, no data)(52) for http://USERNAME:[email protected]:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream
17:30:06 T:140216385140608  NOTICE: DVDPlayer: Opening: http://USERNAME:[email protected]:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream
17:30:06 T:140216385140608 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
17:30:06 T:140215054173952  NOTICE: Thread DVDPlayer start, auto delete: false
17:30:06 T:140215054173952  NOTICE: Creating InputStream
17:30:06 T:140215054173952   ERROR: CCurlFile::Stat - Failed: Server returned nothing (no headers, no data)(52) for http://USERNAME:[email protected]:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream
17:30:06 T:140215054173952   ERROR: CCurlFile::FillBuffer - Failed: Server returned nothing (no headers, no data)(52)
17:30:06 T:140215054173952   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
17:30:06 T:140215054173952   ERROR: Open - failed to open source <http://USERNAME:[email protected]:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream>
17:30:06 T:140215054173952   ERROR: CDVDPlayer::OpenInputStream - error opening [http://XX:[email protected]:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream]
17:30:06 T:140215054173952  NOTICE: CDVDPlayer::OnExit()
17:30:06 T:140216385140608  NOTICE: CDVDPlayer::CloseFile()
17:30:06 T:140216385140608  NOTICE: DVDPlayer: waiting for threads to exit
17:30:06 T:140216385140608  NOTICE: DVDPlayer: finished waiting
17:30:06 T:140216385140608  NOTICE: CDVDPlayer::CloseFile()
17:30:06 T:140216385140608  NOTICE: DVDPlayer: waiting for threads to exit
17:30:06 T:140216385140608  NOTICE: DVDPlayer: finished waiting
17:30:06 T:140215159674624  NOTICE: script.foscam v0.0.21: http://XXX.XXX.XXX.XXX:88/cgi-bin/CGIProxy.fcgi?cmd=getMirrorAndFlipSetting&usr=admin&pwd=XXXX
17:30:06 T:140215159674624  NOTICE: script.foscam v0.0.21: <Response [200]>
17:30:06 T:140215159674624  NOTICE: script.foscam v0.0.21: <CGI_Result>
                                                <result>0</result>
                                                <isMirror>0</isMirror>
                                                <isFlip>0</isFlip>
                                            </CGI_Result>
17:30:13 T:140215159674624  NOTICE: script.foscam v0.0.21: Closing main view
Reply


Messages In This Thread
RE: Foscam HD - by George - 2014-03-27, 17:30
RE: Foscam HD - Video feed with camera controls, and motion/sound detection preview - by maikito26 - 2015-08-26, 15:53


Logout Mark Read Team Forum Stats Members Help
Foscam HD - Video feed with camera controls, and motion/sound detection preview1
This forum uses Lukasz Tkacz MyBB addons.