CN103065660A - Video file locating method of embedded video recorder - Google Patents
Video file locating method of embedded video recorder Download PDFInfo
- Publication number
- CN103065660A CN103065660A CN2012105306955A CN201210530695A CN103065660A CN 103065660 A CN103065660 A CN 103065660A CN 2012105306955 A CN2012105306955 A CN 2012105306955A CN 201210530695 A CN201210530695 A CN 201210530695A CN 103065660 A CN103065660 A CN 103065660A
- Authority
- CN
- China
- Prior art keywords
- video
- frame
- index
- file
- encapsulation
- 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
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
A video file locating method of an embedded video recorder comprises the steps of enabling video data code streams collected by an analog camera and a network camera to enter a master controller of the embedded video recorder, encapsulating the current time in digital video code streams, creating a file inner index during a video making process and only creating an index for a keyframe, writing the keyframe in the file, recording the index in an end of the file when the file is packaged, disguising the index as a video frame, and recording a start location of the frame at the end of the file. According to the video file locating method of the embedded video recorder, a video file inner index technology is adopted, under the premise that a video making performance is not influenced, locating speed and accuracy are greatly improved in the process of playback, the code streams are encapsulated to achieve real-time schedule display, and convenience is provided for users.
Description
Technical field
The present invention relates to the technical field of video monitoring, is a kind of video file localization method of built-in hard disk video tape recorder specifically.
Background technology
Built-in hard disk video tape recorder equipment generally is divided into built-in hard disk video tape recorder DVR, embedded type network video video recorder NVR and mixed type DVR.
Built-in hard disk video tape recorder DVR be a kind of can the connecting analog video camera, its vision signal of analog acquisition such as ball machine carries out the embedded type network video equipment that local output playback and the local storage of Video coding, network real-time video are propagated.Embedded type network video video recorder NVR a kind ofly can connect and control network of network video camera IPC front end, the video data that IPC is transmitted carries out this locality storage and forwarded, and decoding shows the equipment of the real time video signals that IPC gathers at the output interface of NVR equipment.Embedded mixed type DVR is all built-in hard disk video tape recorder equipment of embedded digital video recorder (DVR) and NVR function.The video input of embedded digital video recorder (DVR), NVR, mixed type DVR comprises the analog video input of CVBS interface and the digital video input that sends by network.
Along with the development of safety precaution, Video Surveillance Industry, the speed of development of digital video monitoring is more and more faster, and not only traditional embedded digital video recorder (DVR) had been obtained tremendous development in recent years, and the new equipments such as embedded NVR, mixed type DVR also arise at the historic moment.The thing followed because that the user requires the sharpness of video monitoring is more and more higher, has also had higher requirement to the preservation duration of video file, causes the capacity of digital video storage device the growth of explosion type ground also to occur.For the equipment development person, how to allow the user in the data of magnanimity, rapidly, accurately find the data of oneself wanting, become a new problem.
The built-in hard disk video tape recorder kind equipment is inquired about video recording for the convenience of the user, the capital is in video recording, enroll the key message of picture, such as recording channel, video recording start time, video recording concluding time, the produce indexs such as key message such as video recording type, video file name, so just can be when the user inquires about make up according to different condition and navigate to fast some files.Oversize for preventing that video file from too much causing inquiring about video time, generally all can carry out subpackage to video file and process, it is a bag (being video file) that most of application scenarios are all adopted 30 minutes~1 hour.The problem of doing like this existence is: the user is in when video recording inquiry, and all wishing can be fast and find exactly the digital of digital video data that began from a certain second, and this traditional indexing means can only bring 30 minutes precision, obviously can not meet consumers' demand.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of video file localization method of built-in hard disk video tape recorder.
The technical scheme that the present invention takes for the technical matters that exists in the solution known technology is:
The video file localization method of built-in hard disk video tape recorder of the present invention may further comprise the steps:
A, the stream of video data that collects via analog video camera and web camera enter the master controller of built-in hard disk video tape recorder;
B, in digital video bit stream, encapsulate the current time:, and through the digital video frequency flow behind the coding, then directly video is encapsulated if by the analog video camera access; If the digital video frequency flow by web camera input, then advanced column criterion is removed the encapsulation of original video flowing, encapsulates again; The privately owned interface that is provided by scrambler during encapsulation adds the current time, and the form of arranging of the video flowing after the encapsulation is as follows: privately owned frame head, current time, normal video data, standard audio data;
C, in video recording the inner index of preparation of document, and only to the key frame produce index, behind the video/audio after reading in frame encapsulation, judge first whether this frame video/audio is key frame, if key frame then writes index with this key frame information, comprise current time and key frame position hereof, with the video/audio writing in files; If this frame is not key frame then video/audio after reading in next frame encapsulation;
D, with the index frame writing in files, when file is packed, end-of-file charged in this index, and with frame of video of its disguise as, record the reference position of this frame at end-of-file, the form of arranging of the index frame after the encapsulation is as follows: privately owned frame head, current time, index frame data, index frame reference position hereof.
Advantage and good effect that the present invention has are:
The video file localization method of built-in hard disk video tape recorder of the present invention, after when playback, having navigated to a concrete file, first index frame is read in internal memory, owing to identified index frame position hereof at end-of-file, saved the process of searching index frame.Owing in index frame, recorded the time of all key frames and position hereof, by the traversal index, can navigate to fast the corresponding key frame of time point to be found.Simultaneously when each frame of decoding, the privately owned interface that can provide by demoder extracts its scramble time from these frame data, thus realize each frame time accurately, show in real time.The present invention adopts the inner index technology of video file, under the prerequisite that does not affect the video recording performance, and the speed of having located when greatly having improved playback, precision, and by code stream being encapsulated the real-time progress demonstration of realization, provide convenience for the user uses.
Description of drawings
Fig. 1 is the synoptic diagram of data transmission in the video file localization method of built-in hard disk video tape recorder of the present invention;
Fig. 2 is the process flow diagram of key frame establishment in the video file localization method of built-in hard disk video tape recorder of the present invention.
Embodiment
The present invention will be described in detail referring to drawings and Examples.
Fig. 1 is the synoptic diagram of data transmission in the video file localization method of built-in hard disk video tape recorder of the present invention; Fig. 2 is the process flow diagram of key frame establishment in the video file localization method of built-in hard disk video tape recorder of the present invention.
As depicted in figs. 1 and 2, the video file localization method of built-in hard disk video tape recorder of the present invention may further comprise the steps:
A, the stream of video data that collects via analog video camera and web camera enter the master controller of built-in hard disk video tape recorder, the signal that analog video camera collects enters into primary controller through A/D converter and scrambler, and the signal that web camera collects directly enters master controller;
B, in digital video bit stream, encapsulate the current time:, and through the digital video frequency flow behind the coding, then directly video is encapsulated if by the analog video camera access; If the digital video frequency flow by web camera input, then advanced column criterion is removed the encapsulation of original video flowing, encapsulates again; The privately owned interface that is provided by scrambler during encapsulation adds the current time, and the form of arranging of the video flowing after the encapsulation is as follows: privately owned frame head, current time, normal video data, standard audio data;
C, in video recording the inner index of preparation of document, and only to the key frame produce index, owing to being worked out, all frame of video can take larger disk space, and be not that all frames can both directly be decoded when playback, thereby behind the video/audio after reading in frame encapsulation, judge first whether this frame video/audio is key frame, if key frame then writes index with this key frame information, comprise current time and key frame position hereof, with the video/audio writing in files; If this frame is not key frame then video/audio after reading in next frame encapsulation;
D, with the index frame writing in files, because audio, video data all is to write in real time hard disk, and the inner index of file is to work out in internal memory, so when file is packed, end-of-file charged in this index, and with frame of video of its disguise as, be referred to as index frame, doing like this is in order to keep and the compatibility of existing video file.For guaranteeing to find fast this frame, record the reference position of this frame at end-of-file, the form of arranging of the index frame after the encapsulation is as follows: privately owned frame head, current time, index frame data, index frame reference position hereof.
The present invention can realize following functions:
Read index frame during playback: after navigating to a concrete file, first index frame is read in internal memory.Owing to identified index frame position hereof at end-of-file, saved the process of searching index frame.
Locate by the inner index of file is quick, accurate during playback: in index frame, recorded the time of all key frames and position hereof, by the traversal index, can navigate to fast the corresponding key frame of time point to be found.
Show in real time video time during playback: when each frame of decoding, the privately owned interface that can provide by demoder extracts its scramble time from these frame data, thus realize each frame time accurately, show in real time.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, although the present invention with preferred embodiment openly as above, yet, be not to limit the present invention, any those skilled in the art, within not breaking away from the technical solution of the present invention scope, certainly can utilize the technology contents of announcement to make a little change or modification, become the equivalent embodiment of equivalent variations, be the content that does not break away from technical solution of the present invention in every case, any simple modification that foundation technical spirit of the present invention is done above embodiment, equivalent variations and modification all belong in the scope of technical solution of the present invention.
Claims (1)
1. the video file localization method of a built-in hard disk video tape recorder may further comprise the steps:
A, the stream of video data that collects via analog video camera and web camera enter the master controller of built-in hard disk video tape recorder;
B, in digital video bit stream, encapsulate the current time:, and through the digital video frequency flow behind the coding, then directly video is encapsulated if by the analog video camera access; If the digital video frequency flow by web camera input, then advanced column criterion is removed the encapsulation of original video flowing, encapsulates again; The privately owned interface that is provided by scrambler during encapsulation adds the current time, and the form of arranging of the video flowing after the encapsulation is as follows: privately owned frame head, current time, normal video data, standard audio data;
C, in video recording the inner index of preparation of document, and only to the key frame produce index, behind the video/audio after reading in frame encapsulation, judge first whether this frame video/audio is key frame, if key frame then writes index with this key frame information, comprise current time and key frame position hereof, with the video/audio writing in files; If this frame is not key frame then video/audio after reading in next frame encapsulation;
D, with the index frame writing in files, when file is packed, end-of-file charged in this index, and with frame of video of its disguise as, record the reference position of this frame at end-of-file, the form of arranging of the index frame after the encapsulation is as follows: privately owned frame head, current time, index frame data, index frame reference position hereof.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105306955A CN103065660A (en) | 2012-12-11 | 2012-12-11 | Video file locating method of embedded video recorder |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012105306955A CN103065660A (en) | 2012-12-11 | 2012-12-11 | Video file locating method of embedded video recorder |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103065660A true CN103065660A (en) | 2013-04-24 |
Family
ID=48108255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012105306955A Pending CN103065660A (en) | 2012-12-11 | 2012-12-11 | Video file locating method of embedded video recorder |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103065660A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105373581A (en) * | 2015-10-09 | 2016-03-02 | 浙江大华技术股份有限公司 | Method and device for processing video files in transaction processes |
CN109698900A (en) * | 2017-10-20 | 2019-04-30 | 杭州海康威视数字技术股份有限公司 | A kind of data processing method, device and monitoring system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101064846A (en) * | 2007-05-24 | 2007-10-31 | 上海交通大学 | Time-shifted television video matching method combining program content metadata and content analysis |
CN101193273A (en) * | 2006-11-20 | 2008-06-04 | 中兴通讯股份有限公司 | A storage and playing method for real time multimedia image information |
CN101201824A (en) * | 2006-12-15 | 2008-06-18 | 深圳市锐明视讯技术有限公司 | Method for processing signal of video stream |
CN101394522A (en) * | 2007-09-19 | 2009-03-25 | 中国科学院计算技术研究所 | Detection method and system for video copy |
CN101646070A (en) * | 2009-07-30 | 2010-02-10 | 杭州联图科技有限公司 | Novel intelligent security-protecting and monitoring method and special equipment thereof |
CN102497541A (en) * | 2011-12-21 | 2012-06-13 | 北京硅盾安全技术有限公司 | Intelligent video information distribution and coding method |
-
2012
- 2012-12-11 CN CN2012105306955A patent/CN103065660A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101193273A (en) * | 2006-11-20 | 2008-06-04 | 中兴通讯股份有限公司 | A storage and playing method for real time multimedia image information |
CN101201824A (en) * | 2006-12-15 | 2008-06-18 | 深圳市锐明视讯技术有限公司 | Method for processing signal of video stream |
CN101064846A (en) * | 2007-05-24 | 2007-10-31 | 上海交通大学 | Time-shifted television video matching method combining program content metadata and content analysis |
CN101394522A (en) * | 2007-09-19 | 2009-03-25 | 中国科学院计算技术研究所 | Detection method and system for video copy |
CN101646070A (en) * | 2009-07-30 | 2010-02-10 | 杭州联图科技有限公司 | Novel intelligent security-protecting and monitoring method and special equipment thereof |
CN102497541A (en) * | 2011-12-21 | 2012-06-13 | 北京硅盾安全技术有限公司 | Intelligent video information distribution and coding method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105373581A (en) * | 2015-10-09 | 2016-03-02 | 浙江大华技术股份有限公司 | Method and device for processing video files in transaction processes |
CN105373581B (en) * | 2015-10-09 | 2019-02-12 | 浙江大华技术股份有限公司 | A kind of method and device handling video file in process of exchange |
CN109698900A (en) * | 2017-10-20 | 2019-04-30 | 杭州海康威视数字技术股份有限公司 | A kind of data processing method, device and monitoring system |
CN109698900B (en) * | 2017-10-20 | 2020-12-25 | 杭州海康威视数字技术股份有限公司 | Data processing method, device and monitoring system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101849249B (en) | Method and device for acquiring, recording and utilizing data captured in an aircraft | |
CN101631237B (en) | Video monitoring data storing and managing system | |
CN104410807B (en) | A kind of multi-channel video synchronized playback method and device | |
CN102750962B (en) | A kind of back method of video file and device | |
CN104363430A (en) | Augmented reality camera monitoring method and system thereof | |
CN1992054B (en) | Method and apparatus for utilizing DVD contents through home network | |
CN102150424B (en) | Method for file formation according to freeview AV service | |
CN102118539B (en) | Multimedia playing terminal as well as playing method and device for dragging multimedia files | |
CN101820538A (en) | Systems and methods for stream format conversion and digital TV recording device | |
CN103530326A (en) | Method for adding geographical location information into video file and creating index | |
CN105049920A (en) | Method and device for recording multimedia files | |
CN104796756A (en) | Image recording system | |
CN104168443A (en) | Method for carrying out video recording on video monitor and network video recorder | |
WO2011127859A2 (en) | Method for processing video data and method and apparatus for displaying video images | |
CN103731631A (en) | Method, device and system for transmitting video image | |
CN109698943A (en) | A kind of web camera access platform of capacity scalable | |
CN105049904A (en) | Play method and play device of multi-media files | |
CN101867762A (en) | Timing system of on line advertisement for television station and method thereof | |
CN103065660A (en) | Video file locating method of embedded video recorder | |
CN103037169A (en) | Picture split joint combination method of embedded hard disk video | |
CN101917620B (en) | Method for intraframe coding of geographic information in MEPG-2 video coding | |
CN201663666U (en) | Network video device | |
CN106791536A (en) | The recording player method and terminal of multimedia file | |
CN207869264U (en) | A kind of law enforcement record system | |
WO2017004933A1 (en) | Video recording system for synchronously integrating speed information into video in real time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130424 |