Video processing method and apparatus, electronic device and readable storage medium
AssigneeBeijing Zitiao Network Technology Co., Ltd.
InventorsSiyu HE, Shibo REN
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a video processing method and apparatus, an electronic device, and a readable storage medium. The method comprises: performing, from a designated video frame position by means of a first thread, a target video editing operation on a video to be processed to acquire target video frames obtained by the performing of the target video editing operation; and in response to a playback instruction, rendering the target video frames by means a second thread, so as to display the target video frames.
Claims22
A video processing method, comprising:
- performing, by means of a first thread and from a specified video frame position, a target video editing operation on a video frame on a specified video frame position in a video to be processed and performing the target video editing operation in advance on each video frame after the specified video frame position to acquire each target video frame obtained by performing the target video editing operation;
- rendering the each target video frame by means of a second thread to display the each target video frame in response to a playback instruction;
- wherein the video frame position on which the target video editing operation is being performed is ahead of the video frame position corresponding to the target video frame that is being displayed in the video to be processed.
(canceled)
An electronic device comprising:
- a memory and a processor;
- the memory is configured to store computer program instructions;
- and
- the processor is configured to execute the computer program instructions, so that the electronic device implements operations comprising:
- performing, by means of a first thread and from a specified video frame position, a target video editing operation on a video frame on a specified video frame position in a video to be processed and performing the target video editing operation in advance on each video frame after the specified video frame position to acquire each target video frame obtained by performing the target video editing operation;
- rendering the each target video frame by means of a second thread to display the each target video frame in response to a playback instruction;
- wherein the video frame position on which the target video editing operation is being performed is ahead of the video frame position corresponding to the target video frame that is being displayed in the video to be processed.
A non-transitory readable storage medium comprising:
- computer program instructions;
- the computer program instructions, when executed by at least one processor of an electronic device, cause the electronic device to implement operations comprising:
- performing, by means of a first thread and from a specified video frame position, a target video editing operation on a video frame on a specified video frame position in a video to be processed and performing the target video editing operation in advance on each video frame after the specified video frame position to acquire each target video frame obtained by performing the target video editing operation;
- rendering the each target video frame by means of a second thread to display the each target video frame in response to a playback instruction;
- wherein the video frame position on which the target video editing operation is being performed is ahead of the video frame position corresponding to the target video frame that is being displayed in the video to be processed.
(canceled)
Dependencies are inferred from the claim text.