TS Packet Meta-Information Generation for Random Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing meta-information generation techniques for video streams require expansion to a PES (Packetized Elementary Stream) to determine picture data size, which is resource-intensive and unsuitable for portable devices, increasing processing load and making random access inefficient.

Innovation Solution

A recording apparatus that generates meta-information by detecting TS packets to identify the head of a PES packet containing independently decodable pictures, approximating picture size using the number of TS packets between PES packets, thereby eliminating the need for PES expansion and reducing processing load.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If the TS is expanded to a PES to determine picture data size, then the accuracy of size information is improved, but the processing load and hardware resource requirements increase significantly

Engineering Contradiction:
Improvesize information accuracyVSAvoidprocessing load
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The invention extracts only the necessary information (PES packet start positions and picture data sizes) from the TS stream without performing full TS to PES expansion. By detecting PES packet start indicators and picture header positions directly in the TS, the method obtains accurate size information while avoiding the complex expansion process, thus resolving the contradiction between measurement precision and device complexity

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The invention performs preliminary detection of PES packet start positions and picture header locations during the recording process. By pre-calculating and storing the size of independently decodable picture data (from one PES start to the next PES start), the system eliminates the need for runtime expansion and searching, reducing processing load while maintaining accurate size information

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If the TS is expanded to a PES to detect picture header positions, then the accuracy of detecting independently decodable pictures is improved, but the hardware resources such as memory are increased

Engineering Contradiction:
Improvepicture header detection accuracyVSAvoidmemory usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The invention extracts only the critical markers (PES packet start indicators and picture header positions) from the TS stream without expanding the entire stream to PES format. By detecting these specific elements directly in the TS using their unique byte patterns and indicators, the method achieves accurate picture header detection while minimizing memory usage, thus resolving the contradiction between measurement precision and quantity of substance

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The invention performs preliminary scanning and detection of PES packet starts and picture headers during the recording process. By identifying and marking these positions in advance, the system stores only the necessary position information rather than expanding the entire PES stream, thereby reducing memory requirements while maintaining detection accuracy

Inventive Principle:
Principle #10Preliminary action

3Measurement precision

If the recording apparatus searches PES bit by bit for picture headers, then the precision of picture data identification is improved, but the processing time and load become excessive

Engineering Contradiction:
Improvepicture data identification precisionVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The invention performs preliminary detection and marking of PES packet start positions and picture header locations during the recording process. By pre-identifying these positions and storing the corresponding offsets and sizes, the system eliminates the need for runtime bit-by-bit searching, thus resolving the contradiction between measurement precision and loss of time

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The invention segments the video stream into independently decodable picture units by identifying PES packet boundaries and picture header positions. By dividing the continuous stream into discrete, identifiable segments with known start and end positions, the method enables quick access and precise identification without exhaustive searching, resolving the contradiction between identification precision and processing time

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS8213778B2Recording device, reproducing device, recording medium, recording method, and LSI
Publication Date: 2012.07.03 PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA
  • US8213778B2 patent drawing
  • US8213778B2 patent drawing
  • US8213778B2 patent drawing

AI summary

Provided is a recording apparatus generating meta-information including an initial address of TS packets constituting a PES packet that includes an independently-decodable picture, and including size information pertaining to the picture, and recording the generated meta-information in a recording medium. The recording apparatus includes a detection unit detecting, from the TS packets constituting a transport stream, a TS packet at a head of a PES packet, and includes a judging unit judging whether the PES packet includes an independently-decodable picture. Further, the recording apparatus includes generation unit generating meta-information including, as the size information, a size from a head of a PES packet that is judged as including an independently-decodable picture to a head of a succeeding PES packet.