Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for non-frame-loss segmented storage of video record based on Android system

A segmented storage and video recording technology, which is applied to TV system components, image communication, color TV components, etc., can solve problems such as difficult maintenance, poor portability, and impact on video recording, and achieve the goal of reducing unstable factors Influence, quality-enhancing effect

Active Publication Date: 2016-03-23
FUZHOU ROCKCHIP SEMICON
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Products based on surveillance are widely used in the market, such as driving recorders, surveillance cameras, etc. Although the requirements of different monitoring products are different, for example, driving recorders require high-definition, single / dual-channel video recording; surveillance cameras require more However, all monitoring products need to save the video in segments, so it is a common requirement of all monitoring products to ensure that frames cannot be lost between segmented recordings, and it is very important
[0003] At present, there are two main categories of the function of not dropping frames based on the Android system: first, use Android’s existing MediaRecorder API to segment the application, that is, after the application saves the previous recording, it immediately enables the next recording, and the other The entire switching process will have an overhead of about 200Ms when the system IO is smooth, and there may be a gap of a few seconds when the system IO is blocked, which will seriously affect the actual recording; Android standard video recording framework, this method has the following defects: the technology is difficult, it needs to be familiar with Camera, audio input, audio and video codec and other skills, and the portability is poor after implementation, it cannot be adapted to different chip platforms, and the core framework is not a standard API , the third party cannot develop based on this framework, and it is very difficult to maintain in the later stage. At the same time, it has to maintain the problem of how to share the resources related to Camera and audio with the system. There are too many unpredictable problems.

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
  • Method and system for non-frame-loss segmented storage of video record based on Android system
  • Method and system for non-frame-loss segmented storage of video record based on Android system
  • Method and system for non-frame-loss segmented storage of video record based on Android system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Please refer to figure 1 As shown, the video recording based on the Android system has no frame-loss segmentation storage method, and the method comprises the following steps:

[0039] Step A1, add video segment interface function in the Stagefright framework of Android system, the parameter of this video segment interface function can be file path or file handle; In Writer (Writer is the packaging class general name of each type file in Stagefright, for example MPEG4Writer , WebmWriter, MPEG4TSWriter, etc.) to add segment function external interface, when in use, can realize the calling of segment function external interface through video segment interface function. Of course, the video segmentation interface function and the external interface of the segmentation function are added on the basis of the original Stagefright framework, that is, the original interface function and the original external interface need to be retained to realize various original functions ....

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 method and a system for non-frame-loss segmented storage of video record based on Android system. The method comprises the following steps of: adding a video record segmentation interface function in a Stagefright frame, and adding a segmentation function external interface in Writer; splitting specific implementation of the Writer into an external interface class and an implementation class; monitoring that recording of one video record segment is completed, notifying the implementation class of the video record segment by the external interface class to stop recording video, and simultaneously initializing the implementation class of next video record segment; asking a coder for an IDR frame by the implementation class of the video record segment, quitting the video record segment when meeting the asked IDR frame after asking for the IDR frame, and storing data of the video record segment; firstly extracting the asked IDR frame by the implementation class of next video record segment, and then extracting coded frames from the coder to continue video recording. The method and the system have the advantages of being capable of realizing an aim of seamless segmented storage of video record, avoiding frame loss, improving quality of video record, and having very low technical requirements on upgrading and migration of later versions.

Description

technical field [0001] The invention relates to the field of video storage, in particular to a method and system for segmented storage of video without frame loss based on the Android system. Background technique [0002] Products based on surveillance are widely used in the market, such as driving recorders, surveillance cameras, etc. Although the requirements of different monitoring products are different, for example, driving recorders require high-definition, single / dual-channel video recording; surveillance cameras require more However, all surveillance products need to save video in segments, so it is a common requirement of all surveillance products to ensure that frames cannot be lost between segmented recordings, and it is very important. [0003] At present, there are two main categories of the function of not dropping frames based on the Android system: first, use Android’s existing MediaRecorder API to segment the application, that is, after the application saves...

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): H04N5/76H04N5/91
CPCH04N5/76H04N5/91
Inventor 陈长海
Owner FUZHOU ROCKCHIP SEMICON