Simple and efficient multicast and transport stream manipulation