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

Video shooting method and video shooting device

A video shooting and event technology, applied in the direction of TV, color TV, color TV parts, etc., can solve the problem of error-prone video shooting method, and achieve the effect of avoiding mistakes

Active Publication Date: 2015-10-14
TENCENT TECH (BEIJING) CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that the current state machine causes the video shooting method to be prone to errors in the process of multi-segment shooting and fast shooting, the embodiment of the present invention provides a video shooting method and device

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
  • Video shooting method and video shooting device
  • Video shooting method and video shooting device
  • Video shooting method and video shooting device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0053] In the process of implementing the embodiment of the present invention, the inventor found that when calling the start API of MediaRecorder and the stop API of MediaRecorder, the result cannot be returned immediately, and the response time of hundreds of milliseconds is probably required. If an illegal operation is received during this period, it is very easy to cause an exception. For this reason, the inventor redesigned a more reasonable state machine to control the MediaRecorder (media recording), so as to avoid the occurrence of the above abnormality. in,

[0054] The start API can be: MediaRecorder.start()(MediaRecorder.Start())

[0055] The end API can be: MediaRecorder.stop () (media recording. end ())

[0056] Please ...

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 discloses a video shooting method and a video shooting device, belonging to the field of multimedia processing. The method comprises the following steps: if a state machine is in a halted state and receives a start event, the state machine is shifted from the halted state into the start preparing state, and a starting API for system shooting is operated; control events received in the start preparing state are buffered; when the starting API for system shooting is successfully operated, the state machine is shifted from the start preparing state into the shooting state; and when the state machine is in the shooting state, the buffered control events are responded or discarded. The embodiment of the video shooting method and the video shooting device overcomes the problems that the existing state machine easily causes errors of the video shooting method in multi-stage shooting and quick capture processes, and gains effects that a more reasonable state machine is used for controlling the shooting process, realizing section breakpoint shooting, quick capture and other precise shooting processes and preventing errors.

Description

technical field [0001] Embodiments of the present invention relate to the field of multimedia processing, and in particular to a video shooting method and device. Background technique [0002] Short video sharing is currently a very popular function on mobile terminals such as smart phones, tablet PCs and multimedia players. Users can take short videos of a few seconds with their smartphones and share them with friends, making short videos spread information like Weibo. [0003] On the mobile terminal using the Android system, the short video sharing App (Application, application program) can call the built-in MediaRecorder (media recording) program of the Android system to shoot videos. The current MediaRecorder is controlled based on a simple state machine. The simple state machine includes: initial state, ready state, and recording state. When the user's start event is received, the simple state machine switches from the ready state to the recording state, and starts Ca...

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): H04N5/232H04N21/433
Inventor 吴凯刘伟
Owner TENCENT TECH (BEIJING) CO LTD