A video resource decoding method and device

A decoding method and technology of video resources, which are applied in the field of video resource decoding methods and devices, and can solve problems such as the stop of video playback in the main program of the player, the unexpected end of the decoding process, etc.

Active Publication Date: 2020-03-17
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention solves the technical problem that the video playback of the main program of the player stops due to the unexpected end of the decoding process or the crash by providing a video resource decoding method and device

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
  • A video resource decoding method and device
  • A video resource decoding method and device
  • A video resource decoding method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0097] An implementation manner of monitoring whether the RPC communication connection between the main control process and the original decoding process is disconnected is as follows:

[0098] Detect whether the named pipe used to support the RPC communication connection between the master control process and the original decoding process is disconnected inside the RPC communication connection between the master control process and the original decoding process; if disconnected, the state of the target callback function Parameter is set to 0; Judge whether the status parameter of the target callback function is zero at present by the main control process being in the target callback function; If it is zero, determine that the RPC communication connection between the main control process and the original decoding process has been disconnected.

[0099]The bottom layer of the RPC communication connection between the main control process and the original decoding process depends ...

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 discloses a decoding method and device for video resources. The method comprises the steps that when a main control process which is in communication with an RPC and an original decoding process decode and play a same target video resource, whether or not a RPC communication connection between the main control process and the original decoding process is broken is monitored; if yes, a new decoding process is created, and a new RPC communication connection between the new decoding process and the main control process is built; through cooperation of the new decoding process and the main control process, decoding of the target video resource continues, and then the target video resource is played. According to the decoding method and device for the video resources, the technical problem is solved that the decoding process finishes accidently or breaks down so that video playing of a player main program can be stopped.

Description

technical field [0001] The present invention relates to the field of video decoding, in particular to a video resource decoding method and device. Background technique [0002] In the prior art, audio and video are decoded in one process, and then the decoded audio and video are played. This solution is relatively simple and fast. [0003] But if you want to implement multiple player openings (multiple player opening is the ability to simultaneously open multiple video resources in one player, such as: video files or network video streams). As the number of additional videos increases, the system resources required by the process, such as CPU usage and memory consumption, will also increase. When the performance bottleneck of the process is reached, the playback effect will become worse and worse, the picture will become more and more stuck, and it will even cause the player to crash. In order to prevent this situation, an independent process decodes the video stream to a...

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 Patents(China)
IPC IPC(8): H04N21/434H04N21/439H04N21/4402H04N21/443
CPCH04N21/4342H04N21/4398H04N21/4402H04N21/443
Inventor 杨亮张文明陈少杰
Owner WUHAN DOUYU NETWORK 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