Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Monitoring video file restoring method

A video file and monitoring video technology, applied in video data retrieval, video data indexing, special data processing applications, etc., can solve problems such as power failure, video files cannot be played, files cannot be played, etc., to achieve the effect of ensuring integrity

Active Publication Date: 2014-09-24
FORYOU GENERAL ELECTRONICS
View PDF4 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If the writing process exits abnormally, the video file cannot be played due to the failure to write the data index information in time
[0003] At present, the disadvantage of many existing MP4 video reading and writing libraries is: when the power is cut off during the process of writing MP4 video files, the files cannot be played due to the incompleteness of the currently written files.
If the video surveillance equipment is abnormally powered off due to man-made damage or natural reasons during video recording, key on-site video information will be lost

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Monitoring video file restoring method
  • Monitoring video file restoring method
  • Monitoring video file restoring method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The implementation of the present invention will be described in detail below in conjunction with the accompanying drawings. The accompanying drawings are only for reference and description, and do not constitute a limitation to the protection scope of the present invention.

[0020] Such as figure 1 As shown, the embodiment of the present invention provides a kind of surveillance video file restoration method, comprises writing video file header information ftyp; Also comprises:

[0021] Save the name of the video file being written, and set the current video file as being written;

[0022] The video frame data is written into the media data object block mdat, the media index information moov of the video frame is recorded in memory, and periodically (as every 3 seconds) the media index information moov is saved in the memory; the media index information moov includes frame size, index, file location offset, etc.;

[0023] After the video frame data is written, the m...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a monitoring video file restoring method, which comprises the step of writing video file header information and also comprises the steps that the current video file is set to be in a writing state; video frame data is written into a media data object block, and media index information is periodically stored into a memory; after the writing of the video frame data is completed, the media index information is written into the video file tail, and in addition, the video file is set to be in a writing completion state; during video frame data abnormal writing interruption, video breakpoint information is recorded into a video breakpoint memory vault, and the current video file is set to be in a writing incompletion state; when video monitoring equipment is booted, if the existence of the video file in the writing incompletion state is detected, the video breakpoint information is read, the media index information of the video file is written into the breakpoint part of the video file, and the video file is set to be in the writing completion state. The monitoring video file restoring method has the advantages that after the power failure in the video recording process, the damaged video file is restored, and is recovered to the video several seconds earlier before the power failure, and the completeness of the video is ensured.

Description

technical field [0001] The invention relates to the technical field of video monitoring, in particular to a monitoring video file restoration method, such as for vehicle-mounted video monitoring systems, building security monitoring systems, and the like. Background technique [0002] In the field of embedded device video surveillance, usually due to the limitation of storage capacity, it is necessary to compress the video and store it locally. The mainstream compression format is H264, and the compressed local storage format is generally MP4 or 3GP. Due to the format characteristics of MP4 or 3GP, the video data needs to be written first, and the data index information should be written last to support video drag and drop. If the writing process exits abnormally, the video file cannot be played because the data index information cannot be written in time. [0003] The shortcoming of a lot of existing MP4 video reading and writing library is at present: power failure in the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
CPCG06F11/1446G06F16/71
Inventor 王碧
Owner FORYOU GENERAL ELECTRONICS
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More