Parallel Transcoding Reconciliation via Frame Metadata Extraction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing transcoding systems face challenges in achieving optimal results when processing video files with different frame rates in parallel, leading to potential discontinuities and suboptimal transcodes due to lack of frame-specific metadata during the transcoding process.

Innovation Solution

The system generates a reconciliation manifest by extracting metadata from video frames during demuxing and pseudo-decoding, allowing for the detection and adjustment of discontinuities without full decoding, enabling accurate alignment and processing of frames with different frame rates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If video content is transcoded by breaking into different jobs executed in parallel, then processing speed is improved, but transcode quality deteriorates due to frame discontinuities and errors

Engineering Contradiction:
Improvetranscoding speedVSAvoidtranscode quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The system performs preliminary extraction of frame metadata (frame rates, timestamps, discontinuities) during the demuxing stage before parallel transcoding begins. This advance preparation allows the reconciler to create a comprehensive manifest that guides the parallel transcode jobs, ensuring they can be executed quickly while maintaining quality through pre-planned frame alignment and error detection strategies.

Inventive Principle:
Principle #10Preliminary action

2Manufacturing precision

If full decoding is performed to ensure accurate frame processing, then transcode quality is improved, but processing time increases

Engineering Contradiction:
Improveframe processing accuracyVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The system extracts only the essential metadata from video frames during demuxing, rather than performing full decoding. Specifically, it extracts frame rates, presentation timestamps, and discontinuity information. This selective extraction provides sufficient information for the reconciler to create an accurate manifest and for transcoders to process frames correctly, avoiding the time cost of full decoding while maintaining processing accuracy.

Inventive Principle:
Principle #2Taking out (Extraction)

3Productivity

If parallel transcoding is used to speed up processing, then productivity is improved, but frame synchronization deteriorates leading to discontinuities

Engineering Contradiction:
Improvetranscoding efficiencyVSAvoidframe synchronization
Core Design Contradiction:
ProductivityVSStability of the object's composition

Solution Approach 1:

The reconciler receives feedback from multiple sources including demuxing operations, pseudo-decoding jobs, and actual transcode jobs. It uses this feedback to continuously refine the reconciliation manifest, which contains precise timing and synchronization information. This feedback mechanism ensures that even as parallel transcode jobs progress independently, they can be coordinated to maintain proper frame synchronization and detect discontinuities that require correction.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The reconciler acts as an intermediary between the demuxing stage and the parallel transcode jobs. It receives raw frame metadata from demuxing, processes this information along with feedback from pseudo-decoding and transcode operations, and produces a refined reconciliation manifest. This intermediary layer coordinates the parallel jobs, ensuring they maintain proper synchronization while operating independently for maximum efficiency.

Inventive Principle:
Principle #24Intermediary (Mediator)

4Measurement precision

If metadata extraction is performed during full decoding, then measurement precision is improved, but use of energy and processing resources increases

Engineering Contradiction:
Improvemetadata accuracyVSAvoidprocessing resources
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system extracts metadata during the demuxing stage and through lightweight pseudo-decoding operations, rather than during full video decoding. This approach obtains the necessary frame rate, timestamp, and discontinuity information with minimal processing overhead. The extracted metadata is then used by the reconciler to create the reconciliation manifest, achieving high measurement precision without the substantial energy and resource costs of full decoding.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS11882324B1Reconciliation for parallel transcoding
Publication Date: 2024.01.23 AMAZON TECH INC
  • US11882324B1 patent drawing
  • US11882324B1 patent drawing
  • US11882324B1 patent drawing

AI summary

A transcoding process may be performed in parallel, which may include different nodes processing different segments of a media file at different times. Different time slices of media files may have different properties, which may lead to errors when media files are encoded for later playback. Extracting metadata from frames of media files and evaluating the frames for discrepancies enables creation of a reconciliation manifest to correct discrepancies associated with the media file. As the transcoding process is performed, the reconciliation manifest may be reference to generate an output media file.