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...
Building Software Defined Infrastructure: Asynchronous & Synchronous Media Processing
One of the key challenges of building software defined infrastructure is moving to a fundamentally synchronous media like video to an asynchronous architecture.
Monitoring & Compliance In Broadcast: Monitoring Cloud Infrastructure
If we take cloud infrastructures to their extreme, that is, their physical locality is unknown to us, then monitoring them becomes a whole new ball game, especially as dispersed teams use them for production.
Phil Rhodes Image Capture NAB 2025 Show Floor Report
Our resident image capture expert Phil Rhodes offers up his own personal impressions of the technology he encountered walking the halls at the 2025 NAB Show.
Building Hybrid IP Systems
It is easy to assume that the industry is inevitably and rapidly making the move to all-IP infrastructures to leverage IP’s flexibility and scalability, but the reality is often a bit more complex.
Microphones: Part 9 - The Science Of Stereo Capture & Reproduction
Here we look at the science of using a matched pair of microphones positioned as a coincident pair to capture stereo sound images.