CN102081671A - Method and device for generating scalable video file - Google Patents

Method and device for generating scalable video file Download PDF

Info

Publication number
CN102081671A
CN102081671A CN2011100265259A CN201110026525A CN102081671A CN 102081671 A CN102081671 A CN 102081671A CN 2011100265259 A CN2011100265259 A CN 2011100265259A CN 201110026525 A CN201110026525 A CN 201110026525A CN 102081671 A CN102081671 A CN 102081671A
Authority
CN
China
Prior art keywords
index
file
fragment
moving target
motion
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
CN2011100265259A
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.)
Vimicro Corp
Original Assignee
Vimicro Corp
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 Vimicro Corp filed Critical Vimicro Corp
Priority to CN2011100265259A priority Critical patent/CN102081671A/en
Publication of CN102081671A publication Critical patent/CN102081671A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and device for generating a scalable video file, which are applied in the field of video file processing. The method comprises the following steps of: detecting motion segments contained in the video file when the video file has no corresponding scalable file, and generating a motion segments index for positioning each motion segments in the video file; detecting the position of each motion target in each frame, enabling the position information of the same motion target in different frames to correspond to a target identification record, and generating a motion target index for describing the motion of each motion target; and adding the motion segments index and the motion target index into the same text file to form the scalable file of the video file. With the method and the device provided by the invention, users can quickly browse video files.

Description

A kind of generation method and device of video scalability file
Technical field
The present invention relates to the video file process field, relate in particular to a kind of generation method and device of video scalability file.
Background technology
The method that different systems adopts the detection of video file in the current intelligent monitor system has nothing in common with each other, but the content that detects is basic identical.Yet when detecting these identical or similar contents, but do not have general Interchange Format, thereby cause being difficult in each supervisory system and the supervising device realize sharing of data.So when each system detects identical video file, all must carry out duplicate detection to identical video file even identical content, thereby cause the waste of resource and the prolongation of detection time according to the employed method of system self.
Summary of the invention
The embodiment of the invention provides a kind of generation method and device of video scalability file, solve in the prior art supervisory system when detecting these identical or similar contents, do not have general Interchange Format, thereby cause being difficult in each supervisory system and the supervising device realize the problem of sharing of data.
The embodiment of the invention provides a kind of generation method of video scalability file, comprising:
When video file does not have corresponding scalable file, detect the motion fragment that comprises in the described video file, and generate each motion fragment that the motion fragment index is used for the positioning video file;
Detect the position of each moving target in every frame, and, generate the motion conditions that the moving target index is used to describe each moving target the corresponding target identification record of the positional information of same moving target in different frame;
Add described motion fragment index and moving target index to form described video file in the one text file scalable file.
Also provide a kind of generating apparatus of video scalability file according to the said method embodiment of the invention, comprising:
Motion fragment index generation module is used for detecting the motion fragment that comprises in the described video file when not having corresponding scalable file to video file, and generates each motion fragment that the motion fragment index is used for the positioning video file;
Moving target index generation module, be used for detecting the position of each moving target at every frame, and, generate the motion conditions that the moving target index is used to describe each moving target with the corresponding target identification record of the positional information of same moving target in different frame;
Scalable file generating module is used for adding described motion fragment index and moving target index to scalable file that the one text file forms described video file correspondence.
The device of the method that the embodiment of the invention provided of application generates the sharable scalable file of various supervisory systems, motion conditions according to object in the video file is divided into the fragment of doing more physical exercises with video file, and the feature of each moving object is described the index that generates correspondence.Make the user when checking video file, can navigate to the special area of the moving object or the moving object of desired seek in the shortest time according to different index.And described scalable file is applicable to all systems, thereby also realizes sharing of each supervisory system and supervising device data.
Description of drawings
Fig. 1 is the process flow diagram of the generation method of a kind of video scalability file of the embodiment of the invention;
Fig. 2 is the structural representation of scalable file in the embodiment of the invention;
Fig. 3 is the structural representation of index in the embodiment of the invention;
Fig. 4 is a motion fragment index structural representation in the embodiment of the invention;
Fig. 5 is a moving target index structure synoptic diagram in the embodiment of the invention;
Fig. 6 is the structural representation of a kind of generating apparatus of video scalability file in the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of generation method of video scalability file, this method comprises: when video file does not have corresponding scalable file, detect the motion fragment that comprises in the described video file, and generate each motion fragment that the motion fragment index is used for the positioning video file; Detect the position of each moving target in every frame, and, generate the motion conditions that the moving target index is used to describe each moving target the corresponding target identification record of the positional information of same moving target in different frame; Add described motion fragment index and moving target index to form described video file in the one text file scalable file.
In embodiments of the present invention, so-called scalable file refers to that the pick-up unit of difference in functionality can be according to existing low-level information in this scalable file (wherein, low-level information comprises and comprises several motion fragments in the video segment, how many moving targets are perhaps arranged) and self function treatment further fill the premium area (information that comprises special area, the relation of target and special area etc.) data, can be when resolving video file according to the different content of user's desired seek, utilize in the scalable file respective index to obtain relevant information.
As: in a surveillance video, need people's face of certain target be detected.Then people's face pick-up unit can utilize the target index in the file, the zone that the target that navigates to occurs, and the result further expanded in the special area index, determine the position that people's face occurs, and then realize that people's face detects.
As shown in Figure 1, the generation method of a kind of video scalability file of the embodiment of the invention specifically comprises step:
Step 101, detect video file whether corresponding scalable file is arranged, if do not have, then set up the text (being scalable file) of a blank, be used to store the index content of this video file correspondence, detect the motion fragment that comprises in the described video file, and generate each the motion fragment in the motion fragment index positioning video file;
As shown in Figure 4, the description content of every record of motion fragment index can comprise: the duration of the reference position of motion fragment and this motion fragment.
When comprising a plurality of incoherent motion fragment in the video file, locate some motion fragments for convenience, then described scalable file also comprises fragment video association index, the embodiment of the invention also comprises:
Step 102, determine the motion fragment that comprised in each video file, set up each motion fragment that fragment video association index is used for the positioning video file, and add this fragment video association index in the described scalable file (specifically can be structure shown in Figure 2).
Step 103 detects the position of each moving target in every frame, and with the corresponding target identification record of the positional information of same moving target in different frame, generates the motion conditions that the moving target index is used to describe each moving target;
In the present invention is in the example, and the time that is described as of index or the location of physical location can navigate to required content by this description in video.
After determining moving target, some special areas (as zones such as people's face, car plates) of further setting movement target also comprise the special area index in scalable file of the invention process for convenience:
Step 104 by feature detection and the tracking to moving target, generates the special area index, and this special area index is added in the described scalable file.
When needs are located in certain motion fragment certain moving target, then can in described scalable file, the target fragment association index be set, comprising:
Step 105 is determined the moving target that comprised in each motion fragment, sets up the target fragment association index, and this target fragment association index is added in the described scalable file.
The target fragment association index comprised the many to 1 corresponding relation of target-fragment, avoided like this that a plurality of targets all comprise the redundancy that segment indicates in the fragment.
In addition, when concrete the application, need search for certain special area of a certain moving target usually,, comprise so be necessary in described scalable file, to add the regional aim association index:
Step 106 is set up the regional aim association index, and this regional aim association index is added in the described scalable file.
Can only detect the special area (as: people's face, car plate etc.) that occurs in the video file, and detected special area and moving target are carried out the related regional aim association index of setting up.
In embodiments of the present invention, also will now the index that generates be carried out buffer memory, the scalable file of unifying again after all index content all generate that adds formation video file in the same text to.
The generation of above-mentioned index is not limited to the order of above-mentioned steps flow process, can arbitrarily change when concrete the application.And each index is relatively independent in described flexible file, and the position is free relatively.
As shown in Figure 3, the concrete structure of index can be set to comprise in the embodiment of the invention: the record number that index identifies, index comprised and the description content of every record.
As shown in Figure 5, the description content of every record comprises in the described moving target index: the initial position of the relative zero-time of moving target, exercise duration, moving target and each position of this moving target in this exercise duration.
In embodiments of the present invention, the moving target record comprises the relative zero-time of target, and this time is corresponding to the segment that comprises target.The initial position that target occurs first (describing) with boundary rectangle.Position is afterwards described with different records, and every record comprises the speed (displacement) with last record difference, size, time.The bar number of record is judged with duration length after can adding up according to the time that every record continues.If the difference time does not exist and represents that then each location records is uniform.Calculate the record number by the frame per second of duration and corresponding video.
As shown in Figure 6, according to said method, the embodiment of the invention also comprises a kind of generating apparatus of video scalability file, it is characterized in that, comprising:
Motion fragment index generation module 601 is used for detecting the motion fragment that comprises in the described video file when not having corresponding scalable file to video file, and generates each motion fragment that the motion fragment index is used for the positioning video file;
Moving target index generation module 602, be used for detecting the position of each moving target at every frame, and, generate the motion conditions that the moving target index is used to describe each moving target with the corresponding target identification record of the positional information of same moving target in different frame;
Scalable file generating module 603 is used for adding described motion fragment index and moving target index to scalable file that the one text file forms described video file.
For convenience of after determining moving target, some special areas (as zones such as people's face, human bodies) of further setting movement target, this device also comprises:
Special area index generation module 604 is used for by feature detection and tracking to moving target, generates the special area index, the special area that comprises in this special area index location and the description motion fragment;
When comprising a plurality of incoherent motion fragment in the video file, locate some motion fragments for convenience, this device also comprises:
Fragment video association index generation module 605 is used for the motion fragment that definite each video file is comprised, and sets up fragment video association index;
When needs were located in certain motion fragment certain moving target, this device also comprised:
Target fragment association index generation module 606 is used for the moving target that definite each motion fragment is comprised, and sets up the target fragment association index;
In addition, when concrete the application, need search for certain special area of a certain moving target usually, this device also comprises:
Based on the generation of above-mentioned special area index generation module 604, fragment video association index generation module 605, target fragment association index generation module 606 and regional aim association index module 607, described scalable file generating module 603 also is used for adding special area index, fragment video association index, target fragment association index and regional aim association index the scalable file of described video file correspondence to.
The generation of above-mentioned index is not limited to the order of above-mentioned steps flow process, can arbitrarily change when concrete the application.And each index is relatively independent in described flexible file, and the position is free relatively.
The device of the method that the embodiment of the invention provided of application generates the sharable scalable file of various supervisory systems, thereby realizes sharing of each supervisory system and supervising device data.
In addition, use method and apparatus provided by the invention and can navigate to the required content of user, reach the purpose of fast browsing video file according to index file.
Further, because scalable file according to the moving target of video file for the record foundation, so can navigate to the special area of certain target or certain moving target fast according to the scalable file of video file correspondence.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other embodiment, belongs to technological innovation scope of the present invention equally.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (11)

1. the generation method of a video scalability file is characterized in that, comprising:
When video file does not have corresponding scalable file, detect the motion fragment that comprises in the described video file, and generate each motion fragment that the motion fragment index is used for the positioning video file;
Detect the position of each moving target in every frame, and, generate the motion conditions that the moving target index is used to describe each moving target the corresponding target identification record of the positional information of same moving target in different frame;
Add described motion fragment index and moving target index to form described video file in the one text file scalable file.
2. the method for claim 1 is characterized in that, generates the moving target index and is used to describe after the motion conditions of each moving target, further comprises:
Carry out detection and tracking by the feature to moving target, generate the special area index, this special area index is used for locating and describing the special area that the motion fragment comprises;
This special area index is added in the described scalable file.
3. the method for claim 1 is characterized in that, generates the moving target index and is used to describe after the motion conditions of each moving target, further comprises:
Determine the motion fragment that comprised in each video file, set up fragment video association index, and this fragment video association index is added in the described scalable file.
4. the method for claim 1 is characterized in that, generates the moving target index and is used to describe after the motion conditions of each moving target, further comprises:
Determine the moving target that comprised in each motion fragment, set up the target fragment association index, and this target fragment association index is added in the described scalable file.
5. as the described method of the arbitrary claim of claim 1 to 4, it is characterized in that each index comprises in the described scalable file: the record number that index identifies, index comprised and the description content of every record.
6. method as claimed in claim 5 is characterized in that, the description content of every record of described motion fragment index comprises: the duration of the reference position of motion fragment and this motion fragment.
7. method as claimed in claim 5, it is characterized in that the description content of every record comprises in the described moving target index: the initial position of the relative zero-time of moving target, exercise duration, moving target and each position of this moving target in this exercise duration.
8. the generating apparatus of a video scalability file is characterized in that, comprising:
Motion fragment index generation module is used for detecting the motion fragment that comprises in the described video file when not having corresponding scalable file to video file, and generates each motion fragment that the motion fragment index is used for the positioning video file;
Moving target index generation module, be used for detecting the position of each moving target at every frame, and, generate the motion conditions that the moving target index is used to describe each moving target with the corresponding target identification record of the positional information of same moving target in different frame;
Scalable file generating module is used for adding described motion fragment index and moving target index to scalable file that the one text file forms described video file.
9. device as claimed in claim 8 is characterized in that, this device also comprises:
Special area index generation module is used for carrying out detection and tracking by the feature to moving target, generates the special area index, and this special area index is used for locating and describing the special area that the motion fragment comprises;
Then described scalable file generating module also is used for adding described special area index to described scalable file.
10. device as claimed in claim 8 is characterized in that, this device also comprises:
Fragment video association index generation module is used for the motion fragment that definite each video file is comprised, and sets up fragment video association index;
Then described scalable file generating module also is used for adding described fragment video association index to described scalable file.
11. device as claimed in claim 8 is characterized in that, this device also comprises:
Target fragment association index generation module is used for the moving target that definite each motion fragment is comprised, and sets up the target fragment association index;
Then described scalable file generating module also is used for adding this target fragment association index to described scalable file.
CN2011100265259A 2011-01-25 2011-01-25 Method and device for generating scalable video file Pending CN102081671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100265259A CN102081671A (en) 2011-01-25 2011-01-25 Method and device for generating scalable video file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100265259A CN102081671A (en) 2011-01-25 2011-01-25 Method and device for generating scalable video file

Publications (1)

Publication Number Publication Date
CN102081671A true CN102081671A (en) 2011-06-01

Family

ID=44087632

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100265259A Pending CN102081671A (en) 2011-01-25 2011-01-25 Method and device for generating scalable video file

Country Status (1)

Country Link
CN (1) CN102081671A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395029A (en) * 2011-11-05 2012-03-28 江苏物联网研究发展中心 Video encoding and decoding method and device supporting retractable video browse
CN104581064A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Method and device for integrating camera alarm information
CN105306945A (en) * 2014-07-10 2016-02-03 北京创鑫汇智科技发展有限责任公司 Scalable synopsis coding method and device for monitor video
CN106550283A (en) * 2015-09-17 2017-03-29 杭州海康威视数字技术股份有限公司 Play the method and device of video frequency abstract
CN103813169B (en) * 2014-02-19 2017-07-21 北京大学 Telescopic object expression method and device in Video Codec
CN110121734A (en) * 2016-12-30 2019-08-13 华为技术有限公司 A kind of processing method and processing device of information

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795567B1 (en) * 1999-09-16 2004-09-21 Hewlett-Packard Development Company, L.P. Method for efficiently tracking object models in video sequences via dynamic ordering of features
CN101299812A (en) * 2008-06-25 2008-11-05 北京中星微电子有限公司 Method, system for analyzing, storing video as well as method, system for searching video
CN101303701A (en) * 2008-06-27 2008-11-12 北京中星微电子有限公司 Method and apparatus for searching video

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795567B1 (en) * 1999-09-16 2004-09-21 Hewlett-Packard Development Company, L.P. Method for efficiently tracking object models in video sequences via dynamic ordering of features
CN101299812A (en) * 2008-06-25 2008-11-05 北京中星微电子有限公司 Method, system for analyzing, storing video as well as method, system for searching video
CN101303701A (en) * 2008-06-27 2008-11-12 北京中星微电子有限公司 Method and apparatus for searching video

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395029A (en) * 2011-11-05 2012-03-28 江苏物联网研究发展中心 Video encoding and decoding method and device supporting retractable video browse
CN102395029B (en) * 2011-11-05 2013-09-18 江苏物联网研究发展中心 Video encoding and decoding method and device supporting retractable video browse
CN103813169B (en) * 2014-02-19 2017-07-21 北京大学 Telescopic object expression method and device in Video Codec
CN105306945A (en) * 2014-07-10 2016-02-03 北京创鑫汇智科技发展有限责任公司 Scalable synopsis coding method and device for monitor video
CN105306945B (en) * 2014-07-10 2019-03-01 北京创鑫汇智科技发展有限责任公司 A kind of scalable concentration coding method of monitor video and device
CN104581064A (en) * 2014-12-26 2015-04-29 深圳市兰丁科技有限公司 Method and device for integrating camera alarm information
CN106550283A (en) * 2015-09-17 2017-03-29 杭州海康威视数字技术股份有限公司 Play the method and device of video frequency abstract
CN106550283B (en) * 2015-09-17 2019-05-21 杭州海康威视数字技术股份有限公司 Play the method and device of video frequency abstract
CN110121734A (en) * 2016-12-30 2019-08-13 华为技术有限公司 A kind of processing method and processing device of information

Similar Documents

Publication Publication Date Title
CN102081671A (en) Method and device for generating scalable video file
US10424341B2 (en) Dynamic video summarization
US9256784B1 (en) Eye event detection
CN104464302B (en) A kind of Car license recognition intelligent correction method and system
CN103198293A (en) System and method for fingerprinting video
CN105955576A (en) User operation data-based application icon display method
JP2014059660A (en) Information processing apparatus and method thereof
US20140355823A1 (en) Video search apparatus and method
CN104424970A (en) Synchronization method and device for multimedia play information
US20220043834A1 (en) Data storage method, device, server and storage medium
CN104284057A (en) Video processing method and device
CN103389926A (en) Method and device used for backing-up virtual disk
CN101853137B (en) Multi-hardware system data processing device and switching method thereof
US20200327677A1 (en) Target object detection method, readable storage medium, and electronic device
CN108509348B (en) System aging test method and mobile terminal
WO2022177591A1 (en) Surveillance video streams with embedded object data
CN105094597A (en) Batch picture selecting method and apparatus
Yan et al. Automatic construction and multi-level visualization of semantic trajectories
CN102945233A (en) Electronic equipment and data management method thereof
CN102737383A (en) Camera movement analyzing method and device in video
CN110505444A (en) Safety defense monitoring system based on big data
US20140022400A1 (en) Ip camera control method
CN112486337B (en) Handwriting graph analysis method and device and electronic equipment
CN103986981A (en) Recognition method and device of scenario segments of multimedia files
CN114625699A (en) Identification and reconstruction of previously presented material

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: ZHONGXING ELECTRONICS CO., LTD.

Effective date: 20120203

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120203

Address after: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 15 Floor

Applicant after: Beijing Vimicro Corporation

Co-applicant after: Vimicro Electronics Co., Ltd.

Address before: 100083, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 15 Floor

Applicant before: Beijing Vimicro Corporation

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: 20110601