Media player, playing method, and video post-processing method in hardware acceleration mode

A media player and video streaming technology, applied in the multimedia field, can solve problems such as impossibility of implementation, inability to adjust colors, add subtitles, and decrease in picture effect, so as to achieve the effect of reducing CPU resource occupation and improving CPU processing efficiency

Inactive Publication Date: 2014-04-02
SHENZHEN QVOD TECH
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, after the GPU video decoding acceleration function is turned on, common video decoding post-processing cannot be implemented, that is, color adjustment

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
  • Media player, playing method, and video post-processing method in hardware acceleration mode
  • Media player, playing method, and video post-processing method in hardware acceleration mode
  • Media player, playing method, and video post-processing method in hardware acceleration mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] Such as Figure 4 What is shown is an implementation manner of a media player of the present application, including: a separation module 101 , a decoding module 102 and a rendering module 103 .

[0041] The separation module 101 is used to separate the input media source file according to the file type and output it to the decoding module. After separation, any video stream data, audio stream data (including audio in different channels / languages) and subtitle stream data can be obtained. kind. The separation module can be realized by using corresponding technologies commonly used by those skilled in the art, which is not limited in this application.

[0042] The decoding module 102 is used to call the hardware decoder attached to the graphics processor to decode the video stream obtained after separation. It should be understood that the audio stream obtained after separation can be decoded by calling a corresponding audio decoder. The decoded audio stream It can be p...

Embodiment 2

[0083] The present embodiment provides a kind of media playing method, and it comprises the following steps:

[0084] Separating step S201, separating the input media source file according to the file type and outputting it to the decoding module;

[0085] Decoding step S202, calling the hardware decoder of the graphics processor to decode the video stream obtained after separation;

[0086] In the rendering step S203, the decoded video stream is rendered, and the user-defined presentation component is invoked to perform image post-processing on each image of the video stream, and the processed video stream is output. Specifically, the mixer collects the input video stream and notifies the custom presentation component for processing; then the custom presentation component judges whether there are any tasks in color control task, subtitle adding task, and deformation task, if any The color control task calls the color unit to adjust the color. If there is a subtitle, the subt...

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 application discloses a video post-processing method, a media player and a media playing method. The media player comprises a separating module, a decoding module and a rendering module, wherein the separating module is used for separating input media source files and outputting the separated input media source files to the decoding module; the decoding module is used for calling a hardware decoder of a graphics processor to decode video streaming obtained after separation; the rendering module is used for rendering the video streaming obtained after decoding, calling a custom demonstration component to perform image post-processing on all images of the video streaming, and outputting the processed video streaming. As the hardware decoding function of the graphics processor is adopted to decode the video streaming, particularly the decoding of the video streaming is performed in the graphics processor rather than in a CPU (central processing unit), so that the CPU resource occupancy rate is reduced when a video is played; and after data in the graphics processor is subjected to the video post-processing through the custom demonstration component, the processing efficiency of the CPU is improved, and in addition, the effects of color conditioning and subtitle adding can also be realized in a hardware acceleration mode.

Description

technical field [0001] The present application relates to the field of multimedia technology, in particular to a video post-processing method under hardware acceleration, a media player and a media playing method using the method. Background technique [0002] At present, most video players use software decoding, such as figure 1 As shown, the coded video in a specific format is first decoded by the decoder 101, and then the video is processed by the video post-processor 102, and then the processed video is rendered by the renderer 103, and the rendered video is output to the display 104 is displayed. This software decoding technology puts all video decoding and post-processing work in the CPU. However, on the one hand, the computational complexity of the encoding algorithm adopted by video, especially high-definition video, is high; When it is high-definition video, it will often work at full load, causing the PC to respond slowly to other user commands, resulting in dis...

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
IPC IPC(8): G11B20/00G11B27/10H04N9/68H04N5/445
Inventor 王云刚
Owner SHENZHEN QVOD TECH
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