Fast Multipass Video Transcoding via Intermediate Format Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing transcoding processes face increased complexity and computational costs due to complex decoding requirements, particularly when dealing with formats like ProRes or JPEG-2000, which require multiple decoding steps, leading to inefficiencies and longer transcoding times.

Innovation Solution

A method that decodes input video content into a simpler intermediate format, analyzes it to determine optimized encoding parameters, and then encodes it into the final output format, reducing decoding complexity by using a 'fast decode' format like H.264 or H.265, thereby streamlining the transcoding process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If multiple decoding steps are used for complex formats like ProRes or JPEG-2000, then decoding accuracy is improved, but transcoding time and computational complexity increase significantly

Engineering Contradiction:
Improvedecoding accuracyVSAvoidtranscoding time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs a preliminary analysis pass that decodes the video once to extract all necessary parameters (resolution, bitrate, frame rate, complexity metrics) without performing a second decoding. This preliminary action captures all needed information upfront, eliminating the need for multiple decoding steps while maintaining accurate parameter extraction for the encoding process

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts only the essential parameters needed for encoding from the decoded video frames, separating the analysis function from the decoding function. By extracting parameters like complexity metrics, resolution, and bitrate information in a single decoding pass, the system avoids redundant decoding operations while preserving all necessary information for optimal encoding

Inventive Principle:
Principle #2Taking out (Extraction)

2Measurement precision

If multiple decoding steps are used for complex formats like ProRes or JPEG-2000, then decoding accuracy is improved, but computational complexity increases significantly

Engineering Contradiction:
Improvedecoding accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system performs all necessary decoding and parameter extraction in a single preliminary pass, capturing complexity metrics and video characteristics before encoding begins. This eliminates the need for subsequent decoding steps, significantly reducing computational complexity while maintaining accurate parameter extraction for encoding optimization

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary analysis stage that processes decoded frames to extract encoding parameters without requiring re-decoding. This intermediary step acts as a bridge between decoding and encoding, capturing all necessary information in one pass and eliminating redundant computational operations

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If a single-pass encoding approach is used, then transcoding speed is improved, but encoding quality and optimization deteriorate

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

Solution Approach 1:

The patent performs preliminary analysis in the first pass to determine optimal encoding parameters including complexity buckets, target bitrate, and encoding settings. This preliminary action enables the system to use highly optimized encoding algorithms (like two-pass or variable bitrate encoding) in subsequent passes, achieving both high quality and efficient processing by preparing all encoding parameters upfront

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically adjusts encoding parameters based on the complexity analysis performed in the first pass. By categorizing video segments into complexity buckets and applying different encoding strategies to different segments, the system optimizes overall encoding quality while maintaining high processing efficiency through adaptive parameter selection

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS20230269386A1Optimized fast multipass video transcoding
Publication Date: 2023.08.24 BITMOVIN INC
  • US20230269386A1 patent drawing
  • US20230269386A1 patent drawing
  • US20230269386A1 patent drawing

AI summary

A computer-implemented method and system for transcoding input video content is provided. The method includes decoding the input video content from a first format to a first set of raw video data. Encoding the first set of raw video data into an intermediate format and storing the video data in the second intermediate format. Also encoding the first set of raw video data into a third desired output format to extract video parameters and determining optimized encoding parameters for encoding the video content into the final output video. The method includes decoding the stored video data encoded into the intermediate format into a second set of raw video data and encoding the second set of raw video data into the third desired output format using the optimized encoding parameters to generate the final output video.