H.264 Fragment Decoding via Pre-built Parameter Dictionary

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current decoding technologies rely on file headers, which are often missing or incomplete, especially in cases like digital forensics and network monitoring, leading to inability to decode standalone fragments of common file types like JPEG and H.264, and slow down the recovery process.

Innovation Solution

A method for decoding H.264 video file fragments without file headers is developed, involving identifying start of frame data, creating a parameter dictionary, detecting entropy coding-mode, updating the dictionary, and verifying generated pictures, using a classifier to differentiate between CABAC and CAVLC coding methods, and constructing a dataset to generate core parameters for decoding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If decoding technology relies on file headers, then decoding process can be executed with available parameters, but decoding cannot occur when file header is missing

Engineering Contradiction:
Improvedecoding capabilityVSAvoidability to handle missing headers
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The system pre-builds a comprehensive parameter dictionary containing all possible H.264 parameter combinations before actual decoding occurs. This preliminary preparation enables the system to immediately generate appropriate parameter sets when headers are missing, without needing to perform complex analysis during the decoding process itself.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates synthetic parameter sets by copying and adapting parameter information from the available video data fragments. By inferring and generating parameter values based on the actual video content present in the fragment, the system can reconstruct complete parameter sets even when the original headers are absent.

Inventive Principle:
Principle #26Copying

2Reliability

If decoding technology relies on file headers, then parameters for decoding are available, but recovery process slows down

Engineering Contradiction:
Improvedecoding parameter availabilityVSAvoidrecovery speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The parameter dictionary is constructed in advance by pre-processing and storing all possible parameter combinations, eliminating the need for real-time parameter extraction during actual decoding operations. This preliminary action significantly accelerates the recovery process while ensuring parameter availability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system extracts and separates the essential parameter information from the video data fragments, using only the minimal available data to generate complete parameter sets. This extraction approach minimizes processing time while ensuring all necessary parameters are obtained for successful decoding.

Inventive Principle:
Principle #2Taking out (Extraction)

3Ease of operation

If file header is used for decoding, then decoding process is simple with complete parameters, but cannot handle standalone fragments without headers

Engineering Contradiction:
Improvedecoding simplicityVSAvoidhandling of fragment types
Core Design Contradiction:
Ease of operationVSAdaptability or versatility

Solution Approach 1:

The system creates a universal decoding solution that can handle both complete files with headers and standalone fragments without headers using the same parameter dictionary mechanism. The unified approach maintains decoding simplicity while extending capability to handle diverse file types and scenarios.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The parameter dictionary serves as an intermediary between the available video data and the decoding process. It bridges the gap by providing complete parameter sets that can be generated from minimal input data, enabling the decoder to operate on fragments without original headers while maintaining the simplicity of the decoding process itself.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20230319280A1Automatic generation of h.264 parameter sets to recover video file fragments
Publication Date: 2023.10.05 HAMAD BIN KHALIFA UNIVERSITY
  • US20230319280A1 patent drawing
  • US20230319280A1 patent drawing

AI summary

A method for generating a Sequence Parameter Set and a Picture Parameter Set for decoding an H.264 coded video file fragment is provided. The method includes identifying a start of frame data, creating a parameter dictionary, detecting an entropy coding-mode, updating the parameter dictionary, identifying a plurality of headers, and verifying a generated picture.