Audio Metadata Preceding Video in Transport Stream
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Adaptive bitrate (ABR) streaming systems experience significant latency due to the difference in decoding delays between video and audio streams, which is exacerbated by the packager's need to wait for audio information before finalizing data chunks, resulting in increased packaging latency.
Innovation Solution
The proposed solution involves an encoder that sends audio and metadata ahead of time in the transport stream, allowing the packager to finalize data chunks without waiting for corresponding audio information, thereby reducing latency by aligning chunk boundaries and eliminating the need for a fully compliant MPEG-2 Transport Stream.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the packager waits for audio information before finalizing data chunks to ensure proper synchronization, then audio-video synchronization is maintained, but packaging latency increases significantly
Solution Approach 1:
The encoder sends audio data ahead of time in the transport stream, placing audio packets before their corresponding video packets. This preliminary positioning allows the packager to access audio information immediately when creating data chunks, eliminating the need to wait for audio to arrive and significantly reducing packaging latency while maintaining proper synchronization through timestamp-based ordering.
2Reliability
If the encoder sends video and audio data in traditional order to maintain standard compliance, then MPEG-2 Transport Stream compliance is ensured, but latency is increased due to sequential processing requirements
Solution Approach 1:
The encoder inverts the traditional packaging order by sending audio data before corresponding video data in the transport stream, rather than the conventional video-first approach. This inversion allows the packager to process and finalize video data chunks without waiting for subsequent audio packets, reducing latency while maintaining compliance through proper synchronization metadata and timestamp ordering.
3Productivity
If larger segment sizes are used to improve throughput efficiency, then network throughput efficiency increases, but latency increases due to longer segment durations
Solution Approach 1:
The system segments the transport stream into smaller, more manageable data chunks that can be processed and transmitted more quickly. By combining the inverted audio-first ordering with strategic segmentation, the system creates optimized chunk sizes that balance network efficiency with reduced latency, allowing faster adaptation to changing network conditions while maintaining efficient throughput.
Data Source
AI summary
Latency reduction by sending audio and metadata ahead of time may be provided. First, an encoder may receive a source. Next, the encoder may create a transport stream from the source. The transport stream may comprise a plurality of first data units and a plurality of second data units. The plurality of second data units may respectively correspond to the plurality of first data units. The plurality of first data units are preceded in time in the transport stream by their respective corresponding ones of the plurality of second data units. A packager may then receive the transport stream and package data chunks from the transport stream.


