H.264 to H.265 Transcoding via Macroblock Merging

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Transcoding video data streams from the H.264 format to the H.265 format is costly in terms of processing resources and latency, as it often requires complete decoding and re-encoding, which is inefficient for existing equipment and infrastructure.

Innovation Solution

A transcoding method that merges adjacent macroblocks based on frequency similarity of discrete cosine transform (DCT) coefficients after inverse quantization and determines motion vectors for the H.265 format by combining those of the H.264 format, without full decoding, thereby reducing processing requirements and latency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If complete decoding and re-encoding is performed for transcoding from H.264 to H.265, then transcoding quality is improved, but processing resources and latency increase significantly

Engineering Contradiction:
Improvetranscoding qualityVSAvoidprocessing efficiency
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent extracts and reuses specific components from the H.264 decoded data (motion vectors, DCT coefficients, quantization parameters) without performing complete decoding and re-encoding. This selective extraction maintains transcoding quality while significantly reducing processing resources and latency by avoiding redundant processing of all video data.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary analysis of H.264 macroblocks to identify candidates for merging based on DCT coefficient similarity before the actual transcoding process. This preliminary action enables the system to pre-determine which macroblocks can be merged in H.265 format, reducing processing complexity and latency during the main transcoding operation.

Inventive Principle:
Principle #10Preliminary action

2Manufacturing precision

If complete decoding and re-encoding is performed for transcoding from H.264 to H.265, then transcoding quality is improved, but processing latency increases

Engineering Contradiction:
Improvetranscoding qualityVSAvoidprocessing latency
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent extracts only the necessary components (motion vectors, DCT coefficients, macroblock identifiers) from H.264 data for transcoding to H.265, avoiding the time-consuming process of complete decoding and re-encoding. This extraction approach maintains quality by preserving essential information while dramatically reducing processing latency.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent performs preliminary identification of mergeable macroblocks by analyzing DCT coefficient similarity before the main transcoding process. This preliminary action reduces latency by pre-determining which macroblocks can be merged, eliminating the need for complex real-time analysis during transcoding.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If macroblocks are merged based on frequency similarity of DCT coefficients, then processing resources are reduced, but macroblock merging accuracy must be maintained

Engineering Contradiction:
Improveprocessing efficiencyVSAvoidmacroblock merging accuracy
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent applies different processing strategies to different macroblocks based on their local characteristics. Macroblocks with high frequency similarity in DCT coefficients are merged to reduce processing, while those with low similarity are kept separate to maintain accuracy. This local quality approach ensures processing efficiency is improved without sacrificing overall merging accuracy.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the parameter used for macroblock comparison from pixel-level data to frequency-domain DCT coefficients after inverse quantization. This parameter change enables more accurate identification of visually similar macroblocks, improving merging accuracy while reducing processing resources by working with compressed frequency representations rather than raw pixel data.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10542266B2Method and device for transcoding video data from H.264 to H.265
Publication Date: 2020.01.21 SAGEMCOM BROADBAND SAS
  • US10542266B2 patent drawing
  • US10542266B2 patent drawing
  • US10542266B2 patent drawing

AI summary

A device for transcoding a video data stream in the H.264 format into a video data stream in the H.265 format includes circuitry adapted for performing a merging of adjacent macroblocks of the data stream in the H.264 format according to a predetermined criterion of frequency similarity of the discrete cosine transform coefficients of said macroblocks after application of an inverse quantisation operation; and for determining motion vectors in the H.265 format on the basis of motion vectors in the H.264 format by performing, for the macroblocks resulting from the merging of macroblocks issuing from the data stream in the H.264 format, a combination of the motion vectors of said macroblocks issuing from the data stream in the H.264 format.