A method of processing data received in a transport stream format to produce a modified transport stream for recording on a recording medium to record the content of a selected audio-visual programme (hereinafter referred to as the wanted content), said elementary streams of data having been encoded, divided into elementary stream (ES) packets with packet headers, the ES packets further sub-divided into a plurality of smaller transport packets, and the transport packets of the first and second elementary streams interleaved in the received transport stream with each other and with transport packets carrying data from neither stream, and wherein the received transport stream occasionally includes stream mapping information identifying a transport packet ID code associated with each elementary stream, said stream mapping information being subject to change throughout the received transport stream, wherein the said modified transport stream is produced by:
- identifying received transport packets which correspond to the wanted content using said stream mapping information;
- modifying packet ID codes in the transport packets so as to re-map the wanted content to a uniform set of ID codes according to their content type;
- recording the selected transport packets within a recording medium to form said modified transport stream, thereby to preserve compliance with a transport stream target decoder model and provide a greater number of potential entry points than in the received stream.