Patent ID: 9680901
Date: 2017-06-13
CPC Classifications: H04L,H04N

Claim:
1. A method for encoding data of a media file for playback by a user equipment in a communications network, the method comprising: receiving, from the user equipment, a request for a range of encoded data to be generated by encoding data from an original media file, wherein the original media file comprises video frames interleaved with audio samples associated with the video frames; generating video key frame offset mapping data that maps offsets of video key frames in the original media file to offsets of corresponding encoded video key frames in an encoded media file to be generated by encoding the original media file; converting, using the video key frame offset mapping data, the request for a range of encoded data into a request for a range of original data from the original media file, wherein the converting comprises: identifying a first video key frame of the range of original data required to provide to the user equipment, from the encoded data to be generated, the requested range of encoded data; identifying that at least one audio sample associated with the first video key frame precedes the first video key frame in the range of original data; identifying a further video key frame that precedes the first video key frame and the associated at least one audio sample in the range of original data; initiating the range of original data with the further video key frame; retrieving the range of original data; encoding the range of original data to generate encoded data; and providing to the user equipment, from the generated encoded data, the requested range of encoded data.