๐Ÿ” Stream Analyzer

StPlayer includes an optional Stream Analyzer tool, useful for video/KLV analysis and interoperability testing.
It helps to quickly identify impairments and artifacts in streams.

Stream Analyzer control


๐Ÿ“ˆ Video DTS Interval

The Video DTS Interval chart shows the time difference between DTS (Decoding Time Stamp) values of successive video packets.

In a perfect stream running at 25 fps, youโ€™ll see DTS deltas of 3600 units (i.e., 40 ms):

Video DTS Interval

If thereโ€™s a problem with DTS timestamps, the discrepancies are immediately visible:

Video DTS Interval Error

โ— A negative DTS value (non-monotonous DTS) indicates a serious issue, unless a discontinuity flag is set just before the packet or the video is intentionally looped. DTS values must be continuous.


๐ŸŽž๏ธ Video PTS Interval

The Video PTS Interval chart displays the time differences between successive PTS (Presentation Time Stamp) values.

This chart is similar to the DTS chart. However, negative values are expected if the stream contains B-frames (due to frame reordering):

Video PTS Interval


๐Ÿ—ƒ๏ธ Data PTS Interval

The Data PTS Interval chart shows the time difference between successive KLV/data packets from the same PID.

Data PTS Interval

โš ๏ธ If youโ€™re using ASYNC KLV or private data without PTS, this chart will not show any results.


๐Ÿฅง Stream Pie

The Stream Pie chart visualizes the distribution of elementary streams in the MPEG-TS stream.

Stream Pie


๐Ÿ“Š Stream Bitrate

The Stream Bitrate chart calculates and visualizes the bitrate using PCR timestamps (Program Clock Reference).

Constant Bitrate (CBR) Example:

Stream Bitrate CBR

Variable Bitrate (VBR) Example:

Stream Bitrate VBR

If PCR discontinuities occur in the stream, they will appear as follows:

PCR discontinuity


๐Ÿงฉ Video, Private Data & KLV Packets

This section shows how video, private data, and KLV packets are multiplexed in a STANAG stream.

๐Ÿ“ฆ Packet Position View

This view helps evaluate how data packets are inserted in the stream relative to video frames by examining their byte offset.

Video / Data Packets - position

Each packetโ€™s tooltip displays:

  • id: Packet number
  • pos: Packet offset in bytes
  • time: Packet time from PTS
  • delta: Time difference (in seconds) from the previous packet
  • pts: Raw PTS value
  • size: Packet size in bytes

โฑ๏ธ Packet Timing View

This view shows packets arranged according to their presentation time:

Video / Data Packets - Pts time

๐Ÿ”ข Raw PTS Value View

Alternatively, you can view packet positioning based on raw PTS values:

Video / Data Packets - Pts