Video playing method, device and equipment and storage medium

A technology of video playback and waiting to be played, which is applied in the field of video processing, and can solve problems such as video freezes, sound continues to play, hard solution failure, etc., to achieve the effect of avoiding out-of-sync image and sound and speeding up the display speed

Active Publication Date: 2019-10-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When using hard decoding for video decoding, the hard decoding may fail due to various reasons, resulting in the phenomenon that the video screen is stuck and the sound continues to play. In this case, if the decoding failure error is not handled and the decoding is continued Will cause subsequent decoding to fail

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the purpose, technical solution and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0034] In the description of the present application, it should be understood that the terms "first" and "second" are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. Also, the terms "first",...

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 relates to a video playing method, device and equipment and a storage medium, and the method comprises the steps: obtaining a to-be-played resource in response to a video playing instruction, and storing the to-be-played resource in a first cache queue; determining a currently read image frame as a target image frame from the first cache queue; storing the target image frame into a second cache queue, and decoding the target image frame; when the decoding of the target image frame fails, inserting each image frame in the second cache queue into the head of the first cache queue;obtaining corresponding target audio data; repeating the operations of image frame caching and image frame decoding until the target image frame is decoded successfully; and displaying the successfully decoded image and playing the target audio data. According to the invention, the phenomenon of picture and sound asynchronization caused by decoding failure in the video playing process is avoided,and the picture display speed is accelerated.

Description

technical field [0001] The present application relates to the technical field of video processing, and in particular to a video playing method, device, equipment and storage medium. Background technique [0002] Video decoding is the process of restoring and decoding the encoded digital video. When playing video data, the video data to be played needs to be decoded by a video decoder. When the decoding is successful, the video data to be played can be played. Video decoding can be divided into hard decoding and soft decoding. Soft decoding refers to the operation process of decoding using CPU, and hard decoding refers to the operation process of decoding using non-CPU. [0003] When using hard decoding for video decoding, the hard decoding may fail due to various reasons, resulting in the phenomenon that the video screen is stuck and the sound continues to play. In this case, if the decoding failure error is not handled and the decoding is continued Will cause subsequent de...

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/4402H04N21/44H04N21/433H04N19/42H04N19/177
CPCH04N21/433H04N21/44012H04N21/4402H04N19/177H04N19/42
Inventor 冯星
Owner TENCENT TECH (SHENZHEN) 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