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.

Active Publication Date: 2020-07-03
ZHEJIANG DAHUA TECH CO LTD
View PDF15 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a video playing method, device, electronic equipment and storage medium, which are used to solve the technical problem of poor user experience in the prior art when the user frequently switches the playing direction of the video

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 playing method and device, electronic equipment and storage medium
  • Video playing method and device, electronic equipment and storage medium
  • Video playing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

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 invention provides a video playing method and device, electronic equipment and a storage medium, and the method comprises the steps: determining a current playing mode according to a received video playing instruction; determining a target pre-playing buffer area from the first pre-playing buffer area and the second pre-playing buffer area according to the playing mode; judging whether a to-be-played image corresponding to the playing mode is stored in a buffer area before target playing; if so, playing the to-be-played image according to a playing sequence corresponding to the playing mode based on the playing mode; and storing the played image into another buffer area before playing. In the present invention, a first before-playing buffer area and a second before-playing buffer areawhich correspond to different playing modes are arranged; according to the invention, bidirectional buffering can be carried out on the to-be-played image and the played image, when the video playingdirection is switched, the image in the buffer area before target playing can be directly played, the corresponding code stream does not need to be buffered again, the buffering time is shortened, andthe purpose of improving the user experience is achieved.

Description

technical field [0001] The present invention relates to the technical field of multimedia playing, in particular to a video playing method, device, electronic equipment and storage medium. Background technique [0002] In the prior art, when the video is being played, the process is as follows figure 1 As shown, that is to obtain the code stream from the video file or the network, put the obtained code stream into the buffer before decoding, the decoder obtains the code stream from the buffer before decoding for decoding, and put the decoded image into the playback The front buffer, and then the timer plays the decoded image on the display according to the frame rate or time stamp. [0003] When the video is played backwards, the process is as follows: figure 2 As shown, that is to reacquire the reversed code stream from the video file or the network, and put the obtained reversed coded stream into the pre-decoding buffer, and the decoder obtains the reversed coded stream...

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/433H04N21/44H04N21/472H04N21/8547
CPCH04N21/44004H04N21/4331H04N21/47217H04N21/8547
Inventor 秦川
Owner ZHEJIANG DAHUA 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