So iSpyConnect doesn't have a prebuilt profile for the PTZ feature of this camera. Is there a profile for another camera that I can use to replicate that functionality here?
Also, iSpyConnect has the ability to take the video feed and the audio feed and combine them separately via a URL. I was able to http://192.168.45.53:80/axis-cgi/mjpg/video.cgi to capture the video feed coming from it, but is there a similar URL that I can use to capture audio?
Trying to set this up in iSpyConnect
Re: Trying to set this up in iSpyConnect
OK. So I figured out the PTZ part of it. I just edited the config, and used the Dahua camera that's in there. But apparently that was configured wrong, so I changed it as follows(I took out the part in the CommandURL tag, and just put it in front of every command. Alternatively, you can add ptz.cgi to the CommandURL, and remove it from al the commands and that would probably have worked just as well):
<Camera id="199">
<Makes>
<Make Name="Dahua" Model="SD59230S" />
</Makes>
<CommandURL></CommandURL>
<Commands>
<Left>/cgi-bin/ptz.cgi?action=start&channel=0&code=Left&arg1=0&arg2=5&arg3=0</Left>
<LeftUp>/cgi-bin/ptz.cgi?action=start&channel=0&code=LeftUp&arg1=0&arg2=5&arg3=0</LeftUp>
<Right>/cgi-bin/ptz.cgi?action=start&channel=0&code=Right&arg1=0&arg2=5&arg3=0</Right>
<RightUp>/cgi-bin/ptz.cgi?action=start&channel=0&code=RightUp&arg1=0&arg2=5&arg3=0</RightUp>
<Up>/cgi-bin/ptz.cgi?action=start&channel=0&code=Up&arg1=0&arg2=5&arg3=0</Up>
<Down>/cgi-bin/ptz.cgi?action=start&channel=0&code=Down&arg1=0&arg2=5&arg3=0</Down>
<LeftDown>/cgi-bin/ptz.cgi?action=start&channel=0&code=LeftDown&arg1=0&arg2=5&arg3=0</LeftDown>
<RightDown>/cgi-bin/ptz.cgi?action=start&channel=0&code=RightDown&arg1=0&arg2=5&arg3=0</RightDown>
<Stop>/cgi-bin/ptz.cgi?action=stop&channel=0&code=Right&arg1=0&arg2=5&arg3=0</Stop>
<ZoomIn>/cgi-bin/ptz.cgi?action=start&channel=0&code=ZoomTele&arg1=0&arg2=5&arg3=0</ZoomIn>
<ZoomOut>/cgi-bin/ptz.cgi?action=start&channel=0&code=ZoomWide&arg1=0&arg2=5&arg3=0</ZoomOut>
</Commands>
<ExtendedCommands>
<Command Name="action=Preset 1">ptz.cgi?action=start&channel=0&code=GotoPreset&arg1=0&arg2=1&arg3=0</Command>
<Command Name="action=Preset 2">ptz.cgi?action=start&channel=0&code=GotoPreset&arg1=0&arg2=2&arg3=0</Command>
<Command Name="action=Preset 3">ptz.cgi?action=start&channel=0&code=GotoPreset&arg1=0&arg2=3&arg3=0</Command>
</ExtendedCommands>
</Camera>
<Camera id="199">
<Makes>
<Make Name="Dahua" Model="SD59230S" />
</Makes>
<CommandURL></CommandURL>
<Commands>
<Left>/cgi-bin/ptz.cgi?action=start&channel=0&code=Left&arg1=0&arg2=5&arg3=0</Left>
<LeftUp>/cgi-bin/ptz.cgi?action=start&channel=0&code=LeftUp&arg1=0&arg2=5&arg3=0</LeftUp>
<Right>/cgi-bin/ptz.cgi?action=start&channel=0&code=Right&arg1=0&arg2=5&arg3=0</Right>
<RightUp>/cgi-bin/ptz.cgi?action=start&channel=0&code=RightUp&arg1=0&arg2=5&arg3=0</RightUp>
<Up>/cgi-bin/ptz.cgi?action=start&channel=0&code=Up&arg1=0&arg2=5&arg3=0</Up>
<Down>/cgi-bin/ptz.cgi?action=start&channel=0&code=Down&arg1=0&arg2=5&arg3=0</Down>
<LeftDown>/cgi-bin/ptz.cgi?action=start&channel=0&code=LeftDown&arg1=0&arg2=5&arg3=0</LeftDown>
<RightDown>/cgi-bin/ptz.cgi?action=start&channel=0&code=RightDown&arg1=0&arg2=5&arg3=0</RightDown>
<Stop>/cgi-bin/ptz.cgi?action=stop&channel=0&code=Right&arg1=0&arg2=5&arg3=0</Stop>
<ZoomIn>/cgi-bin/ptz.cgi?action=start&channel=0&code=ZoomTele&arg1=0&arg2=5&arg3=0</ZoomIn>
<ZoomOut>/cgi-bin/ptz.cgi?action=start&channel=0&code=ZoomWide&arg1=0&arg2=5&arg3=0</ZoomOut>
</Commands>
<ExtendedCommands>
<Command Name="action=Preset 1">ptz.cgi?action=start&channel=0&code=GotoPreset&arg1=0&arg2=1&arg3=0</Command>
<Command Name="action=Preset 2">ptz.cgi?action=start&channel=0&code=GotoPreset&arg1=0&arg2=2&arg3=0</Command>
<Command Name="action=Preset 3">ptz.cgi?action=start&channel=0&code=GotoPreset&arg1=0&arg2=3&arg3=0</Command>
</ExtendedCommands>
</Camera>
Re: Trying to set this up in iSpyConnect
And I think I'm a little closer on the audio portion of it as well. I'm using 192.168.45.53/cgi-bin/audio.cgi?action=getAudio&httptype=singlepart&channel=1
And if I enter that into firefox, I get asked to download an 'audio.cgi' file. I download it, and the download just keeps going, but if I take a partial download and rename it with a '.wav' extension, I can play it in media player, and sure enough, it's the audio from the IPCam. However, if I put that into iSpyConnect, it isn't able to connect to the audio feed. Does anyone have any ideas as to what I can use to get that to work?
And if I enter that into firefox, I get asked to download an 'audio.cgi' file. I download it, and the download just keeps going, but if I take a partial download and rename it with a '.wav' extension, I can play it in media player, and sure enough, it's the audio from the IPCam. However, if I put that into iSpyConnect, it isn't able to connect to the audio feed. Does anyone have any ideas as to what I can use to get that to work?
Re: Trying to set this up in iSpyConnect
Looks like I needed to add the username and password to that URL. Everything is working now. Hopefully this will help someone else out in the future.
username:[email protected]/cgi-bin/audio.cgi?action=getAudio&httptype=singlepart&channel=1
username:[email protected]/cgi-bin/audio.cgi?action=getAudio&httptype=singlepart&channel=1
Re: Trying to set this up in iSpyConnect
Hi, this was really useful thanks. I was wondering if you ever managed to figure out how to get the H.264 feed instead of the MJPEG? I'm connecting the Amcrest IP2M-841 ProHD 1080P (1920TVL) WiFi IP Security Camera in the iSpy Software suite. It's all working well but the quality of the MJPEG feed from the camera is shockingly poor. The quality of the feed in the Amcrest View Lite Smartphone Appliation for Android however is pretty good. The camera is so bad in iSpy that it's effectively useless to me. I was hoping this might change if I managed to get the H.264 feed which is supposed to be better quality?