Video file decoding method and device, electronic equipment and program product

A technology of video files and decoding methods, which is applied in the field of video processing, can solve problems such as long initialization process, inability to achieve fast start-up, poor decoding efficiency and power consumption, etc., achieve efficient decoding, realize seamless connection, and avoid frame loss Effect

Pending Publication Date: 2022-04-29
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The initialization speed of soft decoding is faster, but it is poor in decoding efficiency and power consumption. Although hard decoding has advantages in decoding efficiency and power consumption, it has a long initialization process and cannot achieve fast start-up.

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 file decoding method and device, electronic equipment and program product
  • Video file decoding method and device, electronic equipment and program product
  • Video file decoding method and device, electronic equipment and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0034] At present, many electronic devices have a video playing function, and these electronic devices can obtain a video file and play the video file.

[0035] Usually, video files are coded files, which need to be decoded to obtain video frame images. Electronic devices can play decoded video frame images, but video files cannot be directly played.

[0036] The curre...

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 file decoding method and device, electronic equipment and a program product, and relates to a video processing technology, and the method comprises the steps: carrying out the decoding of obtained to-be-decoded data through a software decoding mode, and creating a hardware decoding thread; after the hardware decoding thread is started, decoding the to-be-decoded data obtained again through a software decoding mode and a hardware decoding mode at the same time; when the first time of the video frame obtained by hardware decoding reaches the second time of the video frame obtained by software decoding, stopping decoding in a software decoding mode; and adding each video frame obtained by decoding into a frame queue. According to the scheme provided by the invention, processing can be carried out in a software decoding mode at the beginning of decoding, so that a decoding process can be quickly started, and a quick playing effect is further realized. And after the hardware decoding thread is started, processing is carried out in a hardware decoding mode, so that the to-be-decoded data can be efficiently decoded.

Description

technical field [0001] The present disclosure relates to video processing technology in computer technology, and in particular to a video file decoding method, device, electronic equipment, and program product. Background technique [0002] At present, when an electronic device plays a video, it needs to decode the video data to obtain a video frame, and then play it. [0003] There are generally two decoding methods, one is soft decoding and the other is hard decoding. Soft decoding refers to the method of decoding video data through software, and hard decoding refers to the method of decoding video data through hardware decoding. [0004] The initialization speed of soft decoding is faster, but it is poor in decoding efficiency and power consumption. Although hard decoding has advantages in decoding efficiency and power consumption, it has a long initialization process and cannot achieve fast start-up. Contents of the invention [0005] The disclosure provides a video ...

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): H04N19/42H04N19/44
CPCH04N19/42H04N19/44
Inventor 吴书超
Owner BEIJING BAIDU NETCOM SCI & 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