Method and device for recording multimedia file

A multimedia file and multimedia technology, applied in the multimedia field, can solve the problems of video data loss, blank monitoring time, and inability to record during switching.

Active Publication Date: 2015-11-11
QINGDAO HISENSE MOBILE COMM TECH CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, when the recording of the video file ends, the video recording tool needs to be closed, and when the video file is recorded again, the video recording tool is restarted, and operations such as initialization are required when starting
[0005] It can be seen that it takes a long time in the process of video file switching, and recording cannot be performed during the switching process, resulting in a gap in monitoring time. For the strict monitoring field, the loss of this video data may have serious 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 device for recording multimedia file
  • Method and device for recording multimedia file
  • Method and device for recording multimedia file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0132] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0133] refer to figure 1 , showing a flow chart of the steps of an embodiment of a method for recording a multimedia file according to the present invention, which may specifically include the following steps:

[0134] Step 101, when receiving a recording request of a multimedia file, create a data source, an encoder, a packer, a first multimedia writer, and a second multimedia writer;

[0135] It should be noted that the embodiments of the present invention can be applied to electronic devices with cameras, such as mobile phones, tablet computers, smart wearable devices (such as smart watches, smart glasses), driving recorders, video monitors and so on.

[0136] Most of these electronic devices can support operating systems such...

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 device for recording a multimedia file. The method comprises the following steps: when a recording request of the multimedia file is received, creating a data source, an encoder, a packer, a first multimedia writer and a second multimedia writer; continuously acquiring multimedia data through the data source; continuously encoding the multimedia data by the encoder, and writing the encoded multimedia data into a preset buffer queue; reading the encoded multimedia data from the buffer queue, and writing the encoded multimedia data into a first multimedia file by the first multimedia writer; judging whether the first multimedia file exceeds a preset file size threshold or not; and if so, switching to the second multimedia writer, reading the encoded multimedia data from the buffer queue, and writing the encoded multimedia data into a second multimedia file by the second multimedia writer. Through the embodiment of the invention, ceaseless work during switching is ensured; the condition that part of content of the recorded file is blank is avoided; and seamless continuous recording is realized.

Description

technical field [0001] The invention relates to the technical field of multimedia, in particular to a method for recording multimedia files and a device for recording multimedia files. Background technique [0002] In the field of video surveillance such as driving recorder and site monitoring, it generally needs to record video for a long time. [0003] In the current video recording tools, due to the limitations of the file system and computing platform, it is necessary to set the upper limit of the size of the recorded video file when recording, and use multiple video files to continuously store the recorded video. [0004] However, when the recording of the video file is finished, the video recording tool needs to be closed, and when the recording of the video file is performed again, the video recording tool is restarted, and initialization and other operations need to be performed when starting. [0005] It can be seen that it takes a long time in the process of video...

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 Applications(China)
IPC IPC(8): H04N21/433
CPCH04N21/4334
Inventor 刘相双
Owner QINGDAO HISENSE MOBILE COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products