onvif

PTZ for Onvif IP Camera

久未见 提交于 2021-02-08 08:10:55
问题 I have an application running on Android to connect and view the IP Camera. Now I'm trying to add PTZ support to application. Below are the requirements for PTZ. 1) When user drags the screen to any coordinates on the application, IP Camera should move(pan/tilt) accordingly. 2) When user zoom in/out on the particular area of the application, IP Camera should zoom that area. Problems I'm facing are. 1) I'm not able to map the x,y coordinates of the user action to Onvif pan/tilt vector. Because

PTZ for Onvif IP Camera

a 夏天 提交于 2021-02-08 08:06:16
问题 I have an application running on Android to connect and view the IP Camera. Now I'm trying to add PTZ support to application. Below are the requirements for PTZ. 1) When user drags the screen to any coordinates on the application, IP Camera should move(pan/tilt) accordingly. 2) When user zoom in/out on the particular area of the application, IP Camera should zoom that area. Problems I'm facing are. 1) I'm not able to map the x,y coordinates of the user action to Onvif pan/tilt vector. Because

Need explanation about KeyId/CertId/CertPathId/PassPhraseId

三世轮回 提交于 2021-01-29 06:05:40
问题 In onvif i come across the term KeyId/CertId/CertPathId and PassPhraseId what are these? How these are all created ? 回答1: They are data types defined for the ONVIF Security Service. As you can see in advancedsecurity.wsdl, they are all defined as xs:NCName with length 64. Non Colonized Names are strings that stat with a letter or _ and that cannot have colons. In ONVIF these values are just used to reference keys, certificates and so on, you can think about them as regular tokens. 来源: https:/

Onvif playback stream cannot seek

扶醉桌前 提交于 2021-01-28 14:14:00
问题 I'm trying to obtain playback video streams from some Axis and Hikvision cameras, using Onvif. I'm doing this in a C# application, and the resulted stream is played in VLC. Using the FindRecordings/GetRecordingSearchResult calls and then GetReplayUri I can obtain the playback stream (RTSP/H264), but here I have this problem: this behaves like a live stream - I can only use play and pause. I cannot use the time cursor to seek, cannot play in reverse. So I find this unusable for a playback

gSoap实现ONVIF的设备发现(windows下)

妖精的绣舞 提交于 2020-04-24 06:54:41
一、要准备的文件: 1.ONVIF相关的WSDL文件,对于设备发现,只需要用到 RemoteDiscovery.wsdl一个即可, 2.gSoap的压缩包,找到/gsoap/bin/win32文件夹中的soapcpp2.exe以及wsdl2h.exe,以及在/gSoap目录下的typemap.dat文件,将这些文件放到一个文件夹下。 二、对typemap.bat进行修改, tds = "http://www.onvif.org/ver10/device/wsdl" tev = "http://www.onvif.org/ver10/events/wsdl" tls = "http://www.onvif.org/ver10/display/wsdl" tmd = "http://www.onvif.org/ver10/deviceIO/wsdl" timg = "http://www.onvif.org/ver20/imaging/wsdl" trt = "http://www.onvif.org/ver10/media/wsdl" tptz = "http://www.onvif.org/ver20/ptz/wsdl" trv = "http://www.onvif.org/ver10/receiver/wsdl" trc = "http://www.onvif.org

【视频开发】ONVIF、RTSP/RTP、FFMPEG的开发实录

笑着哭i 提交于 2020-03-29 14:01:59
ONVIF、RTSP/RTP、FFMPEG的开发实录 前言 本文从零基础一步步实现ONVIF协议、RTSP/RTP协议获取IPC实时视频流、FFMPEG解码。开发环境为WIN7 32位 + VS2010。 最终成功获取浩云、海康、大华的IPC实时视频流。 如果要了解本文更多细节,或者用本文作设计指导,那最好把文中提到的连接都打开,与本文对照着看。 前期准备 1.准备一个ONVIF服务器 既然开发的是客户端,那必需要有服务端了。我这里大把的IPC,好几个品牌的,就随便拿了一个。 如果没有IPC,倒是可以用 VLC media player 搭建一下。或者其他播放器也可以。这个网上很多资料。 2.准备一个ONVIF 测试工具 这个工具在ONVIF的官网上可以找到:ONVIF Device Test Tool 。 3.准备解码器相关资料及资源 收到视频流后,需要解码。可以用ffmpeg,也可以用其他解码库。这个是后话了,等ONVIF搞定之后再搞解码也不迟。推荐链接: http://wenku.baidu.com/view/f8c94355c281e53a5802ffe4.html?re=view (Windows下使用MinGW编译ffmpeg与x265) 4.准备资料 ONVIF协议书必看,ONVIF官网自然是不能少的。其他资料推荐几个链接: http://www.cuplayer

flutter app connect to ip camera with digest auth

青春壹個敷衍的年華 提交于 2020-01-16 19:31:33
问题 I'm trying to pass digest auth on my ip camera I do it on Flutter but actually it doesn't matter. I got http response from camera with status code 401 Not Authorized and Headers: {content-type: text/html, pragma: no-cache, cache-control: no-cache, www-authenticate: Digest realm="goAhead", domain=":13237",qop="auth", nonce="a98326cc6022c2a2b7cc7e57a5956f77", opaque="5ccc069c403ebaf9f0171e9517f40e41",algorithm="MD5", stale="FALSE", date: Thu Dec 26 16:31:43 2019, server: GoAhead-Webs} from this

Ubuntu下安装gsoap

情到浓时终转凉″ 提交于 2020-01-11 15:47:48
昨天在ubuntu下进行安装gSOAP,费了很多时间,没成功,今天又来找了大量教程资料,终于一次成功,这里写下自己的安装步骤和方法,供大家参考。 首先下载gsoap,我下载的是gsoap-2.8.1.zip 用unzip gsoap-2.8.1.zip命令解压缩,会解压生成gsoap-2.8文件夹。 cd gsoap-2.8 在安装之前需要先安装一些编译工具。 安装编译工具:   $sudo apt-get install build-essential   为了成功编译gSOAP,您需要安装GTK+的开发文件和GLib库(libraries)。   $sudo apt-get install libgtk2.0-dev libglib2.0-dev   安装Checkinstall以便管理您系统中直接由源代码编译安装的软件。   $sudo apt-get install checkinstall 安装YACC,YACC是Unix/Linux上一个用来生成编译器的编译器(编译器代码生成器)。 $sudo apt-get install flex bison 安装OpenSSL $sudo apt-get install openssl 安装OpenSSL通常的库文件,首先使用以下命令来确定在Ubuntu系统中可获得的库文件的应用版本: $sudo apt-cache search

How to generate GetSystemDateAndTime xml

末鹿安然 提交于 2020-01-09 11:58:51
问题 I have the following bit of code that i took from this source... public bool Initialise(string cameraAddress, string userName, string password) { bool result = false; try { var messageElement = new TextMessageEncodingBindingElement() { MessageVersion = MessageVersion.CreateVersion(EnvelopeVersion.Soap12, AddressingVersion.None) }; HttpTransportBindingElement httpBinding = new HttpTransportBindingElement() { AuthenticationScheme = AuthenticationSchemes.Digest }; CustomBinding bind = new

Generate working Onvif code with wsdl2cpp

杀马特。学长 韩版系。学妹 提交于 2020-01-06 18:08:52
问题 I generated the DeviceMgmt stub from cmd with WSDL2CPP.bat -uri http://www.onvif.org/onvif/ver10/device/wsdl/devicemgmt.wsdl -u -d adb -o OutputDirectory The first time, I got an error like "No service was found" and I solved it by adding this: <wsdl:service name="OnvifService"> <wsdl:port name="OnvifEndpoint" binding="DeviceBinding"> <soap:address location="http://www.onvif.org/ver10/device/wsdl"/> </wsdl:port> </wsdl:service> in devicemgmt.wsdl I opened the generated project in VS2012 and