Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
1.1
1.2
1.3
1.4
1.5
1.5.1
1.5.2
1.5.3
1.5.4
1.6
1.6.1
1.7
1.8
1.9
1.10
1.11
1.11.1
1.11.2
1.11.3
1.12
1.12.1
1.12.2
1.13
1.13.1
1.13.2
TableofContentsIntroduction
InstallingSoftware
Buildfromsource
SoftwareOverview
Configurationoverview
ConfigStor
ConfigClient
ConfigCamera
ConfigLicense
LiveView
View
Emap
Playback
Export
Dashboard
API
LinkAPI
VAPI
StreamServer
Network
PortSummary
SecureProtocol
VideoAnalysis
OpenCV
DeepLearning
1
0.AboutRapidvmsRapidvmsisasimpleVMSandNVR,itsupportWinodwsandLinux,andMacOSclient.RapidvmsincludeRapidStor(server)andRapidClient(client)
Introduction
2
1.InstallingSoftware=======
ServerRequirements
HardwareRequirements
HardwaredecodingonWindows(H264&H265)Windows10
HardwaredecodingonLinux(H264&H265)IntelSandybridge,Ivybridge,Haswell,Broadwell,Skylake,KabyLake(HDGraphics)IntelBaytrail,Braswell,ApolloLake
HardwaredecodingonmacOS10.12(OnlyH264support)
OperatingSystemRequirements
CentOS7:sudoyuminstallnasmxorg-x11-server-develzlib-develgccgcc-c++perl-versionlibxcblibxcb-develxcb-utilxcb-util-develxcb-util-*-devellibX11-devellibXrender-devellibXi-develredhat-lsb-corelibxslt-develcmakelibuuid-devel
LinuxUbuntu:sudoapt-getinstalllibx11-devyasmlibxext-devlibgl1-mesa-devzlib1g-dev"^libxcb.*"libx11-xcb-devlibglu1-mesa-devlibxrender-devlibxi-dev
macOS10.12
SoftwareInstallation
https://linkingvision.com/download/RapidVMS/DownloadPage
Theserverandclientisinonepackage.
ServerSoftwareStart
WindowsyoucandirectstarttheRapidClient.exeandRapidStor.exe
LinuxyoushouldStarttheRapidStorandRapidClient
../exportpath.sh
InstallingSoftware
3
https://linkingvision.com/download/RapidVMS/
macOS
InFinderclicktheRapidStor.app/Contents/MacOS/RapidStor
InFinderclicktheRapidClient.app
DefaultUser
DefaultuserisadminDefaultpasswordisadmin
RunRapidStorasservice
Windows
Pleaseinstallvs2017redistributablex86https://download.visualstudio.microsoft.com/download/pr/100349138/88b50ce70017bf10f2d56d60fcba6ab1/VC_redist.x86.exe
x64https://download.visualstudio.microsoft.com/download/pr/11100230/15ccb3f02745c7b206ad10373cbca89b/VC_redist.x64.exe
Runtheregservice.batandunregservice.batfortheRapidStor
CentOS(CentOS7)
1. Createanuserforthedesiredservice2. Ensurethecreateduserhasfullaccesstothebinaryyouwanttosetup
InstallingSoftware
4
https://download.visualstudio.microsoft.com/download/pr/100349138/88b50ce70017bf10f2d56d60fcba6ab1/VC_redist.x86.exehttps://download.visualstudio.microsoft.com/download/pr/11100230/15ccb3f02745c7b206ad10373cbca89b/VC_redist.x64.exe
3. Copytheservice/rapidvms-centostothe/etc/init.d/rapidvms4. AdjusttheAPPDIRin/etc/init.d/rapidvms5. Makesurethescriptismarkedasexecutable:
chmod+x/etc/init.d/rapidvms
6. Enabletheconfigininrunlevels2,3,4,and5:chkconfigrapidvmson
7. servicerapidvmsstart
Ubuntu
1. Createanuserforthedesiredservice2. Ensurethecreateduserhasfullaccesstothebinaryyouwanttosetup3. Copytheservice/rapidvms-ubuntu.conftothe/etc/init/rapidvms.conf4. AdjusttheAPPDIRin/etc/init.d/rapidvms.conf5. sudostartrapidvms
Debian(IncludeUbuntu)
1. Createanuserforthedesiredservice2. Ensurethecreateduserhasfullaccesstothebinaryyouwanttosetup3. Copytheservice/rapidvms-debiantothe/etc/init.d/rapidvms4. AdjusttheAPPDIRin/etc/init.d/rapidvms5. Makesurethescriptismarkedasexecutable:
chmod+x/etc/init.d/rapidvms
6. Enablethedaemonwith:update-rc.drapidvmsdefaults
7. servicerapidvmsstart
InstallingSoftware
5
2.BuildFromSourceCode
Windows
visualstudio2017setupfor5.x.https://linkingvision.com/rapidvms-vs2017
Buildfromsource
6
https://linkingvision.com/rapidvms-vs2017
3.RapidvmsSoftwareOverview
Client/ServerArchitectureRapidvmssoftwareisbasedonaclient/serverarchitecture,RapidvmsclientcanmanagemultipleRapidvmsServer,aServeralsocanbemangedbymultipleClient.
TheServernameisRapidStor,theClientnameisRapidClient
Mainpages
Liveview
PlaybackandSearch
Setting
SoftwareOverview
7
4.Configurationoverview
InstallingSoftwareDoubleClicktheitemintheConfigurationstree.
Configurationoverview
8
ConfigStorDoubleClicktheStoraddandNewastor,theIPaddressistheOpenCVRStorrunninghostIP.
*Notes:
MakesurestarttheStor,iftheStorisnotstarted,theStornodeintheConfigurationstreeisgray.*
TheStorportis9080,not9100.The9100portisStordebugport.
ConfigDiskDoubleClicktheDisk,andthenSelectthediskyouwanttorecordvideo.
Notes:IfyouwantrecordVideo,youfirstneedConfigtheDisk.
ConfigStor
9
ConfigClientDoubleClicktheClientnodeintheConfigurationstree.
ConfigClient
10
CameraConfig
CameraaddanddeleteDoubleClicktheCamaddandNewaCam.
ONIVF:InputtheIPaddressandport,username&password.RTSP:InputtheuserandpasswordandfullrtspURL.File:InputthefullpathoftheFile
CameraConfig
ConfigCamera
11
DoubleClickthecameraintheCameraadd
ConfigCamera
12
Configlicense
ClientlicenseDoubleClicktheClientnodeintheConfigurationstree,andclickthelicensetab.Andthenimportthelicfileyouhavegot.
Storlicense
ConfigLicense
13
DoubleClicktheStornodeintheConfigurationstree,andclickthelicensetab.Andthenimportthelicfileyouhavegot.
ConfigLicense
14
5.LiveView
LiveView
15
View
AddView
Firstdropthecameratotheliveview,ThenClickthe
Thelayoutwillbesaved.
DeleteViewGototheConfigurationpage,thendoubleclicktheview,thencandeleteview
ApplyViewDragordoubleclicktheviewtoapplytheview
View
16
6.EmapFirstaddtheEmapintheConfiguationpage.Thengotothedoubleclickthemap.
Note:Loadthemapfile,dragthecameratothemap.
Emap
17
7.Playback
Clickthe
Rightclickontheliveview,youcanenterthesingleplaybackwindow.
Note:Youcandropthecameratheplaybackview,theplaybacksupporttheselectthedatethathaveview.
Playback
18
8.Export
Clickthe inplaybackmode,youcanexportthevideofiletothec:\vidstor\export\video(Win32)orc:\vidstor64\export\video(Win64)ortheve/vidstor/export/video(Linux)
UsetheVLCtoplaythemp4file.CurrentonlyexportH264video.
Checktheexportstatusinthedashboard
Export
19
9.DashboardDashboardwillshowthecurrenttasksuchastheexport.
Dashboard
20
10.RapidvmsAPIGuide
API
21
10.1LinkAPI
LinkAPIRapidvmssupportwebsocketbasedLinkAPI,andtheAPIuseprotobufastheframework,youreadmeabouttheAPIat
https://github.com/linkingvision/rapidvms/blob/master/include/config/proto/linkproto.proto
LinkAPI
22
https://github.com/linkingvision/rapidvms/blob/master/include/config/proto/linkproto.proto
10.2VAPI
HTTPRestfulAPIRapidvmssupportrestfulapi,itsupportrequestbyanybrowser(testedwithchrome)
GetDeviceListhttp://[ip]:9080/vapi/GetCamList
Example:http://192.168.0.1:9080/vapi/GetCamList
GetStreamUrl(RTSP/RTMP/HLS)http://[ip]:9080/vapi/GetStreamUrl?Camera=xxxxxxxx(guid)
Example:http://192.168.0.1:9080/vapi/GetStreamUrl?Camera=62dee750-d9b8-4c1f-9e5a-c47fdf5050b2
GetImagehttp://[ip]:9081/vapi/GetImage?Camera=xxxxxxxx(guid)&Width=xx&Height=xx
Example:http://192.168.0.1:9081/vapi/GetImage?Camera=62dee750-d9b8-4c1f-9e5a-c47fdf5050b2&Width=720&Height=480
Note:TheWidthandHeightareoptional.
VAPI
23
http://[ip]:9080/vapi/GetCamListhttp://192.168.0.1:9080/vapi/GetCamListhttp://[ip]:9080/vapi/GetStreamUrl?Camera=xxxxxxxx(guidhttp://192.168.0.1:9080/vapi/GetStreamUrl?Camera=62dee750-d9b8-4c1f-9e5a-c47fdf5050b2http://[ip]:9081/vapi/GetImage?Camera=xxxxxxxx(guid)&Width=xx&Height=xxhttp://192.168.0.1:9081/vapi/GetImage?Camera=62dee750-d9b8-4c1f-9e5a-c47fdf5050b2&Width=720&Height=480
10.3RapidvmsStreamingServer
RapidvmshasabuildinRTSP/RTMP/HLS/HTML5server
LiveViewReferVAPIforthestreamingUrl.
StreamServer
24
11.Network
Network
25
11.1PortSummary
1.RapidStor
LinkAPI/VAPI/Webserver
HTTP9080&HTTPS9443
RTSPserver
10554
RTMPserver
11935
HLSserver
HTTP10080&HTTPS10443
RapidStorDebugport
9100
2.RapidClient
RapidClientDebugport
9200
PortSummary
26
11.2SecureProtocol
LinkAPI/VAPI/WebserveroverSSL
HTTPS9443
RTSPserveroverSSL
10443
RTMPserveroverSSL
10443
HLSserveroverSSL
10443
SecureProtocol
27
12.VideoAnalysis
VideoAnalysis
28
12.1.OpenCVbasedvideoanalysisOpenCVframeworkhasbeenaddedtoRapidvms,andyoucanaddyourselfvideoanalysisbasedonOpenCV.YoucanenabletheALGO_FACE_DEBUGinvsmotalgoface.cpp.theimshow("FaceDetectAlgo",m_cvImage)showm_cvImage,andthenyoucanaddvideoanalysisbasedonOpenCVsuchasFaceDetect.
OpenCV
29
12.2.CaffedeeplearningwithNetworkONVIFCamera
DeepLearning
30
IntroductionInstalling SoftwareBuild from sourceSoftware OverviewConfiguration overviewConfig StorConfig ClientConfig CameraConfig License
LiveViewView
EmapPlaybackExportDashboardAPILink APIVAPIStream Server
NetworkPort SummarySecure Protocol
Video AnalysisOpenCVDeep Learning