Standards: Appendix R - The XOR Process Used In FEC Calculations

This is an explanation of how the XOR process works in Forward Error Correction in ST2110.

This is an Appendix to our series of articles on Standards.

The FEC packets are created by combining the payload in the media packets using the XOR logical operator. The XOR operator is used because applying it once reverses all the bits in the source. A second application reverses them back to the original state with no loss of data.

The FEC is created by combining media packet 1 with media packet 2 using the XOR technique. Then the result is combined with packet 3 and so on until the last media packet. That final result is used as the FEC.

At the receiving client, the FEC is combined with all the incoming media packets in the same way. If any single packet was dropped, the result will be the content of that packet. The sequence number on the media packets should be monitored to indicate if a recoverable dropout has occurred. Recovery is only possible if ALL of the FEC packets have arrived intact.

Part of a series supported by

You might also like...

Is AI “Just A Tool”?

People often say that AI is just a tool. But it’s not. That’s a fundamental mistake and likely to be wrong by several orders of magnitude.

Designing IP Broadcast Systems: Software Defined Networking

SDNs are relatively new to IT and are making great milestones into optimizing networks to improve their performance, especially for heavy hitting media flows.

KVM & Multiviewer Systems At IBC 2024

We take a look at what to expect in the world of KVM & Multiviewer systems at the 2024 IBC Show.

Standards: Part 16 - About MP3 Audio Coding & ID3 Metadata

The MP3 audio format has been around for thirty years and has been superseded by several other codecs – so here we discuss why it still has a very strong position in broadcast. We also discuss ID3 metadata tags which often a…

HDR Picture Fundamentals: Brightness

This article describes one of the fundamental principles of broadcast - how humans perceive light, how this relates to the technology we use to capture and display images, and how this relates to HDR & Wide Color Gamut