Video playing method and device, electronic equipment and storage medium
A video playback and video technology, applied in electrical components, image communication, selective content distribution, etc., can solve problems such as poor user experience, shorten buffer time, and improve user experience.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0090] image 3 It is a schematic flowchart of a video playing method provided in an embodiment of the present invention, the method comprising:
[0091] Step S301: Determine the current playback mode according to the received video playback instruction.
[0092] Because in the embodiment of the present invention, the video playback instruction can be a video playback instruction or a video playback instruction, correspondingly, the playback mode can be a video playback mode or a video playback mode.
[0093] Step S302: According to the playback mode, determine the target pre-play buffer from the first pre-play buffer and the second pre-play buffer.
[0094] In the embodiment of the present invention, the first buffer before playing can correspond to the forward playback mode of the video, and the buffer before the second playback can correspond to the reverse playback mode of the video, so correspondingly, in the embodiment of the present invention, the first The buffer bef...
Embodiment 2
[0106] On the basis of the above embodiments, in the embodiment of the present invention, the judging whether the image to be played corresponding to the playback mode is stored in the buffer before the target playback includes:
[0107] According to the playing instruction, determine the initial time point of video playing;
[0108] According to the time stamp of each frame image in the buffer before playing the target, it is judged whether there is an image corresponding to the time stamp corresponding to the initial time point in the buffer before playing the target;
[0109] If yes, each image to be played is determined according to the time stamp of each frame of image in the target pre-play buffer, the initial time point, and the play sequence corresponding to the play mode.
[0110] That is to say, after receiving the video playback instruction, the initial time point of video playback needs to be determined according to the video playback instruction. For example, the ...
Embodiment 3
[0117] In order to ensure that the image to be played stored in the target buffer before playing can meet the requirements of the current playback instruction, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, as Figure 4 As shown, the method also includes:
[0118] Step S401: Determine whether the number of frames of the image to be played stored in the target pre-play buffer is smaller than a first preset threshold.
[0119] Step S402: If yes, according to the playback mode, determine the target pre-decoding buffer from the first pre-decoding buffer and the second pre-decoding buffer.
[0120] Step S403: Obtain the video frame to be played from the target pre-decoding buffer, and decode the obtained video frame to be played.
[0121] Step S404: Store the decoded image in the target pre-play buffer.
[0122] It can be seen from the above-mentioned embodiment that after each frame of image is played, the frame of image will be clea...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com