Movatterモバイル変換


[0]ホーム

URL:


CN103024360A - Method for simulating input video monitoring system of multi-channel video coder - Google Patents

Method for simulating input video monitoring system of multi-channel video coder
Download PDF

Info

Publication number
CN103024360A
CN103024360ACN2012105786384ACN201210578638ACN103024360ACN 103024360 ACN103024360 ACN 103024360ACN 2012105786384 ACN2012105786384 ACN 2012105786384ACN 201210578638 ACN201210578638 ACN 201210578638ACN 103024360 ACN103024360 ACN 103024360A
Authority
CN
China
Prior art keywords
video
buffer
audio
upper limit
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012105786384A
Other languages
Chinese (zh)
Inventor
杜勇慧
施立虹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Henan Splendor Science and Technology Co Ltd
Original Assignee
Henan Splendor Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Henan Splendor Science and Technology Co LtdfiledCriticalHenan Splendor Science and Technology Co Ltd
Priority to CN2012105786384ApriorityCriticalpatent/CN103024360A/en
Publication of CN103024360ApublicationCriticalpatent/CN103024360A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

Translated fromChinese

本发明提供一种模拟多路视频编码器输入视频监控系统的方法,它包括以下步骤:获取音视频数据,所述音视频数据是从编码器设备处获取的音视频码流,或者是直接读取的本地音视频文件;将获取的音视频数据保存在缓冲区,同时所述缓冲区设定上限,超过所述缓冲区的上限则删除最早的数据;对应每个视频监控系统的发送对象设置发送缓冲区,将保存在缓冲区中的音视频数据发送到各个发送缓冲区,同时所述发送缓冲区设定上限,超过所述发送缓冲区的上限则删除最早的数据。本发明方法能模拟多路编码器输入视频监控系统,从而大幅度降低了视频监控系统平台测试的投资成本,同时还可以缩短测试周期。The present invention provides a method for simulating multi-channel video encoder input into a video monitoring system, which includes the following steps: acquiring audio and video data, the audio and video data is the audio and video code stream obtained from the encoder device, or directly read The local audio and video files obtained; the obtained audio and video data are stored in the buffer, and the upper limit of the buffer is set, and the earliest data is deleted if the upper limit of the buffer is exceeded; corresponding to the sending object setting of each video surveillance system The sending buffer is used to send the audio and video data stored in the buffer to each sending buffer. At the same time, the upper limit of the sending buffer is set, and the earliest data is deleted if the upper limit of the sending buffer is exceeded. The method of the invention can simulate the input of multi-channel encoders into the video monitoring system, thereby greatly reducing the investment cost of the video monitoring system platform test, and can also shorten the testing period.

Description

Translated fromChinese
一种模拟多路视频编码器输入视频监控系统的方法A method of simulating multi-channel video encoder input video monitoring system

技术领域technical field

本发明涉及视频监控技术领域,具体的说,涉及了一种模拟多路视频编码器输入视频监控系统的方法。The invention relates to the technical field of video monitoring, in particular to a method for simulating the input of multi-channel video encoders into a video monitoring system.

背景技术Background technique

视频监控系统一般包括监控摄像机、硬盘录像机、云台、云台解码器等组成设备。构建一个视频监控系统,最重要的就是对该系统的性能进行测试,而视频监控系统的性能测试需要模拟很多路的视频图像。在现有的处理方法中,一般采用实际的编码器或者IP摄像机(含高清)模拟视频图像输入,而搭建这样的一个测试环境必然需要投入大量的设备,这势必会加大投资的成本和测试的周期。而且,对于视频图像内容的分析,往往还需要现场的录像数据,而这些录像数据如何导入到视频监控系统中作为测试样本,一直也没有一种理想有效的途径。A video surveillance system generally includes surveillance cameras, hard disk video recorders, PTZs, PTZ decoders and other components. To build a video surveillance system, the most important thing is to test the performance of the system, and the performance test of the video surveillance system needs to simulate many channels of video images. In the existing processing methods, the actual encoder or IP camera (including high-definition) is generally used to simulate video image input, and building such a test environment will inevitably require a large amount of equipment, which will inevitably increase the cost of investment and testing. cycle. Moreover, the analysis of video image content often requires on-site video data, and how to import these video data into the video surveillance system as a test sample has never been an ideal and effective way.

为了解决以上存在的问题,人们一直在寻求一种理想的技术解决方案。In order to solve the above existing problems, people have been seeking an ideal technical solution.

发明内容Contents of the invention

本发明的目的是针对现有技术的不足,从而提供一种模拟多路视频编码器输入视频监控系统的方法,该方法解决了传统搭建视频监控系统平台时需使用大量编码设备的问题,具有易于实现和投资成本低的优点。The purpose of the present invention is to address the deficiencies in the prior art, thereby providing a method for simulating multi-channel video encoder input into a video surveillance system. Advantages of low implementation and investment costs.

为了实现上述目的,本发明所采用的技术方案是:一种模拟多路视频编码器输入视频监控系统的方法,它包括以下步骤:In order to achieve the above object, the technical solution adopted in the present invention is: a method for simulating a multi-channel video encoder input video surveillance system, which includes the following steps:

步骤1:获取音视频数据,所述音视频数据是从编码器设备处获取的音视频码流,或者是直接读取的本地音视频文件;Step 1: Obtain audio and video data, the audio and video data is the audio and video code stream obtained from the encoder device, or a local audio and video file directly read;

步骤2:将获取的音视频数据保存在缓冲区,同时所述缓冲区设定上限,超过所述缓冲区的上限则删除最早的数据;Step 2: save the audio and video data obtained in the buffer zone, and set an upper limit for the buffer zone, and delete the earliest data if the upper limit of the buffer zone is exceeded;

步骤3:对应每个视频监控系统的发送对象设置发送缓冲区,将保存在缓冲区中的音视频数据发送到各个发送缓冲区,同时所述发送缓冲区设定上限,超过所述发送缓冲区的上限则删除最早的数据。Step 3: Set the sending buffer corresponding to the sending object of each video surveillance system, send the audio and video data stored in the buffer to each sending buffer, and set the upper limit of the sending buffer at the same time, exceeding the sending buffer If the upper limit is set, the oldest data will be deleted.

基于上述,所述缓冲区和所述发送缓冲区均采用内存池方式。 Based on the above, both the buffer and the sending buffer adopt a memory pool manner. the

本发明相对现有技术具有实质性特点和进步,具体的说,本发明支持从编码器获取码流和读本地文件两种方式,能满足视频监控系统的性能测试、功能测试演示、分析算法测试等多种需求;本发明方法能模拟多路编码器输入视频监控系统,从而大幅度降低了视频监控系统平台测试的投资成本,同时还可以缩短测试周期。Compared with the prior art, the present invention has substantive characteristics and progress. Specifically, the present invention supports two ways of obtaining code stream from the encoder and reading local files, and can meet the performance test, function test demonstration, and analysis algorithm test of the video surveillance system. and other requirements; the method of the present invention can simulate multi-channel encoder input video monitoring system, thereby greatly reducing the investment cost of the video monitoring system platform test, and can also shorten the test cycle at the same time.

具体实施方式Detailed ways

下面通过具体实施方式,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be described in further detail below through specific implementation methods.

一种模拟多路视频编码器输入视频监控系统的方法,它包括以下步骤:A method for simulating multi-channel video encoder input video monitoring system, it comprises the following steps:

步骤1:获取音视频数据,所述音视频数据可以是从真实的编码器、IP摄像机处获取的音视频码流,也可以是直接读取的本地音视频文件;Step 1: Obtain audio and video data, the audio and video data can be the audio and video code stream obtained from a real encoder, IP camera, or a local audio and video file directly read;

步骤2:将获取的音视频数据保存在缓冲区,所述缓冲区设定上限,若超过所述缓冲区的上限,则删除最早的数据;Step 2: the obtained audio and video data is stored in a buffer, and the buffer is set as an upper limit, and if the upper limit of the buffer is exceeded, the earliest data is deleted;

步骤3:对应每个视频监控系统的发送对象设置发送缓冲区,将保存在缓冲区中的音视频数据发送到各个发送缓冲区,一路音视频码流即可模拟高达几百路的音视频码流输入视频监控系统,发送音视频数据时,采用多线程技术,网络通信则采用异步发送机制,线程遍历发送对象后发送音视频数据,从而发送到各个对象间的数据互不影响,保证了发送效率和准确性;所述发送缓冲区设定上限,若超过所述发送缓冲区的上限,则删除最早的数据。Step 3: Set the sending buffer corresponding to the sending object of each video surveillance system, and send the audio and video data stored in the buffer to each sending buffer, and one audio and video code stream can simulate up to hundreds of audio and video codes The streaming input video monitoring system adopts multi-threading technology when sending audio and video data, and the network communication adopts an asynchronous sending mechanism. The thread traverses the sending object and sends the audio and video data, so that the data sent to each object does not affect each other, ensuring the transmission Efficiency and accuracy; the sending buffer sets an upper limit, and if the upper limit of the sending buffer is exceeded, the earliest data is deleted.

为了提高视频监控系统的响应性能,所述缓冲区和所述发送缓冲区均采用内存池方式,这样能减少系统对内存的频繁申请和释放。In order to improve the response performance of the video monitoring system, both the buffer and the sending buffer adopt a memory pool mode, which can reduce frequent application and release of memory by the system.

使用该方法向视频监控系统接入音视频码流后,可以对视频监控系统的软件进行转发、存储等性能测试;当获取的音视频数据是读取的本地音视频文件时,还可以以现场录像实际场景方式再现现场真实场景,不仅可以用于系统功能测试、客户演示,还可以用于视频图像的分析算法测试。After using this method to access the audio and video code stream to the video surveillance system, performance tests such as forwarding and storage can be performed on the software of the video surveillance system; The method of recording the actual scene reproduces the real scene on site, which can not only be used for system function test, customer demonstration, but also for video image analysis algorithm test.

最后应当说明的是:以上实施例仅用以说明本发明的技术方案而非对其限制;尽管参照较佳实施例对本发明进行了详细的说明,所属领域的普通技术人员应当理解:依然可以对本发明的具体实施方式进行修改或者对部分技术特征进行等同替换;而不脱离本发明技术方案的精神,其均应涵盖在本发明请求保护的技术方案范围当中。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit them; although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that: the present invention can still be Modifications to the specific implementation of the invention or equivalent replacement of some technical features; without departing from the spirit of the technical solution of the present invention, should be included in the scope of the technical solution claimed in the present invention.

Claims (2)

Translated fromChinese
1.一种模拟多路视频编码器输入视频监控系统的方法,其特征在于,它包括以下步骤:1. A method for simulating a multi-channel video encoder input video monitoring system, is characterized in that it may further comprise the steps:步骤1:获取音视频数据,所述音视频数据是从编码器设备处获取的音视频码流,或者是直接读取的本地音视频文件;Step 1: Obtain audio and video data, the audio and video data is the audio and video code stream obtained from the encoder device, or a local audio and video file directly read;步骤2:将获取的音视频数据保存在缓冲区,同时所述缓冲区设定上限,超过所述缓冲区的上限则删除最早的数据;Step 2: save the audio and video data obtained in the buffer zone, and set an upper limit for the buffer zone, and delete the earliest data if the upper limit of the buffer zone is exceeded;步骤3:对应每个视频监控系统的发送对象设置发送缓冲区,将保存在缓冲区中的音视频数据发送到各个发送缓冲区,同时所述发送缓冲区设定上限,超过所述发送缓冲区的上限则删除最早的数据。Step 3: Set the sending buffer corresponding to the sending object of each video surveillance system, send the audio and video data stored in the buffer to each sending buffer, and set the upper limit of the sending buffer at the same time, exceeding the sending buffer If the upper limit is set, the oldest data will be deleted.2.根据权利要求1所述的一种模拟多路视频编码器输入视频监控系统的方法,其特征在于:所述缓冲区和所述发送缓冲区均采用内存池方式。2. A method for simulating input of multiple video encoders into a video surveillance system according to claim 1, wherein both the buffer and the sending buffer adopt a memory pool method.
CN2012105786384A2012-12-282012-12-28Method for simulating input video monitoring system of multi-channel video coderPendingCN103024360A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2012105786384ACN103024360A (en)2012-12-282012-12-28Method for simulating input video monitoring system of multi-channel video coder

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2012105786384ACN103024360A (en)2012-12-282012-12-28Method for simulating input video monitoring system of multi-channel video coder

Publications (1)

Publication NumberPublication Date
CN103024360Atrue CN103024360A (en)2013-04-03

Family

ID=47972439

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2012105786384APendingCN103024360A (en)2012-12-282012-12-28Method for simulating input video monitoring system of multi-channel video coder

Country Status (1)

CountryLink
CN (1)CN103024360A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105516630A (en)*2015-12-142016-04-20讯美电子科技有限公司Method for simulating preview of real-time streaming data of hard disk video
CN106341287A (en)*2015-07-102017-01-18杭州海康威视系统技术有限公司Cloud storage system test method, device and system
CN109582674A (en)*2018-11-282019-04-05亚信科技(南京)有限公司A kind of date storage method and system
CN109905697A (en)*2019-02-272019-06-18苏州科达科技股份有限公司Video conference test method, device and storage medium
CN111031279A (en)*2019-11-292020-04-17武汉烽火众智数字技术有限责任公司Monitoring platform-based simulation front-end equipment point location construction method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6778265B1 (en)*1999-11-102004-08-17Thomson Licensing S.A.Copy feature for recordable DVD editing
CN101330609A (en)*2008-07-312008-12-24南京大学 A multi-path wireless video transmission method and system
CN101419828A (en)*2008-11-202009-04-29杭州海康威视数字技术股份有限公司Hard disc video recording and retrieval method for analog magnetic tape serial schema
CN101706675A (en)*2009-11-172010-05-12北京中科大洋科技发展股份有限公司High standard-definition video-audio IO card with internal switching function
CN101873487A (en)*2010-02-092010-10-27杭州海康威视数字技术股份有限公司Decoding method, decoder and system based on audio/video monitoring system
CN102002582A (en)*2009-09-032011-04-06复旦大学Method and device for synchronously analyzing and monitoring band steel by using image identification
CN102231821A (en)*2011-06-232011-11-02深圳中兴力维技术有限公司Data storage method applied in remote video monitoring system and system thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US6778265B1 (en)*1999-11-102004-08-17Thomson Licensing S.A.Copy feature for recordable DVD editing
CN101330609A (en)*2008-07-312008-12-24南京大学 A multi-path wireless video transmission method and system
CN101419828A (en)*2008-11-202009-04-29杭州海康威视数字技术股份有限公司Hard disc video recording and retrieval method for analog magnetic tape serial schema
CN102002582A (en)*2009-09-032011-04-06复旦大学Method and device for synchronously analyzing and monitoring band steel by using image identification
CN101706675A (en)*2009-11-172010-05-12北京中科大洋科技发展股份有限公司High standard-definition video-audio IO card with internal switching function
CN101873487A (en)*2010-02-092010-10-27杭州海康威视数字技术股份有限公司Decoding method, decoder and system based on audio/video monitoring system
CN102231821A (en)*2011-06-232011-11-02深圳中兴力维技术有限公司Data storage method applied in remote video monitoring system and system thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106341287A (en)*2015-07-102017-01-18杭州海康威视系统技术有限公司Cloud storage system test method, device and system
CN105516630A (en)*2015-12-142016-04-20讯美电子科技有限公司Method for simulating preview of real-time streaming data of hard disk video
CN109582674A (en)*2018-11-282019-04-05亚信科技(南京)有限公司A kind of date storage method and system
CN109582674B (en)*2018-11-282023-12-22亚信科技(南京)有限公司Data storage method and system
CN109905697A (en)*2019-02-272019-06-18苏州科达科技股份有限公司Video conference test method, device and storage medium
CN111031279A (en)*2019-11-292020-04-17武汉烽火众智数字技术有限责任公司Monitoring platform-based simulation front-end equipment point location construction method and system

Similar Documents

PublicationPublication DateTitle
CN108234997B (en)Time-delay measuring method, equipment, system and the computer-readable medium of live video
CN102301730B (en) Multi-channel audio and video transmission and processing method, device and system
CN105791431B (en) An online distributed monitoring video processing task scheduling method and device
TWI540887B (en)Audio and video media files composition method and server system
CN103024360A (en)Method for simulating input video monitoring system of multi-channel video coder
CN104185018B (en)For web camera simulator and the testing method of video monitoring system test
CN101536014A (en)Embedded device for multimedia capture
CN102868939A (en)Method for synchronizing audio/video data in real-time video monitoring system
CN103108160B (en)Monitor video data capture method, server and terminal
WO2018076998A1 (en)Method and device for generating playback video file
CN103731631A (en)Method, device and system for transmitting video image
CN102655585A (en)Video conference system and time delay testing method, device and system thereof
CN110008102B (en)Server performance testing method and system based on intelligent video application
CN109698943B (en) A Capacity Scalable Network Camera Access Platform
CN102737681B (en)Performance testing method and device of stream media player
CN102932640A (en)Method for controlling video stream frame rate
CN109040640A (en)A kind of distributed video storage-playback
CN106454249A (en)Device for simulating multipath high-definition real-time audio and video transmission and method thereof
US20140025782A1 (en)System and method for playing and transmitting network video
CN205693815U (en)A kind of ultra high-definition transmission of video and storage system
CN202334750U (en)High-definition AV (Audio/Video) trial system
CN108012085B (en) A kind of multimedia information processing method, server and storage medium
CN102521301B (en)Retrieval method and retrieval system of video and audio monitoring information
CN110635969B (en)High concurrency test method for streaming media direct memory system
CN111614969A (en) UAV inspection video live broadcast method and system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C12Rejection of a patent application after its publication
RJ01Rejection of invention patent application after publication

Application publication date:20130403


[8]ページ先頭

©2009-2025 Movatter.jp