CN103530326A - Method for adding geographical location information into video file and creating index - Google Patents
Method for adding geographical location information into video file and creating index Download PDFInfo
- Publication number
- CN103530326A CN103530326A CN201310443078.6A CN201310443078A CN103530326A CN 103530326 A CN103530326 A CN 103530326A CN 201310443078 A CN201310443078 A CN 201310443078A CN 103530326 A CN103530326 A CN 103530326A
- Authority
- CN
- China
- Prior art keywords
- video file
- location information
- geographical location
- index
- video
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/7867—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
Abstract
The invention provides a method for adding geographical location information into a video file and creating an index. The method comprises the steps of S10, acquiring geographical location information data of a video file acquiring position; S20, inserting the geographical location information data into a file header reserved field of the video file; S30, creating a video file database which is based on spatial location searching, clustering and correlation analysis with the geographical location information data as the index. According to the method for adding the geographical location information into the video file and creating the index, longitude and latitude information is recorded in the file header reserved field of the video file simultaneously, the video file database based on spatial locations is created, video data storage and retrieval efficiency can be improved, and then video content correlation analysis based on the geographical location information can be conducted.
Description
[technical field]
The present invention relates to video location technology, relate in particular to a kind of method of adding geographical location information and setting up index in video file.
[background technology]
Effective management based on city mass video monitoring data and content search are the huge challenges in current techniques field.Major part, for the search of monitor video data content and the technology of tracing and positioning, still mainly depends on a large amount of manual review and interpretation at present, changes above-mentioned condition if want, needs to set up the video database based on spatial index.
Current intelligent movable equipment is widely applied, the first-class video monitoring of high-definition camera is widely used in each corner in city, but the positional information on the not subsidiary video acquisition of most video file realities ground, above-mentioned condition has brought great difficulty to video storage, monitoring, analysis and associate management and target tracking, cause the video content retrieval that cannot carry out based on locus, as the target people in monitor video or object carry out, position is associated fast and effectively follows the trail of.
[summary of the invention]
The present invention is intended to solve above-mentioned problems of the prior art, proposes a kind of method of adding geographical location information and setting up index in video file.
The present invention proposes a kind of method of adding geographical location information and setting up index in video file, and the method comprises the following steps: S10, obtain video file geographical location information data locality; S20, described geographical location information data is inserted in the file header reserved field of described video file; S30, take described geographical location information data as index, set up the video file database based on locus inquiry, cluster and association analysis.
The method that the present invention proposes adds geographical location information and set up index in video file by latitude and longitude information synchronous recording in the reserved field of video file header file, and the video file database of foundation based on locus, can improve storage, the recall precision of video data, thereby carry out the video content association analysis based on geographical location information.
[accompanying drawing explanation]
Fig. 1 is adding geographical location information and set up the method for index in video file of one embodiment of the invention.
[embodiment]
Below in conjunction with specific embodiment and accompanying drawing, the present invention is described in further detail.Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, only for explaining technical scheme of the present invention, and do not should be understood to limitation of the present invention.
The invention provides a kind of method of adding geographical location information and setting up index in video file.
Below take AVI(Audio Video Interleaved) video file of form is further described in detail as each step principle of method of adding geographical location information and setting up index in video file that example proposes the present invention.
Introduce that the present invention proposes in video file, add geographical location information and set up the method for index before first the data structure of AVI format video file is briefly introduced.
The video file of AVI form is a kind of RIFF(Resource Interchange File Format) file layout, be mainly used in the application programs such as audio frequency and video seizure, editor, playback.Generally, an AVI video file can comprise a plurality of dissimilar Media Streams (comprising an audio stream and a video flowing in typical situation), but the avi file that contains single audio frequency stream or single video flowing is also legal in agreement.The video file of AVI form be the most basic in Windows operating system, be also the most frequently used a kind of media file format.
Wherein, RIFF file is used fourCC FOURCC(four-character code) carry out characterization data type, such as ' RIFF ', ' AVI ', ' LIST ' etc.In the video file of AVI form, first office data structure contains a file header structure, and 4 bytes that start are most fourCCs ' RIFF ', represents that this is a RIFF field; Immediately following using thereafter the size of 4 these RIFF fields of byte representation; Then be the particular type (such as AVI, WAVE etc.) of a fourCC supporting paper; Be fourCC ' LIST ' afterwards, represent that this is a LIST field; Immediately following using thereafter the size of 4 these LIST fields of byte representation; Then being fourCC ' hdrl ' and fourCC ' avih ', is then the size of avi file head described in the data representation of 4 bytes.It is thereafter immediately the MainAVIHeader head construction of 56 byte-sized, in described MainAVIHeader head construction, comprise JUNK list, described JUNK list is a kind of special data block, with a fourCC ' JUNK ', characterize, it is for the filling of internal data, the self-delineating block that JUNK list is sheerly artificially added never has the definition to this piece in avi file, and application person can add self-defining data in described JUNK list.The data content of following after JUNK list is the two field picture content of AVI format video file.
Data structure based on above-mentioned AVI format video file, main thought of the present invention is at reserved field, is also to add geographical location information in described JUNK list.
As shown in Figure 1, in step S10, first obtain video file geographical location information data locality.The mode of obtaining described geographical location information data has multiple, wherein, under the situation being kept in motion at described video file harvester, can adopt video file geographical location information data locality described in locating device Real-time Obtaining, described locating device includes but not limited to that GPS, AGPS separated with described video file harvester or that be wholely set, LBS etc. have the device that the mobile phone of positioning function, computing machine, panel computer etc. have data Storage and Processing function; Under situation at described video file harvester in stationary state, can adopt above-mentioned locating device to obtain described video file geographical location information data locality, also can directly obtain described geographical location information data according to the stationary coordinate value of default video file harvester.
Preferably, described geographical location information data comprises video file longitude information and latitude information locality.Preferably, described longitude information and latitude information can be adjusted to respectively to 8 byte-sized.
In step S20, described geographical location information data is inserted in the file header reserved field of described video file.The AVI format video file of take is example, and the latitude information of the longitude information of described 8 byte-sized and 8 byte-sized is inserted in JUNK list mentioned above.
Complete after the insertion of video file geographical location information data, just can perform step S30, carry out the foundation of video file database.Particularly, can collect in advance the video file that in certain area, some video acquisition devices are taken, wherein these video files were carried out to step S20, all video files had been inserted into described geographical location information data, then adopt index data base method for building up classical in prior art, take described geographical location information data as index, just can set up the video file database based on locus inquiry, cluster and association analysis.
What those skilled in the art will be understood that is, the representational AVI format video file of take in instructions foregoing description is described as the method for adding geographical location information and setting up index in video file that example proposes the present invention, in addition, the method that can further take the present invention to propose to the video file of the extended formatting outside AVI, the reserved field of the video file file header of most forms all can be used for the filling of internal data, to add self-defining data, in the present invention, described self-defining data is described geographical location information data.
The method that the present invention proposes adds geographical location information and set up index in video file is added geographical location information in the reserved field of video file header file.In video generation, by the latitude and longitude information synchronous recording on video file harvester ground of living in the reserved field of video file header file, and as index, the video file database of foundation based on locus inquiry, cluster and association analysis, the method can effectively improve storage, the recall precision of video data, thereby carries out on this basis the video content association analysis based on geographical location information.
Although the present invention is described with reference to current better embodiment; but those skilled in the art will be understood that; above-mentioned better embodiment is only used for explaining and illustrating technical scheme of the present invention; and be not used for limiting protection scope of the present invention; any within the spirit and principles in the present invention scope; any modification of doing, equivalent replacement, distortion, improvement etc., within all should being included in claim protection domain of the present invention.
Claims (7)
1. in video file, add geographical location information and set up the method for index, comprise the following steps: S10, obtain video file geographical location information data locality; S20, described geographical location information data is inserted in the file header reserved field of described video file; S30, take described geographical location information data as index, set up the video file database based on locus inquiry, cluster and association analysis.
2. the method for adding geographical location information and setting up index in video file according to claim 1, is characterized in that, described geographical location information data comprises video file longitude information and latitude information locality.
3. the method for adding geographical location information and setting up index in video file according to claim 1, is characterized in that, described geographical location information data is obtained from locating device or according to the stationary coordinate value of video file harvester.
4. the method for adding geographical location information and setting up index in video file according to claim 3, is characterized in that, described locating device is a kind of in GPS, AGPS and LBS.
5. the method for adding geographical location information and setting up index in video file according to claim 2, is characterized in that, described video file is AVI form.
6. the method for adding geographical location information and setting up index in video file according to claim 5, is characterized in that, described reserved field is arranged in MainAVIHeader field, and described reserved field length is 16 bytes.
7. the method for adding geographical location information and setting up index in video file according to claim 6, is characterized in that, described longitude information and latitude information respectively account for 8 bytes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310443078.6A CN103530326A (en) | 2013-09-25 | 2013-09-25 | Method for adding geographical location information into video file and creating index |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310443078.6A CN103530326A (en) | 2013-09-25 | 2013-09-25 | Method for adding geographical location information into video file and creating index |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103530326A true CN103530326A (en) | 2014-01-22 |
Family
ID=49932336
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310443078.6A Pending CN103530326A (en) | 2013-09-25 | 2013-09-25 | Method for adding geographical location information into video file and creating index |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103530326A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984710A (en) * | 2014-05-05 | 2014-08-13 | 深圳先进技术研究院 | Video interaction inquiry method and system based on mass data |
CN104484814A (en) * | 2014-12-18 | 2015-04-01 | 深圳先进技术研究院 | Advertising method and system based on video map |
CN104486586A (en) * | 2014-12-18 | 2015-04-01 | 深圳先进技术研究院 | Disaster lifesaving simulated training method and system based on video map |
CN105205880A (en) * | 2015-07-17 | 2015-12-30 | 广东好帮手电子科技股份有限公司 | Method based on geographic position retrieve data and system thereof |
CN105374208A (en) * | 2014-08-28 | 2016-03-02 | 杭州海康威视系统技术有限公司 | Method for reminding user of road condition and detecting state of camera, and device thereof |
CN105763911A (en) * | 2016-01-20 | 2016-07-13 | 努比亚技术有限公司 | Method and terminal for video playing |
CN106156199A (en) * | 2015-04-22 | 2016-11-23 | 清华大学 | A kind of video monitoring image memory search method |
TWI584150B (en) * | 2016-05-17 | 2017-05-21 | 資通電腦股份有限公司 | Digital document locating method |
CN107291850A (en) * | 2017-06-06 | 2017-10-24 | 贵阳朗玛信息技术股份有限公司 | Video data structure method and device |
CN107480228A (en) * | 2017-08-03 | 2017-12-15 | 深圳市置辰海信科技有限公司 | A kind of monitor video searching method towards hard objectives |
CN108351879A (en) * | 2015-07-16 | 2018-07-31 | 构造数据有限责任公司 | The system and method for the division search index of efficiency for improving identification media segment |
CN108551582A (en) * | 2018-03-19 | 2018-09-18 | 上海交通大学 | A kind of identity method and system of image, video data |
CN110942078A (en) * | 2018-09-22 | 2020-03-31 | 北京微播视界科技有限公司 | Method and device for aggregating point of interest data, media file server and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101547360A (en) * | 2009-05-08 | 2009-09-30 | 南京师范大学 | Localizable video file format and method for collecting data of formatted file |
CN101630324B (en) * | 2009-08-18 | 2011-12-07 | 北京航空航天大学 | Method for accessing geographic position information in multimedia resource |
CN102289520A (en) * | 2011-09-15 | 2011-12-21 | 山西四和交通工程有限责任公司 | Traffic video retrieval system and realization method thereof |
CN101917620B (en) * | 2010-08-20 | 2012-08-08 | 浙江大学 | Method for intraframe coding of geographic information in MEPG-2 video coding |
CN102930040A (en) * | 2012-11-13 | 2013-02-13 | 陈奇 | Media multi-dimensional content expressing method |
-
2013
- 2013-09-25 CN CN201310443078.6A patent/CN103530326A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101547360A (en) * | 2009-05-08 | 2009-09-30 | 南京师范大学 | Localizable video file format and method for collecting data of formatted file |
CN101630324B (en) * | 2009-08-18 | 2011-12-07 | 北京航空航天大学 | Method for accessing geographic position information in multimedia resource |
CN101917620B (en) * | 2010-08-20 | 2012-08-08 | 浙江大学 | Method for intraframe coding of geographic information in MEPG-2 video coding |
CN102289520A (en) * | 2011-09-15 | 2011-12-21 | 山西四和交通工程有限责任公司 | Traffic video retrieval system and realization method thereof |
CN102930040A (en) * | 2012-11-13 | 2013-02-13 | 陈奇 | Media multi-dimensional content expressing method |
Non-Patent Citations (2)
Title |
---|
王志鹏: "基于帧内编码地理信息视频系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑(月刊)》 * |
郭浩: "视频GIS数据采集系统的设计与实现", 《中国优秀硕士学位论文全文数据库 基础科学辑(月刊)》 * |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984710A (en) * | 2014-05-05 | 2014-08-13 | 深圳先进技术研究院 | Video interaction inquiry method and system based on mass data |
CN103984710B (en) * | 2014-05-05 | 2017-07-18 | 深圳先进技术研究院 | Video interactive querying method and system based on mass data |
CN105374208B (en) * | 2014-08-28 | 2019-03-12 | 杭州海康威视系统技术有限公司 | Road conditions are reminded and camera detection method and device thereof |
CN105374208A (en) * | 2014-08-28 | 2016-03-02 | 杭州海康威视系统技术有限公司 | Method for reminding user of road condition and detecting state of camera, and device thereof |
CN104484814A (en) * | 2014-12-18 | 2015-04-01 | 深圳先进技术研究院 | Advertising method and system based on video map |
CN104486586A (en) * | 2014-12-18 | 2015-04-01 | 深圳先进技术研究院 | Disaster lifesaving simulated training method and system based on video map |
CN104484814B (en) * | 2014-12-18 | 2018-07-31 | 深圳先进技术研究院 | A kind of advertising method and system based on video map |
CN104486586B (en) * | 2014-12-18 | 2018-06-22 | 深圳先进技术研究院 | A kind of disaster lifesaving simulated training method and system based on video map |
CN106156199A (en) * | 2015-04-22 | 2016-11-23 | 清华大学 | A kind of video monitoring image memory search method |
CN106156199B (en) * | 2015-04-22 | 2022-04-08 | 清华大学 | Video monitoring image storage and retrieval method |
CN108351879B (en) * | 2015-07-16 | 2022-02-18 | 构造数据有限责任公司 | System and method for partitioning search indexes for improving efficiency of identifying media segments |
CN108351879A (en) * | 2015-07-16 | 2018-07-31 | 构造数据有限责任公司 | The system and method for the division search index of efficiency for improving identification media segment |
CN105205880A (en) * | 2015-07-17 | 2015-12-30 | 广东好帮手电子科技股份有限公司 | Method based on geographic position retrieve data and system thereof |
CN105763911A (en) * | 2016-01-20 | 2016-07-13 | 努比亚技术有限公司 | Method and terminal for video playing |
TWI584150B (en) * | 2016-05-17 | 2017-05-21 | 資通電腦股份有限公司 | Digital document locating method |
CN107291850A (en) * | 2017-06-06 | 2017-10-24 | 贵阳朗玛信息技术股份有限公司 | Video data structure method and device |
CN107480228A (en) * | 2017-08-03 | 2017-12-15 | 深圳市置辰海信科技有限公司 | A kind of monitor video searching method towards hard objectives |
CN108551582A (en) * | 2018-03-19 | 2018-09-18 | 上海交通大学 | A kind of identity method and system of image, video data |
CN110942078A (en) * | 2018-09-22 | 2020-03-31 | 北京微播视界科技有限公司 | Method and device for aggregating point of interest data, media file server and storage medium |
CN110942078B (en) * | 2018-09-22 | 2024-01-12 | 北京微播视界科技有限公司 | Method, device, media file server and storage medium for aggregating interest point data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103530326A (en) | Method for adding geographical location information into video file and creating index | |
CN101694669B (en) | Pace note making method, device thereof, pace note making and sharing system | |
US20090138829A1 (en) | Information processing apparatus and method, program, and recording medium | |
CN103984710A (en) | Video interaction inquiry method and system based on mass data | |
WO2012115593A1 (en) | Apparatus, system, and method for annotation of media files with sensor data | |
CN105025319A (en) | Video pushing method and device | |
US20110007134A1 (en) | Synchronizing video images and three dimensional visualization images | |
CN104581000A (en) | Method for rapidly retrieving motional trajectory of interested video target | |
CN102722900A (en) | Method and device for automatically adding introduction information to shot picture/video | |
CN105704675A (en) | Scenic region information processing method and device | |
CN104158885B (en) | A kind of method and system based on the loading application of positional information streaming | |
WO2013128064A1 (en) | Method and apparatus for generating an audio summary of a location | |
CN103473257A (en) | Apparatus and method of tracking location of wireless terminal based on image | |
WO2015082759A1 (en) | Method and apparatus for media capture device position estimate-assisted splicing of media | |
EP3338058A1 (en) | Location based service tools for video illustration, selection, and synchronization | |
EP2940601A1 (en) | Device information providing system, and device information providing method | |
CN104679879A (en) | Intelligent storage method and intelligent storage device for photo | |
Doulamis et al. | EasyTracker: An Android application for capturing mobility behavior | |
KR20140099370A (en) | Server for offering service targetting user and service offering method thereof | |
CN104182444A (en) | News searching method and device | |
CN103501469A (en) | Method for adding geographic position information to tail part of video file | |
CN104199837A (en) | Information output method and electronic equipment | |
KR101874099B1 (en) | Method and apparatus for providing information | |
CN104426937A (en) | Method for locating content recorded by other equipment through mobile phone and cloud computation | |
US20130179425A1 (en) | Apparatus and method for searching for program using related keyword |
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 |
Application publication date: 20140122 |
|
RJ01 | Rejection of invention patent application after publication |