CN101917620A - Method for intraframe coding of geographic information in MEPG-2 video coding - Google Patents

Method for intraframe coding of geographic information in MEPG-2 video coding Download PDF

Info

Publication number
CN101917620A
CN101917620A CN 201010262553 CN201010262553A CN101917620A CN 101917620 A CN101917620 A CN 101917620A CN 201010262553 CN201010262553 CN 201010262553 CN 201010262553 A CN201010262553 A CN 201010262553A CN 101917620 A CN101917620 A CN 101917620A
Authority
CN
China
Prior art keywords
video
information
geographic information
coding
information data
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.)
Granted
Application number
CN 201010262553
Other languages
Chinese (zh)
Other versions
CN101917620B (en
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.)
ZHEJIANG SUCCESS SOFTWARE DEVELOPMENT Co Ltd
Zhejiang University ZJU
Original Assignee
ZHEJIANG SUCCESS SOFTWARE DEVELOPMENT Co Ltd
Zhejiang University ZJU
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 ZHEJIANG SUCCESS SOFTWARE DEVELOPMENT Co Ltd, Zhejiang University ZJU filed Critical ZHEJIANG SUCCESS SOFTWARE DEVELOPMENT Co Ltd
Priority to CN 201010262553 priority Critical patent/CN101917620B/en
Publication of CN101917620A publication Critical patent/CN101917620A/en
Application granted granted Critical
Publication of CN101917620B publication Critical patent/CN101917620B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention discloses a method for intraframe coding of geographic information in MEPG-2 video coding. By the method, the geographic information is coded in video frame data, a video image and geographic information data are really fused into a new image object with the geographic information; and in the process of decoding a coded video with the geographic information data, no extra expense is caused nearly compared with the conventional video decoding process. By the reconstruction of an acquisition model, the efficiency of the interactive operation of a video system and a geographic information system can be improved, and the retrieval speed of video files and video segments can be quickened.

Description

The method of intraframe coding geography information in the MEPG-2 video coding
Technical field
The present invention relates to field of video encoding, network flow-medium transmission field and GIS-Geographic Information System field, relate in particular to the method for intraframe coding geography information in a kind of MEPG-2 video coding.
Background technology
Directly obtain the geography information related data by capture video, obtained increasing application, be a difficult problem but how video itself and geography information are combined and utilize effectively always.Video system and geography information are carried out combination, mainly contain two main flow directions at present both at home and abroad: the one, frame position and geography information position correspondence with video are stored in this corresponding data in external data base or the external file; The 2nd, in the process of video acquisition, produce the corresponding data of frame position and geography information, but be coded in the video file itself.Though the data that adopt which kind of mode to store, all will be in decode procedure can the data reconstruction collection model, and video file and video clips managed and retrieve.
Summary of the invention
The objective of the invention is at the deficiencies in the prior art, the method for intraframe coding geography information in a kind of MEPG-2 video coding is provided.
The objective of the invention is to be achieved through the following technical solutions:
The method of intraframe coding geography information in a kind of MEPG-2 video coding comprises following step:
(1) obtains video flowing and geography information and coding;
(2) geographic information data in the video is decoded;
(3) the geographic information data reconstruction video collection model by decoding;
(4) by the video acquisition model video file and video clips are carried out geographic information retrieval.
The invention has the beneficial effects as follows that the present invention is coded in geography information in the video requency frame data, really video image and geographic information data are fused to the new image object that has geography information; Carry out in the decode procedure at the video that coding is had geographic information data, comparing traditional video decoding process does not almost have unnecessary expense; Can improve the efficient of video system and GIS-Geographic Information System interactive operation by the reconstruction of collection model, accelerate the retrieval rate of video file and video clips.
Description of drawings
Fig. 1 is a video acquisition process schematic diagram;
Fig. 2 is a video capture device state parameter schematic diagram, wherein, (a) is shooting angle parameter schematic diagram, (b) for taking visual angle parameter schematic diagram;
Fig. 3 is a geographic information data organizational form structure chart;
Fig. 4 is an intraframe coding geographic information data schematic diagram;
Fig. 5 is geography information decoding process figure;
Fig. 6 video acquisition Model Reconstruction flow chart;
Fig. 7 is a video acquisition model XML data organization form schematic diagram.
Embodiment
As shown in the figure, the method for intraframe coding geography information in the MEPG-2 video coding of the present invention mainly comprises following step:
1, obtains video flowing and geography information and coding
Obtain not encoded original video stream (raw image data stream) by video capture device; The transducer that is equipped with by video capture device obtains video capture device state parameter (lens parameters and shooting state parameter), comprise α, β, four angles of γ, δ, wherein α represents that the current shooting direction is at the projection on ground and the angle of north geographic pole, β represents the angle of current shooting direction line perpendicular to the ground in the vertical plane of ground, γ and δ represent the horizontal view angle and the vertical angle of view of collecting device respectively, as shown in Figure 2; Obtain the geographical location information data of current video collecting device by the GPS positioning equipment, comprise UTC time, height above sea level, longitude, latitude, the geographic information data block structure that is made of geographical location information data and video capture device state parameter as shown in Figure 3.With original video stream and the geography information stream input video coding module that is combined into, use the FFMPEG codec of increasing income to carry out the coding of video and geography information, increase uint8_t GIS_data_size and two variablees of uint8_t*GIS_data are deposited the size of geographical information data block and the internal memory pointer of geographic information data piece respectively in the AVCodecContext structure, in the process of coding, use these two variablees to import the geographic information data piece into encoder, be added on the position after the Group Header in the ES stream then, and with last five optional positions 1 of Group Header.In the process of original video stream being carried out the MPEG-2 coding, the position that the geographic information data piece adds in ES stream has guaranteed the corresponding I frame of a geographic information data piece as shown in Figure 4.After being encoded into ES stream, form PES stream and TS stream by packing, and finally carry out this locality storage and Network Transmission, whole process is as shown in Figure 1.
2, the geographic information data in the video is decoded
Group Header structure in the ES stream that in Moving Picture Experts Group-2, defines, last 5 of its last byte are not utilized, we utilize these 5 as a token of the position be indicated in whether use geographic information data after the Group Header, if geographic information data is arranged then read the size that next byte obtains the geographic information data piece, and read out according to this big young pathbreaker geographic information data thereafter.In the process that the MEPG-2 video flowing is decoded, after being resolved to GOP Header, read last five, if last five all is 0, then continuing decoding according to the decoding process of standard MPEG-2, is Integer N otherwise enter the decoding process of intraframe coding geography information video flowing and read next byte, when N greater than 0 the time, the data that continue to read a follow-up N byte are as geographic information data, and whole process as shown in Figure 5.
3, the geographic information data reconstruction video collection model by decoding
The video acquisition model is that the computer data of a video acquisition overall process is described, and by the video acquisition model, can reappear the whole video gatherer process.Behind first I frame of decoding, the angle information and the positional information of the geographic information data that decodes are set to initial value, before video finishes, angle information in the geographic information data of subsequent decoding frame and positional information angle information and the positional information with previous frame compared, when difference during greater than specific threshold, increase record, the reconstruction flow process of video acquisition model as shown in Figure 6, the data organization of video acquisition model is made up of file and record, a video acquisition model index inside is made up of different video file nodes, each video file is made up of the record node of different time points, the routing information of Archive sit include file and record node sum information, the record node comprises video clips zero-time and concluding time information and longitude and latitude, height above sea level, take 4 information such as angle parameter, organizational form as shown in Figure 7.By setting threshold values in various degree, can avoid data redundancy effectively.
4, by the video acquisition model video file and video clips are carried out geographic information retrieval
The data organization of a video acquisition model uses the video acquisition model to carry out retrieval based on the video clips of geographic information data, the process that a video acquisition model file is retrieved exactly as shown in Figure 7.In xml document shown in Figure 7, each bar record is exactly a video clips, is exactly the retrieval of writing down in the xml document to the retrieval of video clips.Wherein, a video file is made up of many records, promptly is made up of many video clips; A record or a video clips are made up of geographic information data, collecting device state parameter and time again, and the time comprises time zone time and this segment residing play start time point and the concluding time point in the whole video file when this segment is gathered.

Claims (5)

1. the method for intraframe coding geography information in the MEPG-2 video coding is characterized in that, comprises following step:
(1) obtains video flowing and geography information and coding.
(2) geographic information data in the video is decoded.
(3) the geographic information data reconstruction video collection model by decoding.
(4) by the video acquisition model video file and video clips are carried out geographic information retrieval.
2. according to the method for intraframe coding geography information in the described MEPG-2 video coding of claim 1, it is characterized in that described step (1) is specially: obtain not encoded original video stream by video capture device.The transducer that is equipped with by video capture device obtains the video capture device state parameter: α, β, four angles of γ, δ, α is that the current shooting direction is at the projection on ground and the angle of north geographic pole, β is the angle of current shooting direction line perpendicular to the ground in the vertical plane of ground, and γ and δ are respectively the horizontal view angle and the vertical angle of view of collecting device.Obtain the geographical location information data of current video collecting device by the GPS positioning equipment: UTC time, height above sea level, longitude, latitude.Geographical location information data and video capture device state parameter constitute geography information.With original video stream and geography information stream input video coding module, carry out the coding of video and geography information.
3. according to the method for intraframe coding geography information in the described MEPG-2 video coding of claim 1, it is characterized in that, described step (2) is specially: the Group Header structure in the ES stream that defines in Moving Picture Experts Group-2, last 5 of its last byte are not utilized, utilize these 5 as a token of the position be indicated in whether use geographic information data after the Group Header, if geographic information data is arranged then read the size that next byte obtains the geographic information data piece, and read out according to this big young pathbreaker geographic information data thereafter.In the process that the MEPG-2 video flowing is decoded, after being resolved to GOP Header, read last five, if last five all is 0, then the decoding process according to standard MPEG-2 continues decoding, otherwise entering the decoding process of intraframe coding geography information video flowing and reading next byte is Integer N, when N greater than 0 the time, continue to read the data of a follow-up N byte as geographic information data.
4. according to the method for intraframe coding geography information in the described MEPG-2 video coding of claim 1, it is characterized in that, described step (3) is specially: behind first I frame of decoding, the angle information and the positional information of the geographic information data that decodes are set to initial value, before video finishes, angle information in the geographic information data of subsequent decoding frame and positional information angle information and the positional information with previous frame compared,, increase record when difference during greater than specific threshold.The data organization of video acquisition model is made up of file and record, a video acquisition model index inside is made up of different video file nodes, each video file is made up of the record node of different time points, the routing information of Archive sit include file and record node sum information, record node comprise video clips zero-time and concluding time information and longitude and latitude, height above sea level, 4 information such as angle parameter of shooting.
5. according to the method for intraframe coding geography information in the described MEPG-2 video coding of claim 1, it is characterized in that, described step (4) is specially: use video acquisition model carries out the retrieval based on the video clips of geographic information data, the process that a video acquisition model file is retrieved exactly.This video acquisition model file is the xml document.In the xml document, each bar record is exactly a video clips, is exactly the retrieval of writing down in the xml document to the retrieval of video clips.Wherein, a video file is made up of many records, promptly is made up of many video clips; A record or a video clips are made up of geographic information data, collecting device state parameter and time again, and the time comprises time zone time and this segment residing play start time point and the concluding time point in the whole video file when this segment is gathered.
CN 201010262553 2010-08-20 2010-08-20 Method for intraframe coding of geographic information in MEPG-2 video coding Active CN101917620B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010262553 CN101917620B (en) 2010-08-20 2010-08-20 Method for intraframe coding of geographic information in MEPG-2 video coding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010262553 CN101917620B (en) 2010-08-20 2010-08-20 Method for intraframe coding of geographic information in MEPG-2 video coding

Publications (2)

Publication Number Publication Date
CN101917620A true CN101917620A (en) 2010-12-15
CN101917620B CN101917620B (en) 2012-08-08

Family

ID=43324988

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010262553 Active CN101917620B (en) 2010-08-20 2010-08-20 Method for intraframe coding of geographic information in MEPG-2 video coding

Country Status (1)

Country Link
CN (1) CN101917620B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609087A (en) * 2011-04-19 2012-07-25 钰创科技股份有限公司 Image interaction device, interaction image operating system and operation method
CN104202601A (en) * 2014-08-22 2014-12-10 中国联合网络通信集团有限公司 Coding method and device for positional information
CN106210585A (en) * 2016-08-15 2016-12-07 深圳市华宝电子科技有限公司 A kind of method and device storing automobile video frequency video recording
CN106792809A (en) * 2016-12-08 2017-05-31 南京华苏科技有限公司 Panorama is tested and back method and panorama test, playback system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530326A (en) * 2013-09-25 2014-01-22 深圳先进技术研究院 Method for adding geographical location information into video file and creating index

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101004820A (en) * 2007-01-12 2007-07-25 中科院嘉兴中心微***所分中心 3D intelligent traffic system
WO2008018717A1 (en) * 2006-08-10 2008-02-14 Lg Electronics Inc. Apparatus for providing traffic information for each lane and using the information
CN101290232A (en) * 2007-04-18 2008-10-22 日本先锋公司 Digital multimedia vehicle mounted navigation apparatus and navigation method
CN101504661A (en) * 2009-03-12 2009-08-12 北京英特图原信息技术有限责任公司 System and method for providing three-dimensional geographic information
CN101572804A (en) * 2009-03-30 2009-11-04 浙江大学 Multi-camera intelligent control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008018717A1 (en) * 2006-08-10 2008-02-14 Lg Electronics Inc. Apparatus for providing traffic information for each lane and using the information
CN101004820A (en) * 2007-01-12 2007-07-25 中科院嘉兴中心微***所分中心 3D intelligent traffic system
CN101290232A (en) * 2007-04-18 2008-10-22 日本先锋公司 Digital multimedia vehicle mounted navigation apparatus and navigation method
CN101504661A (en) * 2009-03-12 2009-08-12 北京英特图原信息技术有限责任公司 System and method for providing three-dimensional geographic information
CN101572804A (en) * 2009-03-30 2009-11-04 浙江大学 Multi-camera intelligent control method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609087A (en) * 2011-04-19 2012-07-25 钰创科技股份有限公司 Image interaction device, interaction image operating system and operation method
CN102609087B (en) * 2011-04-19 2015-04-15 钰创科技股份有限公司 Image interaction device, interaction image operating system and operation method
CN104202601A (en) * 2014-08-22 2014-12-10 中国联合网络通信集团有限公司 Coding method and device for positional information
CN104202601B (en) * 2014-08-22 2017-06-16 中国联合网络通信集团有限公司 The coding method of positional information and device
CN106210585A (en) * 2016-08-15 2016-12-07 深圳市华宝电子科技有限公司 A kind of method and device storing automobile video frequency video recording
CN106792809A (en) * 2016-12-08 2017-05-31 南京华苏科技有限公司 Panorama is tested and back method and panorama test, playback system

Also Published As

Publication number Publication date
CN101917620B (en) 2012-08-08

Similar Documents

Publication Publication Date Title
CN101917620B (en) Method for intraframe coding of geographic information in MEPG-2 video coding
CN101547360B (en) Localizable video file format and method for collecting data of formatted file
CN106231348B (en) A kind of back method of GOP data, device and system
CN103069799B (en) Signaling is used for the data of multiplex video component
CN100556110C (en) Use the fast forward trick mode and the reverse trick modes of message file
CN101356583B (en) Recording device and method, imaging device, reproduction device and method
CN1799257B (en) Recording/reproducing system
CN101635848B (en) Method and device for editing video file
CN101719130A (en) Implementation method of Street View and implementation system thereof
CN104301677A (en) Panoramic video monitoring method and device orienting large-scale scenes
CN204090039U (en) Integration large scene panoramic video monitoring device
CN102724492B (en) Method and system for transmitting and playing video images
CN105049920A (en) Method and device for recording multimedia files
CN102984600B (en) Method for non-linear editing software to access file according to time slices, based on internet HTTP
CN1119060A (en) Digital video tape recorder for digital HDTV
CN101631237A (en) Video monitoring data storing and managing system
CN104581406A (en) Network video recording and playback system and method
CN103595965A (en) Mobile video monitoring method based on video traffic control
CN102547228A (en) High-definition network video monitoring system based on local storage and resolution hierarchical transmission
CN101351845A (en) Recording device, recording method, recording program, imaging device, imaging method, and imaging program
WO2014049554A1 (en) Machine-to-machine communication enabled image capture and processing
CN109698943A (en) A kind of web camera access platform of capacity scalable
CN101802803B (en) Method and apparatus for generating and reproducing media object-based metadata
CN102687149B (en) Media storage system and method
CN103761194B (en) A kind of EMS memory management process and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Wang Zhipeng

Inventor after: Zhou Jie

Inventor after: Zhang Bing

Inventor after: Chen Qi

Inventor after: Zhang Zijian

Inventor before: Wang Zhipeng

Inventor before: Chen Qi

Inventor before: Zhang Zijian

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: WANG ZHIPENG CHEN QI ZHANG ZIJIAN TO: WANG ZHIPENG ZHOU JIE ZHANG BING CHEN QI ZHANG ZIJIAN