EP2517121B1

Audio splitting with codec-enforced frame sizes

Abstract

This record has no abstract on file.

EP2517121B1, drawing sheet 1
Sheet 1 of 13

Term

4.2 yearsleft in the term

Expires 21 December 2030.

  1. Priority
  2. Filed
  3. Granted
  4. Today
  5. Expires

15 claims: 2 independent, 13 dependent

  1. 1
    A method comprising:receiving, by a computer system (220,320), media content (231) including audio and video;encoding, by a computer system (220,320), the video according to a frame rate;encoding, by a computer system (220,320), the audio according to a codec-enforced frame size;and generating a plurality of content files (232), wherein each of the plurality of content files (232) comprises an encoded portion of the video (239) having a fixed-time duration and an encoded portion of the audio (237), characterised in that the encoded portion of the audio (237) has a plurality of full audio frames having the codec-enforced frame size and the duration of the encoded portion of the audio (237) of one or more of the plurality of content files (232) is greater than or less than the fixed-time duration.
  2. 4
    The method of any of claims 1 to 3, further comprising:buffering encoded frames of the audio;determining a number of encoded frames needed to fill the current one of the plurality of content files, wherein the number of frames is the smallest integer that is not less than a number of samples needed to fill the current one of the plurality of files divided by the codec-enforced frame size;determining if there are enough of the encoded frames buffered to fill a current one of the plurality of content files;if there is enough of the encoded frames buffered, filling the current one of the plurality of content files with the number of frames;and if there are not enough of the encoded frames buffered, buffering an additional frame of the audio and filling the current one of the plurality of content files with the number of frames and the additional frame.
  3. 13
    The method of any of claims 1 to 12, wherein said fixed-time duration is approximately two seconds, wherein the audio is sampled at approximately 48,000 samples per second, wherein the codec-enforced frame size is 1024 samples per frame, wherein the audio portions of the first three of the plurality of content files each comprises ninety-four audio frames, and wherein the audio portion of a fourth of the plurality of content files comprises ninety-three audio frames, and wherein each of the video portions of the four content files comprises approximately sixty video frames, or wherein said fixed-time duration is approximately two seconds, wherein the audio is sampled at approximately 44,100 samples per second, wherein the codec-enforced frame size is 1024 samples per frame, and wherein the audio portion of a first of the plurality of content files comprises eight-seven audio frames and a second of the plurality of content files comprises eighty-six audio frames, or wherein the codec-enforced frame size is 2048 samples per frame.
  4. 14
    A computing system (220,320), comprising:a splitter (222) to receive media content including audio and video and to split the audio and the video;a video encoder (226) coupled to receive the video from the splitter (222) and to encode the video according to a frame rate;an audio encoder (224) coupled to receive the audio from the splitter (222) and to encode the audio according to a codec-enforced frame size;and an audio-splitting multiplexer (228) to generate a plurality of content files (232), wherein each of the plurality of content files comprises an encoded portion of the video having a fixed-time duration and an encoded portion of the audio, characterised in that the encoded portion of the audio has a plurality of full audio frames having the codec-enforced frame size, and the duration of the encoded portion of the audio of one or more of the plurality of content files is greater than or less than the fixed-time duration.
  5. 15
    A computer-readable storage medium storing instruction thereon when executed by a computing system cause the computing device to perform the method of any of claims 1 to 13.