A method for embedding video playback in games
A technology that embeds video and games. It is applied in the fields of digital video signal modification, electrical components, program control devices, etc. It can solve problems such as the drop of game frame rate and the inability to play video smoothly, and achieve the effect of smooth playback.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] see figure 1 As shown, a method for playing video embedded in a game of the present invention includes the following steps:
[0018] Step 10, add the dynamic link library of FFmpeg in game program, this dynamic link library is used for providing the decoding of video file;
[0019] Step 20, when the game program starts, the dynamic link library of FFmpeg is loaded, and when the video needs to be played in the game program, the video file to be played is read in from the computer hard disk, and the video file is read by the dynamic link library of the FFmpeg. The file is decoded into a video stream;
[0020] Step 30, read the color information of the image data of each frame in the video stream and generate a static picture corresponding to each frame; specifically: read the color information of the image data of each frame in the video stream (that is, The color value (RGB) of each image pixel point under the actual resolution of the video), the resolution of the vide...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com