Transport Stream Timestamp Discontinuity Detection by Chunk Boundary Analysis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing systems fail to efficiently detect and manage timestamp and video resolution discontinuities in packet streams, leading to improper decoding and display of video frames, and result in excessive processor utilization and reduced throughput.
Innovation Solution
A method for detecting timestamp discontinuities by identifying the earliest and latest timestamps in a packet chunk, calculating the time difference, and comparing it against a maximum chunk time difference to identify and mark discontinuities, thereby reducing processor utilization and increasing throughput.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If every packet within the sequence is examined to identify timestamp information, then measurement precision of discontinuities is improved, but device complexity and processor utilization increase
Solution Approach 1:
The packet sequence is divided into chunks of a predetermined size. The discontinuity detection process operates on each chunk independently by examining only the first and last packets, rather than every packet in the entire sequence. This segmentation reduces the number of packets that need to be processed while maintaining detection capability.
Solution Approach 2:
Instead of examining every packet in the sequence, the system performs partial action by only inspecting the boundary packets (first and last) of each chunk. This partial examination is sufficient to detect discontinuities when combined with the chunking approach, significantly reducing processor utilization while maintaining adequate detection precision.
2Reliability
If comprehensive discontinuity detection is performed on all packets, then reliability of video frame decoding is improved, but productivity of the streaming system is reduced
Solution Approach 1:
By segmenting the packet stream into manageable chunks and processing only boundary packets, the system maintains reliable discontinuity detection while improving processing throughput. The segmentation allows parallel processing and reduces the computational burden per unit time.
Solution Approach 2:
The system performs preliminary action by examining the first and last packets of each chunk to identify potential discontinuities before full decoding proceeds. This early detection allows the system to handle discontinuities efficiently without blocking the overall streaming pipeline, thus maintaining productivity.
3Measurement precision
If sampling rate is increased to improve discontinuity detection, then measurement precision is improved, but use of energy and processor utilization increase
Solution Approach 1:
The chunking approach segments the packet stream into fixed-size blocks, establishing a natural sampling rate that balances detection precision with energy efficiency. This predetermined segmentation provides consistent detection capability without requiring excessive processing of individual packets.
Solution Approach 2:
The system performs partial action by examining only essential boundary packets rather than increasing the sampling rate to examine more packets. This partial examination approach achieves adequate detection precision while minimizing processor energy consumption.
4Manufacturing precision
If detailed timestamp analysis is performed on every packet, then manufacturing precision of video output is improved, but loss of time in processing increases
Solution Approach 1:
Segmenting the packet stream into chunks with boundary analysis reduces the total number of timestamp comparisons required. This segmentation maintains video output precision by ensuring discontinuities are detected at chunk boundaries while significantly reducing overall processing time.
Solution Approach 2:
The system performs preliminary timestamp analysis on boundary packets to identify discontinuities before full video processing proceeds. This preliminary action prevents unnecessary processing of packets containing discontinuities, reducing total processing time while maintaining output precision.
Data Source
Figure 1
Figure 2A
Figure 2B
AI summary
Methods and apparatuses for detecting timestamp discontinuities and video resolution discontinuities within a packet stream and marking locations of the detected discontinuities within the packet stream are described. Prior to transmission of the packet stream, an electronic device may perform timestamp discontinuity detection by acquiring a sequence of packets to be transmitted, identifying a first timestamp associated with an earliest packet within the sequence of packets, identifying a second timestamp associated with a latest packet within the sequence of packets, determining a timestamp time difference between the first timestamp and the second timestamp, determining a maximum chunk time difference based on a data rate at which the sequence of packets were encoded and a data size of the encoded packets, and detecting that a timestamp discontinuity exists within the sequence of packets if the timestamp time difference is greater than the maximum chunk time difference.