Method and system for real-time rending video based on OpenGL

A real-time video and video technology, applied in the field of video rendering, can solve problems such as hotness of smart devices, and achieve the effects of solving hotness, reducing usage rate, and inconspicuous delay

Inactive Publication Date: 2016-08-03
北京思特奇信息技术股份有限公司
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a method and system for rendering real-time video based on OpenGL, which can not only solve the problem of CPU occupancy, but also solve the problem of hot smart devices

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
  • Method and system for real-time rending video based on OpenGL
  • Method and system for real-time rending video based on OpenGL

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The principles and features of the present invention will be described below with reference to the accompanying drawings. The examples are only used to explain the present invention, but not to limit the scope of the present invention.

[0038] like figure 1 As shown, a method for rendering real-time video based on OpenGL (OpenGraphicsLibrary: refers to a professional graphics program interface that defines a cross-programming language, cross-platform programming interface specification), including the following steps:

[0039] S1, use FFMPEG (FFmpeg is a set of open source computer programs that can be used to record, convert digital audio and video, and convert them into streams) in the GPU operating system to write H264 (H264 is an ITU-T video coding expert. The highly compressed digital video codec standard) data decoding library proposed by the Joint Video Group and the ISO / IEC Moving Picture Experts Group, and defines the macros and variables required by the opera...

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 present invention relates to a method and system for rendering real-time video based on OpenGL. The method comprises the following steps: using FFMPEG to write a decoding library of H264 data in the operating system of the GPU; initializing the size of the YUV window in the GPU; transmitting the network in real time The H264 data is decoded in the decoding library, and the decoded H264 data is decompressed according to macros and variables to obtain YUV data, and the YUV data is sent to the initialized YUV window; the initialized YUV is rendered on the screen by calling OpenGL The YUV data in the window, and display the video frame corresponding to the YUV data according to the defined width and height of the video frame in the YUV window. The invention reduces the utilization rate of the CPU and solves the problem of hot smart devices; at the same time, because OpenGL is used for rendering, the time for rendering a frame is much faster than the time for converting pictures, so the delay is not obvious when viewed for a long time.

Description

technical field [0001] The invention relates to a video rendering method and system, in particular to a method and system for rendering real-time video based on OpenGL. Background technique [0002] The performance and configuration of smart terminals are constantly improving. More and more people access the Internet anytime and anywhere through smart phones and other mobile terminals to obtain the information they want. The traditional basic mobile service business can no longer meet people's needs. Mobile multimedia services, which are based on text, pictures, audio and video, are developing rapidly and will surely become the development trend of the mobile Internet. [0003] With the popularization of broadband, the development of computer technology, and the improvement of image processing technology, video surveillance is increasingly infiltrating into education, government, entertainment, medical care, hotel, sports and other fields. Real-time viewing of video surveil...

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/44H04N19/51H04N19/55
CPCH04N21/44012H04N19/51H04N19/55
Inventor 杨虎
Owner 北京思特奇信息技术股份有限公司
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