CN101902631A - Method for rapidly positioning static scene in compressed video - Google Patents

Method for rapidly positioning static scene in compressed video Download PDF

Info

Publication number
CN101902631A
CN101902631A CN 200910085674 CN200910085674A CN101902631A CN 101902631 A CN101902631 A CN 101902631A CN 200910085674 CN200910085674 CN 200910085674 CN 200910085674 A CN200910085674 A CN 200910085674A CN 101902631 A CN101902631 A CN 101902631A
Authority
CN
China
Prior art keywords
frame
video
static
motion compensation
protection range
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
CN 200910085674
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.)
BEIJING FENGGE JIUZHOU CULTURAL DIFFUSION Co Ltd
Original Assignee
BEIJING FENGGE JIUZHOU CULTURAL DIFFUSION 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 BEIJING FENGGE JIUZHOU CULTURAL DIFFUSION Co Ltd filed Critical BEIJING FENGGE JIUZHOU CULTURAL DIFFUSION Co Ltd
Priority to CN 200910085674 priority Critical patent/CN101902631A/en
Publication of CN101902631A publication Critical patent/CN101902631A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention provides a method for rapidly positioning a static scene in a compressed video file or a video stream, which comprises the following steps of: initially positioning directly by utilizing motion compensating information in the video stream; and finding out a relatively static image frame from a compressed video and then confirming a static scene frame by using the statistical information contrast of a continuous macroblock corresponding to a residual reference frame after initial positioning. By applying the statistical information of the macroblock of the reference frame, the robustness of a detecting method on noise is improved, and the static frame in the compressed video can be rapidly and accurately positioned due to no decompression and high calculating speed; and only one macroblock is reserved in the continuous static frame, which prevents redundancy and is more convenient for the following application. The invention can be used for content-based video management, video editing, video snapshots, video file segmentation, and the like, belongs to the fields of multimedia and computer application and can be also used for the video monitoring of the industrial control and safety field.

Description

The method for rapidly positioning of static scene in the compressed video
Technical field
The present invention proposes a kind of from compressed video file or video flowing the quick method of location static scene, can be to being used for application such as cutting apart of content-based video management, video editing, video interception, video file.Belong to multimedia and computer application field, also can be used for the video monitoring of Industry Control and security fields.
Background technology
Shoot with video-corder as basic goal and be to obtain desirable picture, when catching personage's scene usually to the picture that fixes, shoot with video-corder when promptly taking as apparatus and keep stable and do not carry out the push-and-pull of picture, therefore important content that the picture that fixes is corresponding usually in the video also is one of content of being most interested in of spectators.The picture that fixes is located from video and extracted, at first to carry out the cutting of camera lens, continuous video on time and the space is become different one by one camera lenses: the one, on the time to the division and the location of camera lens, the 2nd, on the space to the division and the location of scene.The camera lens cutting is the first step that realizes the dynamic video information retrieval based on contents, is primitive with the image frame that detects, and can analyze and set up index to video content.
Along with shooting with video-corder as popularizing of apparatus and going deep into of application, the data of dynamic video data present quick growth trend.For managerial facility and the conserve storage and the network bandwidth, these videos are normally with compressed format storage and transmission, so the processing of compressed video has important and practical meanings.
According to the data difference of handling, existing motion state and the camera lens push-and-pull method of carrying out the camera lens cutting when taking at video camera can be divided into two classes: the one, video compression is image sequence after, motion by image sequence analyzing and testing video camera, as optical flow method, based on motion model estimation technique of characteristics of image etc., amount of calculation is big, complicated difficult realization of algorithm; The 2nd, direct control compression domain data, the motion compensation information of utilizing compressed video to provide is analyzed, and efficient is higher.The existing ubiquitous problem of method is or very accurately but amount of calculation is difficult to practicality greatly, or calculates very much fast but because the inaccuracy of motion compensation information causes unstable result.
Summary of the invention
This method is at first directly utilized the motion compensation information Primary Location in the video flowing, from compressed video, find out static relatively image frame, and then use the statistical information of just locating the pairing continuous macro block of the remaining reference frame in back that comparison static scene frame is confirmed, owing to need not to decompress, computational speed is fast, the statistical information of application reference frame macro block has increased the robustness of detection method to noise, can navigate to the static frames in the compressed video rapidly and accurately, and only keep one in continuous static frames, avoided redundancy, the subsequent applications of being more convenient for.
(1) based on the static image preliminary investigation of movement compensating frame Information Statistics, frame storage format according to compressing video frequency flow, skip reference frame wherein, select B frame and P frame, the macro block motion compensation vector of storing in the acquisition compensated frame, for avoiding interference, can select to carry out whether earlier Filtering Processing, to remove the wherein interference of individual mbs movable information, classify according to respectively adding up by the motion compensation direction, if the size of its mould of motion compensation information is all less on all directions, and do not have not obvious being dominant of number of the motion compensation vector of certain direction, then mark enter alternative;
(2) owing to have continuity on the certain hour usually for the collection of target scene during actual photographed, therefore also to further screen entering alternative frame, consider the factor of robustness, method is to enter alternative frame number in its residing video clips will then keep above a numerical value above certain ratio or the number that occurs continuously, then being confirmed as candidate frame as the frame of getting wherein motion compensation vector mould sum minimum by the frame except that the first two frames in the frame sequence of continued labelling again;
(3) candidate frame that remains is got in its place sequence such as the frame piece of living in (GOP) adjacent reference frame before and after it, compare after the content of getting its macro block is added up respectively,, otherwise give up if difference is less confirms that then this frame is a static frames; Can determine whether to decompress the content of I frame as required as output.
Description of drawings
Do not have.
Embodiment
Embodiment 1: the extraction of static frames
(1) opens compressing video frequency flow or video file;
(2) select wherein P frame according to compression coding mode, obtain the motion compensation vector of each macro block;
(3) compensation vector that obtains is carried out medium filtering, according to 8 directions the motion compensation vector is added up the number of compensation vector on all directions then, and calculate the maximum of vectorial mould on all directions and all moulds and;
(3) if the motion compensation vector mould on all directions and all less than certain predefined value a, and the ratio that the vectorial number of maximum that direction of compensation vector number accounts for total compensation vector number then gives mark less than certain predefined value b;
(4) if the number of times that the frame that is labeled occurs continuously surpasses certain predefined value c, then the frame that reaches the vectorial mould sum of the motion compensation except that the frame of starting point and terminal point correspondence minimum in the follow-up sequence of frames of video that is labeled before this as the primary election result;
(5) the I frame before and after each frame among the statistics contrast primary election result is if difference value less than certain predefined value d, is then exported the image of this frame.

Claims (4)

1. based on the static image preliminary investigation of movement compensating frame Information Statistics, the application of this technology in the video of various compressed formats is all within protection range, do not limit the concrete form of used motion compensation information, to the application of the combination of B frame, P frame, BP frame or hybrid mode all within protection range;
2. no matter whether the not use of limiting filtering mode of the present invention carried out filtering to the macro block motion compensation information and adopted after which kind of the mode filtering application of the present invention all within protection range;
3. the present invention serves as to select preliminary investigation result's important evidence with the alternative area of continued labelling, the length of continued labelling frame is not done limit, the frame of determining not to be defined as the motion compensation vector mould sum minimum of illustrating in the specification to candidate frame can be the arbitrary frame in the continued labelling frame sequence;
4. to the affirmation of candidate frame, mode of selecting for use of frame is not limited to schematically describe in the specification before and after it, also can be frame or the frame of back and the comparison of this candidate frame of front, and the use of whether exporting this method of static frames that finds is all within protection range.
CN 200910085674 2009-05-26 2009-05-26 Method for rapidly positioning static scene in compressed video Pending CN101902631A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910085674 CN101902631A (en) 2009-05-26 2009-05-26 Method for rapidly positioning static scene in compressed video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910085674 CN101902631A (en) 2009-05-26 2009-05-26 Method for rapidly positioning static scene in compressed video

Publications (1)

Publication Number Publication Date
CN101902631A true CN101902631A (en) 2010-12-01

Family

ID=43227780

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910085674 Pending CN101902631A (en) 2009-05-26 2009-05-26 Method for rapidly positioning static scene in compressed video

Country Status (1)

Country Link
CN (1) CN101902631A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974041A (en) * 2014-05-14 2014-08-06 浙江宇视科技有限公司 Video period management method and device
CN106464865A (en) * 2014-05-27 2017-02-22 英特尔公司 Block-based static region detection for video processing
CN112866646A (en) * 2021-01-13 2021-05-28 杭州雅观科技有限公司 Smart community data acquisition method and system based on Bluetooth Mesh

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974041A (en) * 2014-05-14 2014-08-06 浙江宇视科技有限公司 Video period management method and device
CN106464865A (en) * 2014-05-27 2017-02-22 英特尔公司 Block-based static region detection for video processing
CN106464865B (en) * 2014-05-27 2019-12-31 英特尔公司 Block-based static region detection method, device and system for video processing
CN112866646A (en) * 2021-01-13 2021-05-28 杭州雅观科技有限公司 Smart community data acquisition method and system based on Bluetooth Mesh

Similar Documents

Publication Publication Date Title
Liu et al. Key frame extraction from MPEG video stream
KR100729660B1 (en) Real-time digital video identification system and method using scene change length
JP4320141B2 (en) Method and system for summary video generation
JP4725690B2 (en) Video identifier extraction device
JP6016332B2 (en) Image processing apparatus and image processing method
CN104349074B (en) Method, apparatus and system for generating combined digital video sequences
CN101389029B (en) Method and apparatus for video image encoding and retrieval
KR20010108160A (en) Video/audio signal processing method and video/audio signal processing apparatus
KR20080035213A (en) Image analysis method and apparatus, motion segmentation system
CN101420595A (en) Method and equipment for describing and capturing video object
JP2009147911A (en) Video data compression preprocessing method, video data compression method employing the same and video data compression system
KR101149522B1 (en) Apparatus and method for detecting scene change
KR101087194B1 (en) Encoding System and Method of Moving Picture
Nasreen et al. Key frame extraction from videos-A survey
CN114708287A (en) Shot boundary detection method, device and storage medium
Lan et al. A novel motion-based representation for video mining
CN101902631A (en) Method for rapidly positioning static scene in compressed video
US20060109902A1 (en) Compressed domain temporal segmentation of video sequences
JP5644505B2 (en) Collation weight information extraction device
CN101339662B (en) Method and device for creating video frequency feature data
JP2003061038A (en) Video contents edit aid device and video contents video aid method
Su et al. A source video identification algorithm based on motion vectors
Ma et al. A rapid and robust method for shot boundary detection and classification in uncompressed MPEG video sequences
Su et al. A novel source mpeg-2 video identification algorithm
JP2011243156A (en) Video conversion device, document conversion device, video conversion method, document conversion method, video conversion program and document conversion program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101201