Method for converting DirectShow video data into high-performance Java image buffering

A video data, high-performance technology, applied in the direction of digital output to display devices, can solve problems such as lack of multimedia support, obstruction of multimedia application software, and failure to update, achieve high-speed video processing performance, simplify function development and implementation, high performance Effect

Inactive Publication Date: 2011-04-27
武汉武钢绿色城市技术发展有限公司
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since DirectShow is developed based on C / C++, its program development interface only provides C / C++ language support.
On the other hand, Java, as the current mainstream development technology in various fields such as enterprise level, desktop, and embedded, has been lacking in multimedia support. The official Java Media Framework is still based on an outdated technology system and has not been updated for a long time. Especially on the Java platform, the support for DirectShow is almost zero
This has brought great obstacles to the development of multimedia application software based on Java.

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 for converting DirectShow video data into high-performance Java image buffering
  • Method for converting DirectShow video data into high-performance Java image buffering

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] First, by inserting the DirectShow video capture filter, calculate the frame rate for the video stream output by DirectShow, and set and start the timer accordingly. Complete the capture of video frame data within the specified frequency occurrence point, convert the video frame image at the pixel level based on the compatible Java graphics buffer format, establish a Java graphics buffer and directly map it to the physical memory, and convert the converted video frame image data Fill directly into the physical memory, start the hardware acceleration mode for Java2D, provide direct access to the video memory of the graphics card, and fill the rendering of Java graphics buffer data into the video memory of the graphics card to complete high-performance image rendering and playback. Judging based on frame data forms a cyclical process. Due to the frame rate calculation, the frequency occurrence point of the timer can ensure that the continuously rendered image is a continuo...

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 method for converting DirectShow video data into high-performance Java image buffering. The process comprises the following steps of: inserting a frame capture filter into a DirectShow video stream, calculating the frame rate of the video stream, and setting and starting a timer; capturing video frame data, and performing format pixel level conversion on a video frame image; and establishing a Java graphics buffer, directly mapping the Java graphics buffer into a physical memory, and directly filling the converted video frame image data into the physical memory. By the method, the problem that Java cannot provide high-performance solutions for processing and playback of the video data for a long time is solved, conversion interaction between binary video data of system-level main stream multimedia frame DirectShow on Windows and the Java image buffering is realized, and stable and reliable multimedia video processing support is provided for Java.

Description

technical field [0001] The invention relates to a high-performance video data format conversion method, in particular to a method for converting video data generated by a multimedia framework DirectShow on a Windows operating system into a high-performance Java image buffer. Background technique [0002] DirectShow is required for multimedia video data processing and playback program design on the Windows platform. DirectShow is a multimedia framework that comes with the Windows system, providing functions such as multimedia capture, video and audio playback based on the module plug-in structure. But because DirectShow is developed based on C / C++, its program development interface only provides C / C++ language support. On the other hand, Java, as the current mainstream development technology in various fields such as enterprise level, desktop, and embedded, has been lacking in multimedia support. The official Java Media Framework is still based on an outdated technology sys...

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): G06F3/14
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