CN102857735A - Real-time video synchronous automatic detection and recovery method - Google Patents

Real-time video synchronous automatic detection and recovery method Download PDF

Info

Publication number
CN102857735A
CN102857735A CN2011101822601A CN201110182260A CN102857735A CN 102857735 A CN102857735 A CN 102857735A CN 2011101822601 A CN2011101822601 A CN 2011101822601A CN 201110182260 A CN201110182260 A CN 201110182260A CN 102857735 A CN102857735 A CN 102857735A
Authority
CN
China
Prior art keywords
video
microprocessor
signal
real
dma
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
CN2011101822601A
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.)
Shanghai Radio Equipment Research Institute
Original Assignee
Shanghai Radio Equipment Research Institute
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 Shanghai Radio Equipment Research Institute filed Critical Shanghai Radio Equipment Research Institute
Priority to CN2011101822601A priority Critical patent/CN102857735A/en
Publication of CN102857735A publication Critical patent/CN102857735A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention relates to the field of a real-time video monitoring system, aims at solving the technical problem that the video recovery has great delay particularly after video interrupt caused by a certain cause in the current real-time video transmission process or the phenomenon of asynchronous videos with dislocated images happens, and provides a real-time video synchronous automatic detection and recovery method which reduces the computational complexity and quickly recovers the video to realize self-synchronization to guarantee a normal image on the premise of not increasing the hardware cost in the case of video interrupt. The method provided by the invention only requires a microprocessor to perform accumulative counting of a counter after the DMA (direct memory access) transmission is finished each time and make simple judgment after the transmission of each complete frame is over by use of an interrupt mechanism based on the characteristics of DMA background processing, thereby reducing the processing complexity of synchronous judgment; and moreover, since nearly the whole processes are performed at the background, the microprocessor is liberated, the processing delay of the microprocessor is reduced, and the quick recovery after video interrupt is facilitated.

Description

The method of the synchronously automatic detect and recovery of a kind of real-time video
Technical field:
The present invention relates to the real-time video monitoring system field.
Background technology:
In the real-time video monitoring field, especially aspect the TV guidance video surveillance applications, very high to the requirement of real-time and definition, when video breaks occurring, such as the how the shortest time, the picture recovery video seems extremely important the most clearly.For video acquisition, transmission and processing, the scheme of main flow is exactly on the platforms such as microprocessor and programmable logic device at present, realize that H.264 video compression algorithms such as (a kind of active images and the compression standards of sound) compresses video, the playback of transmitting, receive, decode of the data after compressing.This scheme relates to the synchronous Check processing problem in video acquisition, video data transmitting and the Video processing, and traditional method all is in microprocessor the video data that receives to be carried out real-time synchronization to detect, to judge whether synchronously.The method one is to have taken a large amount of microprocessor resources, the 2nd, the processing delay of the Active Eyes that increases, be unfavorable for the system real time requirement, come hardware is upgraded and take improved way normally to change microprocessor, carry out simultaneously the code platform transplantation, exchange the deficiency of framework for high performance hardware platform, this has increased human cost and hardware cost undoubtedly.
Summary of the invention:
Technical problem to be solved by this invention is in the present real-time video transmission process, especially after causing video breaks for a certain reason, video recovers time-delay greatly again, or the video asynchrony phenomenon that picture misplaces appears, and the method for the synchronously automatic detect and recovery of a kind of real-time video is provided, in occurring, video has no progeny, under the prerequisite that does not increase hardware cost, reduce computation complexity, recover fast video, realize that motor synchronizing guarantees that picture is normal.
For solving the problems of the technologies described above, the present invention proposes following technical scheme to realize:
The method of the synchronously automatic detect and recovery of a kind of real-time video, the synchronously automatic detect and recovery system of described real-time video mainly comprises video source, A/D video decoding chip, signal is processed microprocessor and programmable logic device; Described video source is decoded as digital video signal to analog video signal with the analog video signal input A/D video decoding chip of pal mode; Digital video signal and Real-Time Monitoring video frame synchronization, vertical synchronization and the line synchronizing signal of programmable logic device receiver, video A/D input, the row cache digital video signal of going forward side by side; Signal is processed little processing and is received digital video signal from programmable logic device packing transmission, and the whole frame vision signal that receives is carried out the associated video such as compressed encoding and process.
It is characterized in that:
The method of the synchronously automatic detect and recovery of described real-time video is carried out according to following steps:
Step 1, analog video data are decoded as digital video signal through the A/D video decoding chip;
Step 2, digital video frequency flow are input in the buffering area of programmable logic device, and the thresholding size of buffering area is set to N DlineRow video data length; When the video data that gathers surpasses thresholding, by interrupting control signal to microprocessor, trigger microprocessor IE DMA, the N in the buffering area by programmable logic device DlineThe row video data transmitting is to microprocessor; Total line number of one-frame video data is N FlineOK, need altogether DMA to move N Fline/ N DlineInferior; After single DMA data-moving is finished, DMA is moved counter n add 1; After one-frame video data is transmitted, by interrupting control signal to microprocessor, finish interruption to trigger transmission of video by programmable logic device, judge whether one-frame video data transmits correctly; If loading error occurring, then putting n is 0, and the source address of replacement DMA and destination address, so guarantees the synchronous and complete of next frame transmission of video.
The present invention brings following beneficial effect:
Traditional Digital Video collection transmission system need to increase the extra work amount and carry out audio video synchronization and judge that this is to high real time video collection, compression, transmission system, and what bring is that time-delay is large, power consumption large with the high problem of cost.The present invention adopts the characteristics of DMA background process, utilize interrupt mechanism, only need microprocessor to be transmitted the stored counts of laggard linage-counter at each DMA, and do simple judgement after each whole frame end of transmission and get final product, reduced synchronous judgement and processed complexity, whole process has been liberated microprocessor nearly all at running background, reduce the microprocessor processes time-delay, be conducive to the fast quick-recovery after the video breaks.
Description of drawings:
Fig. 1: a video acquisition transfer process of the present invention figure
Embodiment:
Below in conjunction with the drawings and specific embodiments, as an example of certain long-range real-time video monitoring equipment example the present invention is described further:
Certain long-range real-time video monitoring equipment is by video camera, video acquisition encoding device, wireless transmitting device, and several parts of radio receiver, video decoding apparatus and monitor form.Video camera and video acquisition encoding device and wireless transmitting device are installed on the long-range vehicles such as unmanned plane, and radio receiver, video decoding apparatus and monitor are installed in the grounded receiving station.Monitoring image by the video camera shooting of installing on the unmanned plane, data after the video acquisition encoding device is processed, go out by radio wave transmission via wireless transmitting device again, after the radio receiver receiving demodulation is passed through in the grounded receiving station, by after the video decoding apparatus decoding, information that can the unmanned plane investigation of real time monitoring the place ahead on monitor.
In the present embodiment, an important module in the video acquisition compressing and coding apparatus is exactly the synchronously automatic detect and recovery system of real-time video of the present invention.As shown in Figure 1: the analog video data of standard P AL standard is decoded as standard P AL standard digital video signal (resolution is 720*576) through the A/D video decoding chip, digital video frequency flow is input in the buffering area of programmable logic device, and the thresholding of buffering area size is N Th, such as N Dline=4 o'clock, N Th=N Dline* 720=2880 is when the video data that gathers surpasses thresholding N ThThe time,, trigger microprocessor DMA and start by interrupting control signal to microprocessor by programmable logic device, by DMA 4 row video data transmittings in the buffering area to microprocessor.Total line number of the video data of described system one frame pal mode is N Fline=576 row need DMA to move N so altogether Fline/ N Dline=144 times.After single DMA data-moving is finished, produce to move to finish and interrupt 1 simultaneously, move counter n at 1 couple of DMA of interruption and add 1; After in programmable logic device, determining one-frame video data and being transmitted, by interrupting control signal to microprocessor, trigger microprocessor and produce transmission of video and finish and interrupt 2, whether equal N interrupting the 2 interior n of judgement Fline/ N Dline=144, if satisfy, represent that then the one-frame video data transmission is correct; Otherwise the judgement transmission of video is made mistakes synchronously, and juxtaposition n is 0, and the source address of replacement DMA and destination address, to guarantee to begin the integrality of a new frame transmission of video.Then just according to flow process be cycled to repeat gather, transmit, interrupt judge and reprocessing, accordingly transmission, receipt decoding and playback are encoded, launched to the frame of video that receives, finish the process of real-time video monitoring.

Claims (1)

1. the synchronous automatic method of detect and recovery of a real-time video, described real-time video synchronously automatically the detect and recovery system mainly comprise video source, A/D video decoding chip, signal is processed microprocessor and programmable logic device; Described video source is decoded as digital video signal to analog video signal with the analog video signal input A/D video decoding chip of pal mode; Digital video signal and Real-Time Monitoring video frame synchronization, vertical synchronization and the line synchronizing signal of programmable logic device receiver, video A/D input, the row cache digital video signal of going forward side by side; Signal is processed little processing and is received digital video signal from programmable logic device packing transmission, and the whole frame vision signal that receives is carried out the associated video such as compressed encoding and process;
It is characterized in that:
The method of the synchronously automatic detect and recovery of described real-time video is carried out according to following steps:
Step 1, analog video data are decoded as digital video signal through the A/D video decoding chip;
Step 2, digital video frequency flow are input in the buffering area of programmable logic device, and the thresholding size of buffering area is set to N DlineRow video data length; When the video data that gathers surpasses thresholding, by interrupting control signal to microprocessor, trigger microprocessor IE DMA, the N in the buffering area by programmable logic device DlineThe row video data transmitting is to microprocessor; Total line number of one-frame video data is N FlineOK, need altogether DMA to move N Fline/ N DlineInferior; After single DMA data-moving is finished, DMA is moved counter n add 1; After one-frame video data is transmitted, by interrupting control signal to microprocessor, finish interruption to trigger transmission of video by programmable logic device, judge whether one-frame video data transmits correctly; If loading error occurring, then putting n is 0, and the source address of replacement DMA and destination address, so guarantees the synchronous and complete of next frame transmission of video.
CN2011101822601A 2011-06-30 2011-06-30 Real-time video synchronous automatic detection and recovery method Pending CN102857735A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101822601A CN102857735A (en) 2011-06-30 2011-06-30 Real-time video synchronous automatic detection and recovery method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101822601A CN102857735A (en) 2011-06-30 2011-06-30 Real-time video synchronous automatic detection and recovery method

Publications (1)

Publication Number Publication Date
CN102857735A true CN102857735A (en) 2013-01-02

Family

ID=47403878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101822601A Pending CN102857735A (en) 2011-06-30 2011-06-30 Real-time video synchronous automatic detection and recovery method

Country Status (1)

Country Link
CN (1) CN102857735A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596015A (en) * 2013-11-05 2014-02-19 广东威创视讯科技股份有限公司 Method and system for processing image
CN104683773A (en) * 2015-03-25 2015-06-03 成都好飞机器人科技有限公司 Video high-speed transmission method using unmanned aerial vehicle
CN107615742A (en) * 2015-06-02 2018-01-19 奥林巴斯株式会社 Display control unit and camera device
CN111031288A (en) * 2019-12-24 2020-04-17 中国兵器装备集团自动化研究所 Real-time video acquisition system and method based on wireless transmission

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123538A1 (en) * 2001-12-21 2003-07-03 Michael Krause Video recording and encoding in devices with limited processing capabilities
CN101056352A (en) * 2006-04-12 2007-10-17 南京Lg同创彩色显示***有限责任公司 Processing device of display input signals
CN101196990A (en) * 2007-10-11 2008-06-11 北京海鑫科金高科技股份有限公司 Network built-in type multiplex face detecting system and method thereof
CN101452428A (en) * 2008-11-19 2009-06-10 北京红旗胜利科技发展有限责任公司 DMA data-transmission method and system
CN101867452A (en) * 2010-06-10 2010-10-20 国网电力科学研究院 Communication method of serial real-time bus special in electricity

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123538A1 (en) * 2001-12-21 2003-07-03 Michael Krause Video recording and encoding in devices with limited processing capabilities
CN101056352A (en) * 2006-04-12 2007-10-17 南京Lg同创彩色显示***有限责任公司 Processing device of display input signals
CN101196990A (en) * 2007-10-11 2008-06-11 北京海鑫科金高科技股份有限公司 Network built-in type multiplex face detecting system and method thereof
CN101452428A (en) * 2008-11-19 2009-06-10 北京红旗胜利科技发展有限责任公司 DMA data-transmission method and system
CN101867452A (en) * 2010-06-10 2010-10-20 国网电力科学研究院 Communication method of serial real-time bus special in electricity

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103596015A (en) * 2013-11-05 2014-02-19 广东威创视讯科技股份有限公司 Method and system for processing image
CN103596015B (en) * 2013-11-05 2017-04-05 广东威创视讯科技股份有限公司 Image processing method and system
CN104683773A (en) * 2015-03-25 2015-06-03 成都好飞机器人科技有限公司 Video high-speed transmission method using unmanned aerial vehicle
CN107615742A (en) * 2015-06-02 2018-01-19 奥林巴斯株式会社 Display control unit and camera device
CN107615742B (en) * 2015-06-02 2020-03-17 奥林巴斯株式会社 Display control device and imaging device
CN111031288A (en) * 2019-12-24 2020-04-17 中国兵器装备集团自动化研究所 Real-time video acquisition system and method based on wireless transmission
CN111031288B (en) * 2019-12-24 2021-10-08 中国兵器装备集团自动化研究所有限公司 Real-time video acquisition system and method based on wireless transmission

Similar Documents

Publication Publication Date Title
WO2017219652A1 (en) Head mounted display, video output device, and video processing method and system
CN102348115B (en) Method and device for removing redundant images from video
CN102857735A (en) Real-time video synchronous automatic detection and recovery method
CN101389036B (en) Error correcting device suitable for video conference and method thereof
CN104506868B (en) Video code flow transmission method, apparatus and system
WO2018058575A1 (en) Processing method and system for flight image data, and ground end device
CN110769207B (en) Electronic endoscope signal transmission method, device, equipment and system
US20140022383A1 (en) Surveillance system, image compression serializer and image decompression deserializer
CN111083311A (en) Synchronization system and method for airborne multi-channel video and POS data of unmanned aerial vehicle
CN105450980B (en) A kind of high definition is taken photo by plane control and video retransmission method and system
CN114363563A (en) Distribution network monitoring system and method based on 5G ultra-high-definition video monitoring
CN103733615B (en) On-demand intra-refresh for end-to-end coded video transmission systems
CN102724489A (en) Method for reducing video coding time delay
CN112825562B (en) Video frame compensation method and device and video processing chip
CN105187688A (en) Method and system for carrying out synchronization on real-time video and audio collected by mobile phone
CN111866509A (en) Method for realizing real-time video data transmission based on forward error correction and receiving feedback
CN103428493A (en) Light wireless transmission system for high-definition videos
CN110798688A (en) High-definition video compression coding system based on real-time transmission
CN105430297A (en) Automatic control system for conversion from multi-video format to IIDC protocol video format
CN102256127B (en) Real-time video transmission system for multimode wireless communication network
CN101437157A (en) Multipath CDMA video transmission system for monitoring railway field video
US20220159210A1 (en) Data Transmission System and Data Transmission Method
CN104796728A (en) 4G-WIFI (fourth generation-wireless fidelity) high-definition network video server
WO2021042341A1 (en) Video display method, receiving end, system and storage medium
CN110691218B (en) Audio data transmission method and device, electronic equipment and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130102