Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Game engine capture card video capture method

A video capture and game engine technology, applied in the field of video processing, can solve problems such as the inability to capture images captured by cameras, and achieve the effects of saving a lot of time, saving time, and increasing speed

Active Publication Date: 2017-01-25
重庆虚拟实境科技有限公司
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The purpose of the present invention is to propose a collection method that can collect video shooting pictures in real time and smoothly in the game engine; the method solves the problem that the camera shooting pictures cannot be collected in real time and smoothly through the collection card in the game engine

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
  • Game engine capture card video capture method
  • Game engine capture card video capture method
  • Game engine capture card video capture method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] Such as figure 1 as shown, figure 1 It is a schematic diagram of the structure of the game engine capture card; the camera collects external image data, which is then acquired by the video capture card and transmitted to the computer for processing; figure 2 As shown, the game engine capture card video capture method provided in this embodiment includes the following steps:

[0038] S1: collecting image data; the image data is obtained by the camera, and the image data is transmitted to the SDI input port of the video capture card through the SDI output port. The image data is acquired by the camera, and the image data is transmitted to the HDMI input port of the video capture card through the HDMI output port.

[0039] S2: Obtain image data through the acquisition card;

[0040] S3: Transfer image data to memory;

[0041] S4: Create an image data storage container in the video memory; the image data storage container creates a map data storage area in the video me...

Embodiment 2

[0048] Such as Figure 3-5 As shown, the game engine capture card video capture method provided in this embodiment includes the following steps:

[0049] S1: Collect image data through the video capture card and transfer it to the memory; when starting, check whether the capture card is installed, if not, stop the capture process; if yes, check whether the driver is installed; if not, stop the capture process; if If the driver is installed, check whether the video capture interface can be started, if not, stop the capture process; if yes, set the frame rate size and color space of the captured video; then perform video capture;

[0050] S2: Create a texture through Directx in the graphics card, and set the usage type of the texture to DYNAMIC; the specific settings are as follows: when collecting, check whether a book data storage container is created in the video memory, if not, stop the update cycle; if created, then proceed Next step;

[0051]ID3D11Texture2D * renderTarge...

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 game engine capture card video capture method. The method comprises the steps of firstly, capturing image data through a video capture card, and transmitting the image data into a memory; then, creating an image data storage container in a video memory; setting the image reading type of the image data storage container into a dynamic reading type; starting the CPU (central processing unit) modification permission of the image data storage container in the video memory; then, copying the image data in the memory into the image data storage container in the video memory; finally, closing the CPU modification permission of the image data storage container in the video memory; updating the image data in the video memory, and displaying the image data on a screen. The game engine capture card video capture method provided by the invention has the advantages that Texture capable of being accessed by the CPU is set, so that the creation of an intermediate temporary memory for conversion is not needed; the capture data in the memory can be directly copied into the Texture; a large amount of time is saved; through Map () and Unmap () function operation, the time expenditure of copying resources in the process is reduced; no any clamping phenomenon occurs when capture materials are played in an engine.

Description

technical field [0001] The invention relates to the technical field of video processing, in particular to a video acquisition method for a game engine acquisition card. Background technique [0002] The video capture function inside the existing mainstream game engine only includes the capture for USB cameras, and it is impossible to capture the shooting content of high-end cameras in real time through ordinary USB cameras. First, it creates a Texture container for storing captured materials inside the 3D engine. The usage of this Texuter can only be the DEFAULT type and cannot be directly accessed by the GPU. Provide the created Texture pointer to the plug-in inside the engine; run the capture card SDK inside the plug-in to capture the picture sequence and store it in the memory; use the UpdateSubresource() method of the underlying Directx of the graphics card to copy the captured image data in the memory to the video memory, and at the same time pass the data through The ...

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): G06F17/30H04N5/76
CPCG06F16/783H04N5/76
Inventor 李锐陶澍
Owner 重庆虚拟实境科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products