Video recording method and device
AssigneeBeijing Microlive Vision Technology Co., Ltd.
InventorYi Zhou
Life of this patent
Estimating the term…
Abstract
Provided are a video recording method and apparatus. The video recording method includes: in response to detecting a resume recording instruction, determining duration of a video coded by a video coder, and setting playback progress of an audio player to the duration, where the resume recording instruction is used for instructing to continue collecting video data and continue playing target audio data by using the audio player; starting the audio player, where the video coder is started before the audio player; in the case of playing the target audio data to the playback progress, in response to collecting the video data, transmitting the collected video data to the video coder so that the video coder codes the collected video data.
Claims20
A video recording method, comprising:
- in response to detecting a resume recording instruction, determining a duration of a video encoded by a video encoder, and setting playback progress of an audio player to the duration, wherein the resume recording instruction is used for instructing to continue collecting video data and to continue playing target audio data by using the audio player;
- starting the audio player, wherein the video encoder is started before the audio player is started;
- and
- in a case that the target audio data is played to the playback progress, in response to collecting the video data, transmitting the collected video data to the video encoder so that the video encoder encodes the collected video data.
A terminal device, comprising:
- at least one processor and a storage apparatus, which is configured to store at least one program, wherein when executing the at least one program, the at least one processor performs:
- in response to detecting a resume recording instruction, determining a duration of a video encoded by a video encoder, and setting playback progress of an audio player to the duration, wherein the resume recording instruction is used for instructing to continue collecting video data and to continue playing target audio data by using the audio player;
- starting the audio player, wherein the video encoder is started before the audio player is started;
- and
- in a case that the target audio data is played to the playback progress, in response to collecting the video data, transmitting the collected video data to the video encoder so that the video encoder encodes the collected video data.
A non-transitory computer-readable medium, which stores computer programs, wherein when executing the computer programs, a processor performs:
- in response to detecting a resume recording instruction, determining a duration of a video encoded by a video encoder, and setting playback progress of an audio player to the duration, wherein the resume recording instruction is used for instructing to continue collecting video data and to continue playing target audio data by using the audio player;
- starting the audio player, wherein the video encoder is started before the audio player is started;
- and
- in a case that the target audio data is played to the playback progress, in response to collecting the video data, transmitting the collected video data to the video encoder so that the video encoder encodes the collected video data.
Dependencies are inferred from the claim text.