LTS Snapshot URL Firmware V5.2.0 build 150126

jrfuda

n3wb
Jan 20, 2016
20
0
SOLVED: LTS Snapshot URL Firmware V5.2.0 build 150126

I have 5 x CMIP7422-28M and 7 x CMIP9532 all on firmware V5.2.0 build 150126, I use and LTS LTN8816 NVR to manage them. Absolutely zero issues with the cameras and NVR, however, I also use HomeSeer home automation software and need snapshot URLs to incorporate them. The 8816 is a non-POE NVR, so the cameras are accessible both via the NVR web interface and directly.

I've seen the various posts here and on cctvforum, as well as read through the cgi and other references on the Hikvision site. Everything's telling me this should work:

http:// -ip address- /Streaming/channels/1/picture

I've tried this both with and without the user:password@ prefix. I get nothing at all when additng the URLs to the Homeseer interface. When I put this into a web browser I get this:

Code:
[COLOR=#000000][FONT=monospace]<ResponseStatus[/FONT][/COLOR][COLOR=#000000][FONT=monospace] xmlns="http://www.std-cgi.com/ver10/XMLSchema"[/FONT][/COLOR][COLOR=#000000][FONT=monospace] version="1.0"[/FONT][/COLOR][COLOR=#000000][FONT=monospace]>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]<requestURL>/Streaming/channels/1/picture</requestURL>
<statusCode>4</statusCode>
<statusString>Invalid Operation</statusString>
[/FONT][/COLOR]

[COLOR=#000000][FONT=monospace]</ResponseStatus>[/FONT][/COLOR]


If I back it up to
http:// -ip address- /Streaming/channels/1

I get this

Code:
[COLOR=#000000][FONT=monospace]<StreamingChannel[/FONT][/COLOR][COLOR=#000000][FONT=monospace] xmlns="http://www.std-cgi.com/ver10/XMLSchema"[/FONT][/COLOR][COLOR=#000000][FONT=monospace] version="1.0"[/FONT][/COLOR][COLOR=#000000][FONT=monospace]>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]<id>1</id>
<channelName>Indoor Dome</channelName>
<enabled>true</enabled>
<Transport>
<rtspPortNo>554</rtspPortNo>
<maxPacketSize>1000</maxPacketSize>
<sourcePortNo>8200</sourcePortNo>
<ControlProtocolList>
<ControlProtocol>
<streamingTransport>RTSP</streamingTransport>

</ControlProtocol>



</ControlProtocolList>


<Unicast>
<enabled>true</enabled>

</Unicast>


<Multicast>
<enabled>true</enabled>
<destIPAddress>0.0.0.0</destIPAddress>
<destPortNo>8600</destPortNo>

</Multicast>



</Transport>


<Video>
<enabled>true</enabled>
<videoInputChannelID>1</videoInputChannelID>
<videoCodecType>H.264</videoCodecType>
<videoScanType>progressive</videoScanType>
<videoResolutionWidth>1920</videoResolutionWidth>
<videoResolutionHeight>1080</videoResolutionHeight>
<videoQualityControlType>VBR</videoQualityControlType>
<constantBitRate>4096</constantBitRate>
<fixedQuality>100</fixedQuality>
<maxFrameRate>1500</maxFrameRate>
<keyFrameInterval>50</keyFrameInterval>
<BPFrameInterval>0</BPFrameInterval>
<snapShotImageType>JPEG</snapShotImageType>
<SVC>
<enabled>false</enabled>

</SVC>



</Video>


[/FONT][/COLOR]

[COLOR=#000000][FONT=monospace]</StreamingChannel>[/FONT][/COLOR]


and backing it up again to
http:// -ip address- /Streaming/channels

I get this

Code:
[COLOR=#000000][FONT=monospace]<StreamingChannelList[/FONT][/COLOR][COLOR=#000000][FONT=monospace] xmlns="http://www.std-cgi.com/ver10/XMLSchema"[/FONT][/COLOR][COLOR=#000000][FONT=monospace] version="1.0"[/FONT][/COLOR][COLOR=#000000][FONT=monospace]>[/FONT][/COLOR][COLOR=#000000][FONT=monospace]<StreamingChannel xmlns="http://www.std-cgi.com/ver10/XMLSchema" version="1.0">
<id>1</id>
<channelName>Indoor Dome</channelName>
<enabled>true</enabled>
<Transport>
<rtspPortNo>554</rtspPortNo>
<maxPacketSize>1000</maxPacketSize>
<sourcePortNo>8200</sourcePortNo>
<ControlProtocolList>
<ControlProtocol>
<streamingTransport>RTSP</streamingTransport>

</ControlProtocol>



</ControlProtocolList>


<Unicast>
<enabled>true</enabled>

</Unicast>


<Multicast>
<enabled>true</enabled>
<destIPAddress>0.0.0.0</destIPAddress>
<destPortNo>8600</destPortNo>

</Multicast>



</Transport>


<Video>
<enabled>true</enabled>
<videoInputChannelID>1</videoInputChannelID>
<videoCodecType>H.264</videoCodecType>
<videoScanType>progressive</videoScanType>
<videoResolutionWidth>1920</videoResolutionWidth>
<videoResolutionHeight>1080</videoResolutionHeight>
<videoQualityControlType>VBR</videoQualityControlType>
<constantBitRate>4096</constantBitRate>
<fixedQuality>100</fixedQuality>
<maxFrameRate>1500</maxFrameRate>
<keyFrameInterval>50</keyFrameInterval>
<BPFrameInterval>0</BPFrameInterval>
<snapShotImageType>JPEG</snapShotImageType>
<SVC>
<enabled>false</enabled>

</SVC>



</Video>



</StreamingChannel>


<StreamingChannel xmlns="http://www.std-cgi.com/ver10/XMLSchema" version="1.0">
<id>2</id>
<channelName>Indoor Dome</channelName>
<enabled>true</enabled>
<Transport>
<rtspPortNo>554</rtspPortNo>
<maxPacketSize>1000</maxPacketSize>
<sourcePortNo>8200</sourcePortNo>
<ControlProtocolList>
<ControlProtocol>
<streamingTransport>RTSP</streamingTransport>

</ControlProtocol>



</ControlProtocolList>


<Unicast>
<enabled>true</enabled>

</Unicast>


<Multicast>
<enabled>true</enabled>
<destIPAddress>0.0.0.0</destIPAddress>
<destPortNo>8600</destPortNo>

</Multicast>



</Transport>


<Video>
<enabled>true</enabled>
<videoInputChannelID>1</videoInputChannelID>
<videoCodecType>H.264</videoCodecType>
<videoScanType>progressive</videoScanType>
<videoResolutionWidth>704</videoResolutionWidth>
<videoResolutionHeight>480</videoResolutionHeight>
<videoQualityControlType>VBR</videoQualityControlType>
<constantBitRate>512</constantBitRate>
<fixedQuality>60</fixedQuality>
<maxFrameRate>1000</maxFrameRate>
<keyFrameInterval>50</keyFrameInterval>
<BPFrameInterval>0</BPFrameInterval>
<snapShotImageType>JPEG</snapShotImageType>
<SVC>
<enabled>false</enabled>

</SVC>



</Video>



</StreamingChannel>


[/FONT][/COLOR]

[COLOR=#000000][FONT=monospace]</StreamingChannelList>[/FONT][/COLOR]


Am I missing something? Is there a setting in the camera I do not have set right?

Thanks!
 
Last edited by a moderator:
It looks more like the firmware in your specific cameras does not support the quoted form of the request.
"<statusString>Invalid Operation</statusString>"
I'm afraid I don't know if there is another form.


Testing it on a Hikvision 3335 with 5.3.3 firmware gives a picture as per the result below, validating what you have seen on forums (at least for Hikvision) for the request form.
I tried changing both RTSP authentication and Web authentication to disable / basic and basic / digest but neither affected the ability to request the image.
cam40.jpg
 
Installed 5.3.0 on one of the cameras with the same results, maybe a future update will do it.
 
Try:

rtsp://admin: password@IPaddress:554/Streaming/Channels/1

Without the space between admin: password
 
It appears my automation software does not support rtsp, however, a beta release does support mjpeg, so I'm getting ready to try that. Thanks for the help.
 
It's been a while, and I'm still unable to get a snapshot from my cameras. I'm using a new front end for my home automation software and it requires both a jpeg and mjpeg to function (uses jpeg as place holder "buttons" on dashboard screens and mjpeg for actual streaming).

I've tried both

/Streaming/channels/1/picture
and
/onvif/snapshot

as recommended in various posts on the forum and elsewhere on the web with no success.

I have the most recent revision of the firmware 5.3.0_160203.

What's interesting, is in an ONVIF program I can use to look at my cameras, I can only get it to show me a snapshot on this most recent version, earlier revisions show a blank snapshot. Unfortunately, the ONVIF program only shows me the rstp URL and not the snapshot URL.
 
Good news: Firmware version IPC3_V5.4.0_160921 has restored snapshot capability, problem is solved.

/Streaming/channels/1/picture returns a still picture
/Streaming/channels/2/preview returns a mjpeg stream