An apparatus comprising means for performing: encoding input media content, using a first encoder being configured for generating a first stream of encoded frames, the first stream of frames comprising a periodic sequence of independently decodable reference frames and intermediate frames between any two of the reference frames, a reference frame and consecutive intermediate frames until the next reference frame forming a group of frames having a group size; and upon receiving a start request from a remote device: encoding the media content, using a second encoder being configured to generate a second stream of frames, the second stream of frames comprising a different periodic sequence of independently decodable reference frames, the second stream starting with a reference frame, wherein the group size of the second stream is configured such that a reference frame following a number of groups of the second stream coincides at a switching point with a reference frame of the first stream, wherein the group size of the second stream is determined based on a relationship between a start point indicated by the received start request and a concurrent group of frames of the first stream and the group size of the first stream; providing the second stream to said remote device until the switching point; and providing said first stream thereafter, wherein the means are further configured to stop operation of the second encoder after the number of groups of the second stream are encoded. encoding input media content, using a first encoder being configured for generating a first stream of encoded frames, the first stream of frames comprising a periodic sequence of independently decodable reference frames and intermediate frames between any two of the reference frames, a reference frame and consecutive intermediate frames until the next reference frame forming a group of frames having a group size; and upon receiving a start request from a remote device: encoding the media content, using a second encoder being configured to generate a second stream of frames, the second stream of frames comprising a different periodic sequence of independently decodable reference frames, the second stream starting with a reference frame, wherein the group size of the second stream is configured such that a reference frame following a number of groups of the second stream coincides at a switching point with a reference frame of the first stream, wherein the group size of the second stream is determined based on a relationship between a start point indicated by the received start request and a concurrent group of frames of the first stream and the group size of the first stream; providing the second stream to said remote device until the switching point; and providing said first stream thereafter, encoding the media content, using a second encoder being configured to generate a second stream of frames, the second stream of frames comprising a different periodic sequence of independently decodable reference frames, the second stream starting with a reference frame, wherein the group size of the second stream is configured such that a reference frame following a number of groups of the second stream coincides at a switching point with a reference frame of the first stream, wherein the group size of the second stream is determined based on a relationship between a start point indicated by the received start request and a concurrent group of frames of the first stream and the group size of the first stream; providing the second stream to said remote device until the switching point; and providing said first stream thereafter, wherein the means are further configured to stop operation of the second encoder after the number of groups of the second stream are encoded. <EOS>