An IPTV headend receives television signals, typically from satellite or cable providers, and encodes them into a digital format suitable for distribution over an IP network. The encoded signals are then distributed to various endpoints, such as set-top boxes or smart TVs, for viewing by customers.