MPEG Transcoding by Macroblock Metadata Re-Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing MPEG-2 to MPEG-4 transcoders require significant processing resources as they need to fully decode and re-encode, due to differences in standards between MPEG-2 and MPEG-4, which are not compatible in terms of code modes and motion vectors.

Innovation Solution

A method and apparatus that decode an MPEG-2 stream and use the derived information to partially re-encode it into an MPEG-4 stream, maintaining picture types and structures, and determining re-encoding modes based on metadata to reduce processing costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If full decoding and re-encoding is performed to ensure compatibility between MPEG-2 and MPEG-4 standards, then encoding accuracy is improved, but processing complexity and resource consumption increase significantly

Engineering Contradiction:
Improveencoding accuracyVSAvoidprocessing complexity
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent applies partial action by performing only selective re-encoding of specific macroblocks that require format conversion, rather than fully re-encoding the entire video stream. The encoder identifies and processes only those blocks needing MPEG-4 specific partitioning, leaving other blocks in their original MPEG-2 encoded form, thus reducing overall processing complexity while maintaining encoding accuracy where needed.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent segments the video stream into individual macroblocks and processes them differently based on their encoding requirements. Each macroblock is evaluated independently to determine whether it needs full re-encoding or can be directly copied from the MPEG-2 stream, allowing selective application of the complex MPEG-4 encoding process only where necessary.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If full re-encoding is performed to convert MPEG-2 to MPEG-4 format, then format compatibility is improved, but processing time increases

Engineering Contradiction:
Improveformat compatibilityVSAvoidprocessing time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The patent performs partial re-encoding only on macroblocks that require MPEG-4 format conversion, rather than processing the entire video stream. This selective approach maintains format compatibility for necessary blocks while significantly reducing the total processing time by avoiding redundant re-encoding of compatible blocks.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent performs preliminary analysis of the MPEG-2 stream to identify macroblocks that require format conversion before initiating the re-encoding process. This preliminary identification allows the system to prepare only the necessary blocks for conversion, reducing overall processing time by avoiding unnecessary analysis and encoding of already compatible blocks.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If decoded information is re-used in re-encoding to speed processing, then processing speed is improved, but compatibility between different MPEG standards deteriorates

Engineering Contradiction:
Improveprocessing speedVSAvoidstandard compatibility
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The patent applies local quality by re-using decoded information selectively for specific macroblocks where it remains valid, while performing full re-encoding for blocks that require MPEG-4 specific processing. This allows the system to maintain high processing speed for compatible blocks while ensuring standard compatibility for blocks that need format conversion.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent partially re-uses decoded information from the MPEG-2 stream for macroblocks that do not require format conversion, while performing complete re-encoding for blocks that need MPEG-4 compatibility. This selective approach maintains processing speed benefits where applicable while ensuring standard compatibility where required.

Inventive Principle:
Principle #16Partial or excessive action

4Adaptability or versatility

If full decoding to baseband is performed to enable MPEG-4 encoding, then encoding flexibility is improved, but processing resources are consumed excessively

Engineering Contradiction:
Improveencoding flexibilityVSAvoidprocessing resources
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent performs partial decoding only for macroblocks that require MPEG-4 format conversion, rather than fully decoding the entire video stream to baseband. This selective decoding approach maintains encoding flexibility for necessary blocks while significantly reducing the processing resources required by avoiding redundant decoding of already compatible blocks.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent segments the video processing into individual macroblock operations, decoding and re-encoding only those blocks that require format conversion. This segmentation allows the system to maintain encoding flexibility where needed while minimizing processing resource consumption by avoiding unnecessary full-stream decoding.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8340191B2Transcoder from first MPEG stream to second MPEG stream
Publication Date: 2012.12.25 ARRIS ENTERPRISES LLC
  • US8340191B2 patent drawing
  • US8340191B2 patent drawing
  • US8340191B2 patent drawing

AI summary

A system is configured to transcode a first MPEG stream to a second MPEG stream. The system includes a first MPEG decoder capable of decoding the first MPEG stream and a second MPEG encoder capable of producing the second MPEG stream. The second MPEG encoder is configured to maintain a decoded picture type of I, P, or B. The second MPEG encoder is also configured to maintain a decoded picture structure of frame or field, identify a metadata per each macroblock (MB) of an MB pair of the first MPEG stream, and determine whether to re-encode the MB into the second MPEG stream using one of a frame or a field mode based on the identified metadata. The second MPEG encoder is further configured to re-encode the MB pair into the second MPEG stream using one of the frame or the field mode based on the identified metadata.