Video Capture Class Bypassing Java Layer for Direct Encoder Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current video communication technologies lack a standard interface for video capture devices, leading to inefficiencies in video streaming services, as video data often requires processing through multiple layers, increasing the time needed for capturing and transmitting video data.

Innovation Solution

A method and apparatus that utilize a camera activation class within a programming language framework layer to capture, encode, and send video data directly to an encoder, bypassing the Java layer, thereby simplifying the process and reducing the time required for data copying and delivery.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If video data is processed through multiple layers including Java layer, then comprehensive processing and control are achieved, but the time needed for capturing and transmitting video data increases

Engineering Contradiction:
Improvetime needed for capturing and transmitting video dataVSAvoidprocessing layers
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The patent extracts the video data processing path from the conventional multi-layer architecture (which includes Java layer) and creates a direct pathway from the video capture bottom layer library to the encoder. This extraction eliminates unnecessary intermediate processing layers while maintaining the essential capture and encoding functions, thereby reducing transmission time without compromising core functionality.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the video processing system into distinct functional modules: video capture bottom layer library, video capture class, and encoder. By defining clear interfaces and data flow between these segments, the system allows selective optimization of each segment. The video capture class can independently manage the direct data transmission path to the encoder, isolating it from the Java layer processing chain and reducing overall processing time.

Inventive Principle:
Principle #1Segmentation

2Productivity

If video data is sent directly from video capture bottom layer library to encoder, then transmission efficiency is improved, but standard interface compatibility may be compromised

Engineering Contradiction:
Improveefficiency of capturing video dataVSAvoidinterface compatibility
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The video capture class serves as an intermediary component between the video capture bottom layer library and the encoder. It implements the necessary interface protocols and data format conversions, ensuring compatibility with standard interfaces while enabling the optimized direct transmission path. This mediator maintains adaptability and versatility by handling interface negotiations and data formatting, allowing the system to work with various encoders and capture devices without sacrificing transmission efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentEP2903262B1Video acquisition method and device
Publication Date: 2021.11.10 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • EP2903262B1 patent drawingFigure 1
  • EP2903262B1 patent drawingFigure 2~3
  • EP2903262B1 patent drawingFigure 4

AI summary

Proposed are a video acquisition method and device. The method comprises: setting a video acquisition class in a programming language framework layer, with the video acquisition class inheriting a class in a video acquisition underlying library, and registering a callback function for the video acquisition underlying library; the video acquisition class sending a video acquisition command to the video acquisition underlying library, and the video acquisition underlying library acquiring video data according to the video acquisition command; and applying the callback function to acquire the video data from the video acquisition underlying library, and sending the video data to a coder for video data coding.