5
Most read
7
Most read
8
Most read
Timestamps in ST 2110 and what they
mean and how to measure them
Kieran Kunhya – kierank@obe.tv
Company Introduction
 Company specialising in software-
based encoders and decoders for
Sport, News and Channel contribution
(B2B)
 Based in Central London
 Build everything in house
 Hardware, firmware, software
 Not to be confused with:
 Easy: “How to Explain ST 2110 to a six-year-old” – me, NAB 2022
…
…
…
 Medium: This presentation
…
…
 Difficult: PTP presentations (Kernen et al), ST 2110-21/EBU LIST
(Vermost et al)
Presentation difficulty level
 Why do we need timestamps?
 PTP (very very abridged)
 RTP timestamp calculation
 Timestamps vs packet arrival times
 Measurements
 How a receiver should use timestamps
 Where/Why things go wrong
What am I going to talk about?
 In 2110 video and audio are sent as different
flows
 Receivers subscribe to the flows they need to. Audio
receiver doesn’t need to receive high bandwidth video
 Raw video and audio sent on network – From
various sources and points in time
 In order to synchronise, timestamps are used by
the receiver to match audio and video
 Correspond to a given instant of capture
 All packets of a video frame/field have same
timestamp
Why do we need timestamps?
PTP (very very abridged)
 Split the audio and video up into thousands of little packets
 Imagine all television signals start at the same time,
 Each video frame/field last a number of clock ticks
 Calculate how many pictures there would have been by now and on which clock tick the next picture will
begin
1st January
1970
(PTP epoch)
52 years
later… Now
PTP
Alignment
Point
RTP timestamp calculation
 Timestamp is in the RTP header of each
packet using PTP clock
 32-bit value, 90kHz clock for video, 48kHz for
audio
 Video timestamp wraps round after ~13
hours, audio timestamp wraps after ~25
hours.
 59.94 frame/field rates not divisible by
90kHz
 Worked Example: Midnight (TAI) 1st June,
2022 at 1080i25:
 T = 19144 [days] * 86400 [seconds in a day] * 90000 [clock]
 floor( T / 25 [frames per second] ) * 25 [frames per second]
 148863744000000 (PTP timestamp 90kHz)
 148863744000000 mod 2^32 =
177520640 = RTP Timestamp = PTP alignment time
One Frame or Field
Alignment point 1 Alignment point 2
Timestamps vs packet arrival times
 But the timestamp in the header isn’t the same as
the packet arrival time
 Most facilities use gapped mode to account for
historical blanking data and first packet arrives
~700us after beginning of the frame (PTP
alignment point)
 Some scopes don’t make it obvious what time they
are referring to. Sometimes hidden in a different
menu
 Will talk later how this can go wrong
 Understand what you are measuring!
Timestamps vs packet arrival times
 Left: Packet arrival time relative to PTP alignment point
 Right: RTP timestamp relative to PTP alignment point
 Either could be wrong!
Timestamps vs packet arrival times
 Similarly need to check both “Video Timing Meters” – packet arrival and “RTP
offset Meters”
 Note: may not have this screen on Phabrix, it requires PHQXO-IP-MEAS
Measurements
 Real senders in our lab (no GPS in our lab so it’s still 1970!):
 1970-02-25 05:00:37+0000: First Packet arrived 0.758 ms after ideal, RTP-
PTP offset 0.000us (0 rtp) – Packet arrival GOOD, RTP Timestamp GOOD
 1970-02-25 05:01:27+0000: First Packet arrived 0.736 ms after ideal, RTP-
PTP offset 11.111us (1 rtp) – Packet arrival GOOD, RTP Timestamp OK
 1970-02-25 05:02:10+0000: First Packet arrived 0.791 ms after ideal, RTP-
PTP offset -6655.556us (-599 rtp) – Packet arrival GOOD, RTP Timestamp
BAD
 Needs continual measurement in real facilities as sometimes jumps happen
randomly (!)
 Similar measurements for audio.
How a receiver should use timestamps
 Receive a timestamp, count how many RTP wraparounds there from PTP
Epoch (1st Jan 1970) to current PTP time. Then can realign received RTP
timestamp with current PTP time and have absolute timestamp.
 Straightforward with modulo arithmetic, though problematic if timestamps are too far
in the future or the past
 Synchronise video and audio and proceed with downstream processing
 Some receivers not doing this as bad streams work fine into them. Can also
send artificial streams with bad timestamps and decode process works, so
devices not using timestamps.
Where/why things go wrong?
 Non PTP locked SDI source routed into encapsulator (and
encapsulator lacks a frame sync)
 Symptom: Packet arrival times wrong or jittery, RTP timestamp bad
 Fix: Genlock source or enable frame sync if available
 Encapsulator produces invalid RTP timestamp (e.g fixed offset,
jumps etc.)
 Investigate whether transient (reboot to fix) or inherent issue in product
 Some products take a while to settle to a valid RTP timestamp
 Can be difficult to explain to vendor
Conclusions
 Timestamps are an important part of 2110, receivers need them
to match video and audio
 They can be hard to measure and interpret
 Maths can cause headaches
 Timestamps often confused with packet arrival time
 Need to be measured continually
 Need to make sure encapsulators have frame syncs or all sources
genlocked
 Need to understand reasons for invalid timestamps
Any Questions?
Content – no bullets
Slide no bullets
 Bullet 1
 Bullet 2
 Bullet 3
 Bullet 4
 Bullet 5
Slide with bullets
Image slide
Replace text box with image.
Delete side panel if image is too large to fit inside
text box.

More Related Content

PDF
An Introduction to Video Principles-Part 1
PDF
Thinking about IP migration
PPT
H.264 video standard
PDF
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
PDF
SDI to IP 2110 Transition Part 1
PDF
mpeg2ts1_es_pes_ps_ts_psi
PDF
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
PDF
IPv6 .pdf
An Introduction to Video Principles-Part 1
Thinking about IP migration
H.264 video standard
Designing an 4K/UHD1 HDR OB Truck as 12G-SDI or IP-based
SDI to IP 2110 Transition Part 1
mpeg2ts1_es_pes_ps_ts_psi
An Introduction to Versatile Video Coding (VVC) for UHD, HDR and 360 Video
IPv6 .pdf

What's hot (20)

PDF
HDR and WCG Principles-Part 4
PDF
Modern broadcast camera techniques, set up & operation
PPT
PDF
Video Compression, Part 3-Section 1, Some Standard Video Codecs
PPT
Introduction to H.264 Advanced Video Compression
PDF
SDI to IP 2110 Transition Part 2
PDF
Annexure - Projects
PDF
Découvrez la technologie WebRTC, comment cela fonctionne?
PDF
SRv6: DEPLOYMENT & USECASES by Aditya Kaul
PDF
Developing rich SIP applications with SIPSIMPLE SDK
PPT
RTSP Analysis Wireshark
PDF
Automotive Ethernet: Physical Layer Compliance Testing Webinar Slides
PDF
SRv6 Network Programming: deployment use-cases
PDF
屋外向け 8chLoRaWANゲートウェイ DLOS8 日本語マニュアル
PDF
H.264 video compression standard.
PDF
LoRaWAN AS923 と ARIB STD-T108
PDF
Draigno 8チャンネルLoRaWANゲートウェイ LG308 日本語ユーザーマニュアル
PDF
Tutoriel sur le streaming vidéo sur HTTP et sur MPEG-DASH
PDF
Webinar: Wearables - Apresentando um diagrama de blocos e componentes chaves
HDR and WCG Principles-Part 4
Modern broadcast camera techniques, set up & operation
Video Compression, Part 3-Section 1, Some Standard Video Codecs
Introduction to H.264 Advanced Video Compression
SDI to IP 2110 Transition Part 2
Annexure - Projects
Découvrez la technologie WebRTC, comment cela fonctionne?
SRv6: DEPLOYMENT & USECASES by Aditya Kaul
Developing rich SIP applications with SIPSIMPLE SDK
RTSP Analysis Wireshark
Automotive Ethernet: Physical Layer Compliance Testing Webinar Slides
SRv6 Network Programming: deployment use-cases
屋外向け 8chLoRaWANゲートウェイ DLOS8 日本語マニュアル
H.264 video compression standard.
LoRaWAN AS923 と ARIB STD-T108
Draigno 8チャンネルLoRaWANゲートウェイ LG308 日本語ユーザーマニュアル
Tutoriel sur le streaming vidéo sur HTTP et sur MPEG-DASH
Webinar: Wearables - Apresentando um diagrama de blocos e componentes chaves
Ad

Similar to IBC 2022 IP Showcase - Timestamps in ST 2110: What They Mean and How to Measure Them (20)

PPTX
PPTX
Methods for Improving NTP
PPTX
The challenges of generating 2110 streams on Standard IT Hardware
PPTX
Voice and video over ip
PPTX
Improving NTP Installed Base Time Accuracy
PPTX
RIP RTCP RTSP
PPT
Sania rtp
PPTX
Introduction to VOIP
PPT
RTP_RTCP.ppt
PPT
Internet Video
PDF
ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...
PPT
RTP.ppt
PDF
DT021_4_Notes 4_QOS_Rev_M.pdf
PPT
6761 8-realtime
PPT
Sip technology overview
PPT
Streaming Media Protocols
PDF
videomon
PPTX
In Service Monitoring and Assurance at ITSF 2014
PDF
Essentials of jitter part 1 The Time Interval Error: TIE
PPTX
Audio video ethernet (avb cobra net dante)
Methods for Improving NTP
The challenges of generating 2110 streams on Standard IT Hardware
Voice and video over ip
Improving NTP Installed Base Time Accuracy
RIP RTCP RTSP
Sania rtp
Introduction to VOIP
RTP_RTCP.ppt
Internet Video
ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...
RTP.ppt
DT021_4_Notes 4_QOS_Rev_M.pdf
6761 8-realtime
Sip technology overview
Streaming Media Protocols
videomon
In Service Monitoring and Assurance at ITSF 2014
Essentials of jitter part 1 The Time Interval Error: TIE
Audio video ethernet (avb cobra net dante)
Ad

More from Kieran Kunhya (16)

PPTX
Multivendor cloud production with VSF TR-11 - there and back again
PDF
Baby Demuxed's First Assembly Language Function
PPTX
Stable Feed and Lower Costs with Use of 5G and Satellite Stable Feed and Lowe...
PPTX
Moving to software-based production workflows and containerisation of media a...
PPTX
AVX512 assembly language in FFmpeg
PPTX
Private 5G Networks at the Queen's Funeral and Elsewhere
PDF
5G for onboard racing car video
PPTX
Ground-Cloud-Cloud-Ground - NAB 2022 IP Showcase
PPTX
How to explain ST 2110 to a six year old.
PPTX
Experiences from weekly sports broadcasts over 5G - what's possible and what ...
PPTX
Native IP Decoding MPEG-TS Video to Uncompressed IP (and Vice versa) on COTS ...
PPTX
London Video Tech - Adventures in cutting every last millisecond from glass-t...
PPTX
Don't just go IP - Go IT
PDF
Using IT Equipment in Live Broadcast
PPT
Implementing Uncompressed over IP in software and the pitfalls
PDF
FOSS in Broadcast
Multivendor cloud production with VSF TR-11 - there and back again
Baby Demuxed's First Assembly Language Function
Stable Feed and Lower Costs with Use of 5G and Satellite Stable Feed and Lowe...
Moving to software-based production workflows and containerisation of media a...
AVX512 assembly language in FFmpeg
Private 5G Networks at the Queen's Funeral and Elsewhere
5G for onboard racing car video
Ground-Cloud-Cloud-Ground - NAB 2022 IP Showcase
How to explain ST 2110 to a six year old.
Experiences from weekly sports broadcasts over 5G - what's possible and what ...
Native IP Decoding MPEG-TS Video to Uncompressed IP (and Vice versa) on COTS ...
London Video Tech - Adventures in cutting every last millisecond from glass-t...
Don't just go IP - Go IT
Using IT Equipment in Live Broadcast
Implementing Uncompressed over IP in software and the pitfalls
FOSS in Broadcast

Recently uploaded (20)

PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
Getting Started with Data Integration: FME Form 101
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Unlock new opportunities with location data.pdf
PDF
Hindi spoken digit analysis for native and non-native speakers
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
Architecture types and enterprise applications.pdf
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
observCloud-Native Containerability and monitoring.pptx
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
1 - Historical Antecedents, Social Consideration.pdf
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
Tartificialntelligence_presentation.pptx
PPT
Geologic Time for studying geology for geologist
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PPTX
Modernising the Digital Integration Hub
PDF
Hybrid model detection and classification of lung cancer
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
A contest of sentiment analysis: k-nearest neighbor versus neural network
Getting Started with Data Integration: FME Form 101
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
A comparative study of natural language inference in Swahili using monolingua...
Unlock new opportunities with location data.pdf
Hindi spoken digit analysis for native and non-native speakers
Module 1.ppt Iot fundamentals and Architecture
Architecture types and enterprise applications.pdf
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
Group 1 Presentation -Planning and Decision Making .pptx
observCloud-Native Containerability and monitoring.pptx
Enhancing emotion recognition model for a student engagement use case through...
1 - Historical Antecedents, Social Consideration.pdf
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Tartificialntelligence_presentation.pptx
Geologic Time for studying geology for geologist
O2C Customer Invoices to Receipt V15A.pptx
Modernising the Digital Integration Hub
Hybrid model detection and classification of lung cancer
NewMind AI Weekly Chronicles – August ’25 Week III

IBC 2022 IP Showcase - Timestamps in ST 2110: What They Mean and How to Measure Them

  • 1. Timestamps in ST 2110 and what they mean and how to measure them Kieran Kunhya – kierank@obe.tv
  • 2. Company Introduction  Company specialising in software- based encoders and decoders for Sport, News and Channel contribution (B2B)  Based in Central London  Build everything in house  Hardware, firmware, software  Not to be confused with:
  • 3.  Easy: “How to Explain ST 2110 to a six-year-old” – me, NAB 2022 … … …  Medium: This presentation … …  Difficult: PTP presentations (Kernen et al), ST 2110-21/EBU LIST (Vermost et al) Presentation difficulty level
  • 4.  Why do we need timestamps?  PTP (very very abridged)  RTP timestamp calculation  Timestamps vs packet arrival times  Measurements  How a receiver should use timestamps  Where/Why things go wrong What am I going to talk about?
  • 5.  In 2110 video and audio are sent as different flows  Receivers subscribe to the flows they need to. Audio receiver doesn’t need to receive high bandwidth video  Raw video and audio sent on network – From various sources and points in time  In order to synchronise, timestamps are used by the receiver to match audio and video  Correspond to a given instant of capture  All packets of a video frame/field have same timestamp Why do we need timestamps?
  • 6. PTP (very very abridged)  Split the audio and video up into thousands of little packets  Imagine all television signals start at the same time,  Each video frame/field last a number of clock ticks  Calculate how many pictures there would have been by now and on which clock tick the next picture will begin 1st January 1970 (PTP epoch) 52 years later… Now PTP Alignment Point
  • 7. RTP timestamp calculation  Timestamp is in the RTP header of each packet using PTP clock  32-bit value, 90kHz clock for video, 48kHz for audio  Video timestamp wraps round after ~13 hours, audio timestamp wraps after ~25 hours.  59.94 frame/field rates not divisible by 90kHz  Worked Example: Midnight (TAI) 1st June, 2022 at 1080i25:  T = 19144 [days] * 86400 [seconds in a day] * 90000 [clock]  floor( T / 25 [frames per second] ) * 25 [frames per second]  148863744000000 (PTP timestamp 90kHz)  148863744000000 mod 2^32 = 177520640 = RTP Timestamp = PTP alignment time One Frame or Field Alignment point 1 Alignment point 2
  • 8. Timestamps vs packet arrival times  But the timestamp in the header isn’t the same as the packet arrival time  Most facilities use gapped mode to account for historical blanking data and first packet arrives ~700us after beginning of the frame (PTP alignment point)  Some scopes don’t make it obvious what time they are referring to. Sometimes hidden in a different menu  Will talk later how this can go wrong  Understand what you are measuring!
  • 9. Timestamps vs packet arrival times  Left: Packet arrival time relative to PTP alignment point  Right: RTP timestamp relative to PTP alignment point  Either could be wrong!
  • 10. Timestamps vs packet arrival times  Similarly need to check both “Video Timing Meters” – packet arrival and “RTP offset Meters”  Note: may not have this screen on Phabrix, it requires PHQXO-IP-MEAS
  • 11. Measurements  Real senders in our lab (no GPS in our lab so it’s still 1970!):  1970-02-25 05:00:37+0000: First Packet arrived 0.758 ms after ideal, RTP- PTP offset 0.000us (0 rtp) – Packet arrival GOOD, RTP Timestamp GOOD  1970-02-25 05:01:27+0000: First Packet arrived 0.736 ms after ideal, RTP- PTP offset 11.111us (1 rtp) – Packet arrival GOOD, RTP Timestamp OK  1970-02-25 05:02:10+0000: First Packet arrived 0.791 ms after ideal, RTP- PTP offset -6655.556us (-599 rtp) – Packet arrival GOOD, RTP Timestamp BAD  Needs continual measurement in real facilities as sometimes jumps happen randomly (!)  Similar measurements for audio.
  • 12. How a receiver should use timestamps  Receive a timestamp, count how many RTP wraparounds there from PTP Epoch (1st Jan 1970) to current PTP time. Then can realign received RTP timestamp with current PTP time and have absolute timestamp.  Straightforward with modulo arithmetic, though problematic if timestamps are too far in the future or the past  Synchronise video and audio and proceed with downstream processing  Some receivers not doing this as bad streams work fine into them. Can also send artificial streams with bad timestamps and decode process works, so devices not using timestamps.
  • 13. Where/why things go wrong?  Non PTP locked SDI source routed into encapsulator (and encapsulator lacks a frame sync)  Symptom: Packet arrival times wrong or jittery, RTP timestamp bad  Fix: Genlock source or enable frame sync if available  Encapsulator produces invalid RTP timestamp (e.g fixed offset, jumps etc.)  Investigate whether transient (reboot to fix) or inherent issue in product  Some products take a while to settle to a valid RTP timestamp  Can be difficult to explain to vendor
  • 14. Conclusions  Timestamps are an important part of 2110, receivers need them to match video and audio  They can be hard to measure and interpret  Maths can cause headaches  Timestamps often confused with packet arrival time  Need to be measured continually  Need to make sure encapsulators have frame syncs or all sources genlocked  Need to understand reasons for invalid timestamps
  • 16. Content – no bullets Slide no bullets
  • 17.  Bullet 1  Bullet 2  Bullet 3  Bullet 4  Bullet 5 Slide with bullets
  • 18. Image slide Replace text box with image. Delete side panel if image is too large to fit inside text box.

Editor's Notes

  • #4: Some level of introductory work, then some level of basic mathematical analysis
  • #8: Substantially more care needed with fractional framerates. Also when implementing this in software, can have integer overflows if not careful. Headache inducing
  • #11: I had to read the manual to understand this