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

Method, device and terminal equipment for realizing seamless video recording at application layer

A seamless and video recording technology, applied in image communication, color TV parts, TV system parts, etc., can solve the problem of missing seconds and achieve the effect of eliminating the phenomenon of missing seconds

Active Publication Date: 2020-02-04
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method, device and terminal equipment for realizing seamless video recording in the application layer of the Android system, so as to solve the common problem of missing seconds in existing continuous video recording solutions

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, device and terminal equipment for realizing seamless video recording at application layer
  • Method, device and terminal equipment for realizing seamless video recording at application layer
  • Method, device and terminal equipment for realizing seamless video recording at application layer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] Embodiments of the present invention provide a method, device and terminal equipment for realizing seamless video recording at the application layer of the Android system, so as to solve the problem of missed seconds commonly existing in existing continuous video recording solutions.

[0053] The inventor found during the research process that in the original design of the Android system in the prior art, the video recording function is realized through the highly integrated and encapsulated recording interface MediaRecorder. The problem brought by this highly integrated encapsulation is that resource release and reconstruction take a long time; specifically, use MediaRecorder to realize the recording function, and the method integrated in MediaRecorder traverses and executes once (including the creation / acquisition of various resources when the recording starts , and the release of various resources at the end of the video recording), complete a video recording process,...

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 embodiment of the invention provides a method and apparatus for realizing seamless picture recording on an application layer, and a terminal device. The method comprises the following steps: firstly adopting MediaCodec to encode preview video data and audio data to obtain audio and video encoding data, and then, controlling two package devices to alternately package the audio and video encoding data by using MediaMuxer, wherein before one package device stops once package process, the other package device has been pre-started and starts a package operation, so that two adjacent picture recording files have an overlapped portion, which reduces the phenomenon of missing seconds. In the embodiment, the MediaCodec always runs after the picture recording is started until the seamless picture recording is ended, no circular release and reconstruction operation of encoder resources is required, the two package devices controlled by the MediaMuxer alternately work, even if one package device need to perform resource release and reconstruction, the other package device is in a package working state, and thus true seamless picture recording is realized.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of video recording, and in particular to a method, device and terminal equipment for realizing seamless video recording at the application layer of the Android system. Background technique [0002] In production and life, continuous video recording is required in many occasions, such as surveillance video on the street, surveillance video in the production workshop, driving record on the car, etc. Since the longer the recording time, the larger the recorded video file, it is impossible to save all the recorded videos in one file during the continuous recording process. It is necessary to segment the recording according to the time, that is, to produce a video file every time a period of recording is recorded. . For example, if the recording time of each video file is set to 5 minutes in advance, and the recording starts at 9:00:00, the following video files should be obtained in se...

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04N7/18H04N5/76
CPCH04N5/76H04N7/18
Inventor 孙磊王宏斌
Owner QINGDAO HISENSE MOBILE COMM TECH CO LTD