System for testing video and audio out-of-step time of digital camera
阅读说明:本技术 一种用于测试数字摄像机视音频失步时间的系统 (System for testing video and audio out-of-step time of digital camera ) 是由 宋明 李鹍 王俊飞 张天宇 姚珍富 张强 李苏雯 乔静怡 侯克冰 张俊凯 张利飞 于 2019-09-18 设计创作,主要内容包括:本发明提出了一种用于测试数字摄像机视音频失步时间的系统,由显示终端、数字条码显示模块、高速拍摄模块、智能分析模块和音频信号发生模块、音频采集分析模块等部分组成。数字条码显示模块、高速拍摄模块和智能分析模块组成视频时延测试单元,音频信号发生模块和音频采集分析模块组成音频时延测试单元,智能分析模块计算视频时延和音频时延之间的差值,即被测摄像机的视音频失步时间;视频时延测试单元和音频时延测试单元,通过视频时延测试单元形成独立视频通路,进行视频时延测试;音频时延测试单元形成独立的音频通路,进行音频时延测试。本发明系统能实时、快速地计算数字摄像机视音频失步时间,有很好的重复性。(The invention provides a system for testing video and audio step-out time of a digital camera, which comprises a display terminal, a digital bar code display module, a high-speed shooting module, an intelligent analysis module, an audio signal generation module, an audio acquisition and analysis module and the like. The digital bar code display module, the high-speed shooting module and the intelligent analysis module form a video time delay test unit, the audio signal generation module and the audio acquisition and analysis module form an audio time delay test unit, and the intelligent analysis module calculates the difference value between the video time delay and the audio time delay, namely the video and audio step-out time of the tested camera; the video time delay testing unit and the audio time delay testing unit form an independent video channel through the video time delay testing unit to carry out video time delay testing; the audio time delay test unit forms an independent audio channel to carry out audio time delay test. The system of the invention can calculate the video and audio out-of-step time of the digital camera in real time and rapidly, and has good repeatability.)
1. A system for testing video and audio out-of-sync times of a digital camera, comprising:
the display terminal is connected with a tested camera;
the video time delay testing unit comprises a digital bar code display module, a high-speed shooting module and an intelligent analysis module, wherein the digital bar code display module is used for providing a first time mark, the camera to be tested shoots the first time mark on the digital bar code display module and outputs the first time mark to the display terminal to be used as a second time mark for displaying; the high-speed shooting module shoots the first time mark and the second time mark at the same time and outputs a time mark image to the intelligent analysis module; the intelligent analysis module is used for outputting the time difference between the first time mark and the second time mark as video time delay;
the audio time delay testing unit comprises an audio signal generating module and an audio collecting and analyzing module, wherein the audio signal generating module is respectively connected with the audio collecting and analyzing module, the tested camera and the intelligent analyzing module, and the audio signal generating module is used for outputting a first audio signal and respectively outputting the first audio signal to the audio collecting and analyzing module and the tested camera; the audio acquisition and analysis module receives the first audio signal and a second audio signal output by the tested camera and outputs audio time delay, and the audio acquisition and analysis module is also used for outputting the audio time delay to the intelligent analysis module;
and the intelligent analysis module is also used for outputting the difference value between the video time delay and the audio time delay as the video and audio out-of-step time of the tested camera.
2. The system for testing the video and audio step-out time of a digital camera as claimed in claim 1, wherein the digital bar code display module comprises a stepping motor, two rotating wheels, a belt and a bar code, the two rotating wheels are spaced by a preset distance; the belt is sleeved on the two rotating wheels so that the two rotating wheels rotate synchronously; the bar codes are arranged on the belt uniformly; the stepping motor is connected with one rotating wheel and used for driving the rotating wheel to rotate.
3. The system for testing the audio-visual step-out time of a digital camera as claimed in claim 2, wherein the bar codes are provided with codes, and the codes on a plurality of the bar codes are arranged in an equal difference mode.
4. The system for testing the audio-visual step-out time of a digital camera as claimed in claim 3, wherein the bar code is provided with a code range of 0-999.
5. The system for testing audio and video out-of-step time of a digital video camera of claim 2, wherein the stepper motor is a speed adjustable motor.
6. The system for testing audio and video out-of-sync time of a digital video camera of claim 1, wherein the audio capture analysis module outputs the audio delay based on a time difference between the first audio signal and the second audio signal.
7. The system for testing the video and audio out-of-step time of a digital camera according to any one of claims 1 to 6, wherein the intelligent analysis module comprises an image capture unit, a bar code recognizer, a main controller and a processor, the image capture unit is used for capturing the time mark image captured by the high-speed capture module and outputting the captured time mark image to the bar code recognizer, and the bar code recognizer is used for recognizing the first time mark and the second time mark in the time mark image; the main controller is used for controlling the audio signal generator and controlling the time interval when the image capturing unit captures the time mark image; the processor is configured to output a time difference between the audio delay and the video delay.
8. The system for testing audio-visual step-out time of a digital video camera of claim 7, wherein the audio signal generator comprises a controller and a sinusoidal signal generator.
9. The system for testing the video and audio out-of-step time of a digital video camera as claimed in claim 6, wherein the controller is connected to the intelligent analysis module, receives the control command from the intelligent analysis module, and controls the frequency and amplitude of the sinusoidal signal generator according to the control command.
10. The system for testing video and audio step-out time of a digital video camera of claim 8, wherein the main controller is connected to the controller, and the main controller is configured to control the controller to provide the audio signal generator with a random sound signal template and adjust the transmission time interval of the first audio signal.
Technical Field
The invention relates to the technical field of video monitoring, in particular to a system for testing video and audio out-of-step time of a digital camera.
Background
At present, in the field of video monitoring systems, the quality of video images and the fluency of videos are the most important technical indexes, but digital video monitoring cameras have an audio coding function at the same time, and audio and video have the same importance in certain specific occasions, and audio is also used as important monitoring data, and sound and images need to be recorded at the same time. This is necessary to ensure the synchronization of sound and image. Because the audio and the video adopt different coding technologies and packaging formats, the final presentation of the video and the audio is asynchronous, and therefore, the video and the audio synchronism of the digital camera is judged by accurately testing the out-of-step time of the video and the audio. It is obvious to see if the audio signal leads the video signal by 90ms or if the audio signal lags the video signal by 185 ms.
The video and audio desynchronization of the existing test digital video monitoring camera mainly comprises the steps of marking an audio label on a video stream and calculating the time delay of audio through a video frame rate, and the test method has two problems: 1) the time delay of the audio depends on the frame rate of the video, and the time delay of the audio is integral multiple of the time interval of each frame of the video; 2) the audio and video sequence with audio label in the video stream has the risk of desynchronization when transmitting to the digital video monitoring camera to be tested.
Disclosure of Invention
In view of this, the present invention provides a system for testing video and audio out-of-step time of a digital video camera, which aims to solve the problem of how to test the video and audio out-of-step time of the digital video surveillance camera with high precision.
In one aspect, the present invention provides a system for testing video and audio out-of-sync time of a digital camera, comprising:
the display terminal is connected with a tested camera;
the video time delay testing unit comprises a digital bar code display module, a high-speed shooting module and an intelligent analysis module, wherein the digital bar code display module is used for providing a first time mark, the camera to be tested shoots the first time mark on the digital bar code display module and outputs the first time mark to the display terminal to be used as a second time mark for displaying; the high-speed shooting module shoots the first time mark and the second time mark at the same time and outputs a time mark image to the intelligent analysis module; the intelligent analysis module is used for outputting the time difference between the first time mark and the second time mark as video time delay;
the audio time delay testing unit comprises an audio signal generating module and an audio collecting and analyzing module, wherein the audio signal generating module is respectively connected with the audio collecting and analyzing module, the tested camera and the intelligent analyzing module, and the audio signal generating module is used for outputting a first audio signal and respectively outputting the first audio signal to the audio collecting and analyzing module and the tested camera; the audio acquisition and analysis module receives the first audio signal and a second audio signal output by the tested camera and outputs audio time delay, and the audio acquisition and analysis module is also used for outputting the audio time delay to the intelligent analysis module;
and the intelligent analysis module is also used for outputting the difference value between the video time delay and the audio time delay as the video and audio out-of-step time of the tested camera.
Furthermore, the digital bar code display module comprises a stepping motor, two rotating wheels, a belt and a bar code, wherein the two rotating wheels are arranged at a preset interval; the belt is sleeved on the two rotating wheels so that the two rotating wheels rotate synchronously; the bar codes are arranged on the belt uniformly; the stepping motor is connected with one rotating wheel and used for driving the rotating wheel to rotate.
Furthermore, the bar codes are provided with codes, and the codes on the bar codes are arranged in an equal difference mode.
Furthermore, the code range of the bar code is 0-999.
Further, the stepping motor is a rotating speed adjustable motor.
Further, the audio acquisition and analysis module outputs the audio time delay according to the time difference between the first audio signal and the second audio signal.
Further, the intelligent analysis module comprises an image capture unit, a barcode recognizer, a main controller and a processor, wherein the image capture unit is used for capturing the time stamp image captured by the high-speed shooting module and outputting the captured time stamp image to the barcode recognizer, and the barcode recognizer is used for recognizing the first time stamp and the second time stamp in the time stamp image; the main controller is used for controlling the audio signal generator and controlling the time interval when the image capturing unit captures the time mark image; the processor is configured to output a time difference between the audio delay and the video delay.
Further, the audio signal generator includes a controller and a sinusoidal signal generator.
Further, the controller is connected with the intelligent analysis module, receives a control instruction of the intelligent analysis module, and controls the frequency and the amplitude of the sinusoidal signal generator according to the control instruction.
Further, the main controller is connected with the controller, and the main controller is configured to control the controller to provide a random sound signal template for the audio signal generator, and adjust a sending time interval of the first audio signal.
Compared with the prior art, the video time delay testing unit and the audio time delay testing unit are arranged, the video time delay testing unit and the audio time delay testing unit are respectively used for forming the independent video channel so as to perform video time delay testing, the audio time delay testing unit is used for forming the independent audio channel so as to perform audio time delay testing, and the time difference between the video time delay testing result and the audio time delay testing result is calculated so as to obtain the final video and audio step-out time.
Furthermore, the system for testing the video and audio step-out time of the digital camera of the invention enables the video and audio step-out test to be simple and accurate, and simultaneously can independently test the time delay of video and audio. The system can control the video and audio out-of-step error to be in millisecond level at most according to the error requirement.
Furthermore, by arranging the digital bar code display module, the accuracy of the video delay and audio delay results is greatly improved by taking the digital bar code display module as a reference for calculating time.
Furthermore, the audio time delay test method adopts a controllable random signal as the output of the audio signal generator, an analog audio signal as the input of the test and double analog signal tests, so that the audio time delay measurement is more accurate, and the error can be controlled within 1% millisecond.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a functional block diagram of a system for testing video and audio out-of-sync time of a digital video camera according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a digital barcode display module according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an audio signal generator according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an audio signal provided by an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an intelligent analysis module according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
Referring to fig. 1, an embodiment of the present invention provides a system for testing video and audio out-of-step time of a digital camera, including: the device comprises a
Specifically, the video time delay testing unit comprises a
Specifically, the audio time delay testing unit comprises an audio signal generating
Specifically, the
In particular, the audio
It can be seen that, by arranging the video time delay test unit and the audio time delay test unit, independent video channels are formed through the video time delay test unit respectively to perform video time delay test, independent audio channels are formed through the audio time delay test unit to perform audio time delay test, and the time difference between the test results of the video time delay and the audio time delay is calculated to obtain the final video and audio step-out time.
Specifically, the
Specifically, the
Referring to fig. 2, the
Specifically, the
Specifically, the
It can be seen that the accuracy of the video delay and audio delay results is greatly improved by arranging the
In specific implementation, the
Specifically, the imaging of the
Specifically, the audio
Specifically, the high-
As shown in connection with fig. 3, in particular, the audio
In detail, as shown in fig. 4, the audio acquisition and
It can be seen that the audio time delay test method adopts controllable random signals as the output of the audio
Particularly, after the whole system is operated, the video and audio distortion of the camera can be detected in real time, and the system operation efficiency and the accuracy of a test result are greatly improved.
Specifically, as shown in fig. 5, the
Specifically, the
It can be seen that the audio time delay test method adopts controllable random signals as the output of the audio
Specifically, the
Specifically, after the system normally operates, the high-speed shooting module shoots the bar codes on the display terminal and the digital bar code display module at the same time, the bar code on the terminal is 500, the bar code on the digital bar code display module is 800, and the difference value between the bar codes is 200. The intelligent analysis module calculates the difference value of two barcodes on the digital barcode display module which is shot twice continuously by the high-speed shooting module, the difference value of the two barcodes on the digital barcode display module which is shot continuously is 2, the frame rate of the high-speed shooting module is assumed to be 2000 frames, the time interval of the two barcodes is (1/2000) × 2 ═ 0.001s, the barcode time interval is known, and the time delay of a video is 200 × 0.001 ═ 0.200 s. The audio signal generating module sets the frequency of the audio signal to be 3kHz, the amplitude to be 500mv, the sending interval to be 1s, and the audio signal generator starts to send signals. The audio acquisition and analysis module receives a signal sent by the audio signal generator, records the starting time of 0.000s, receives an audio signal output by the tested camera, and also records the time of 0.100s, and the time is 0.100s which is the audio time delay after the time of 0.100-0.000 s is subtracted from the time of the starting time. Video and audio step-out time delay-video time delay-audio time delay-0.200-0.100 s.
Therefore, the invention makes the video and audio step-out test simple and accurate, and simultaneously can test the time delay of the video and the audio independently. The system can control the video and audio out-of-step error to be in millisecond level at most according to the error requirement.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种基于背景模型的监控摄像头遮挡实时检测方法