Understanding Wireshark Capture: VLC H.265 (HEVC) Output RTP Stream Sequence Numbers
Introduction
This article aims to explain how Wireshark captures excerpt VLC H.265 (HEVC) output RTP stream sequence numbers, which continue to increment smoothly despite the timestamp "setback."
Key Concepts
VLC H.265 (HEVC) Output RTP Stream
VLC H.265 (HEVC) is a popular video compression standard. When VLC H.265 (HEVC) encodes video, it outputs RTP (Real-time Transport Protocol) streams. These streams consist of packets carrying video and audio data.
Sequence Numbers
Sequence numbers are used in RTP packets to ensure the correct ordering of packets at the receiver. Each RTP packet in a stream is assigned a unique sequence number, which increments by one for each packet.
Timestamp "Setback"
Timestamps in RTP packets represent the sampling instant of the first byte of the RTP data packet. Sometimes, due to various reasons, timestamps might appear to be set back. However, sequence numbers continue to increment smoothly despite this "setback."
Excerpt from Wireshark Capture
Highlighting Sequence Numbers and Timestamps
In the following example, I have highlighted three (3) packets from a Wireshark capture of a VLC H.265 (HEVC) output RTP stream. These packets demonstrate that sequence numbers continue to increment smoothly, even with a timestamp "setback."
Example Packet Analysis
## RTP
- RTP Sequence Number: 1351
## Payload (VLC H.265 (HEVC))
- Timestamp: 3000000
- ... (encoded video data)
## RTP
- RTP Sequence Number: 1352
## Payload (VLC H.265 (HEVC))
- Timestamp: 2999999
- ... (encoded video data)
## RTP
- RTP Sequence Number: 1353
## Payload (VLC H.265 (HEVC))
- Timestamp: 3000001
- ... (encoded video data)
In summary, Wireshark captures VLC H.265 (HEVC) output RTP stream sequence numbers, which continue to increment smoothly despite the timestamp "setback." This is crucial for ensuring the correct ordering of packets at the receiver.