EP2149264B1

Apparatus and method for processing and reading a file having a media data container and a metadata container

Abstract

An apparatus for processing stored data packets in a media data container and stored associated meta information in a metadata container, the associated meta information having transport timing information and location information indicating a storage location of the stored data packets in the media data container, the apparatus having a processor for determining, based on the stored data packets and the stored associated meta information, decoding information for a media payload of the stored data packets, wherein the decoding information indicates at which time instant to replay which payload of the stored data packets.

EP2149264B1, drawing sheet 1
Sheet 1 of 12

Term

1.8 yearsleft in the term

Expires 1 July 2028.

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

21 claims: 7 independent, 14 dependent

  1. 1
    Apparatus (600) for processing stored transport data packets (110; 112) in a media data container (104), the stored transport data packets (110; 112) comprising a media payload of packetized media access units and control information for recovering accurate media timing of the media access units, and for processing stored associated meta information (124;128) in a metadata container (106), the associated meta information comprising transport timing information and location information indicating a storage location of the stored transport data packets in the media data container (104), the apparatus comprising:a processor (602) for determining, based on the control and transport timing information, decoding-time-to-sample information (606;706) for each media access unit, wherein the decoding-time-to-sample information reflects the media timing and indicates at which time instant to replay which payload of the stored transport data packets, and for determining, based on a content of the stored transport data packets (110;112) and the stored associated meta information (124;128), decoding information samples (604;704) on a media access unit basis, such that each decoding information sample (604;704) is related to a media access unit and contains links to one or more transport data packets relevant for de-packetizing the media access unit from the stored transport data packets (110;112), wherein the processor (602) is adapted to determine the decoding information sample (604;704), such that it indicates a start-address and an end-address of the related media access unit within the stored transport data packets (110;112), wherein the start-address denotes a location of a media data sample indicating a beginning of the media access unit and wherein the end-address denotes a location of a media data sample indicating an end of the media access unit, and wherein the processor (602) is adapted to store, in the media data container (104), said decoding information sample, and to store associated decoding-time-to-sample information (606;706) as decoding meta information (606;706) in the metadata container (106), the decoding meta information (606;706) indicating a decoding time and a location for the associated decoding information sample in the media data container (104).
  2. 5
    The apparatus according to one of the preceding claims, wherein the stored transport data packets (110;112) comprise MPEG-2 transport stream packets.
  3. 6
    The apparatus according to one claims 1 to 4, wherein the stored transport data packets (110;112) comprise RTP packets comprising packetized media data samples.
  4. 7
    The apparatus according to one of the preceding claims, wherein the stored transport data packets comprise first (110) and second transport data packets (112) related to first and second media streams, and wherein the processor (602) is adapted to determine which of the stored transport data packets (110;112) relate to the first or the second media stream.
  5. 12
    The apparatus according to one of claims 7 to 11, wherein the stored first transport data packets (110) comprise first RTP packets comprising first packetized media data, and wherein the stored second transport data packets (112) comprise second RTP packets comprising second packetized media data.
  6. 15
    The apparatus according to one of the preceding claims, wherein the media data container (104) comprises key stream packets (1112) each comprising a cryptographic key, wherein the cryptographic key is associated to a payload of at least one of the stored transport data packets, and wherein transport timing information and location information of the stored key stream packets (1112) is stored in the metadata container (106).
  7. 17
    A method for processing stored transport data packets (110; 112) in a media data container (104), the stored transport data packets (110; 112) comprising a media payload of packetized media access units and control information for recovering accurate media timing of the media access units, and for processing stored associated meta information (124;128) in a metadata container (106), the associated meta information comprising transport timing information and location information indicating a storage location of the stored transport data packets in the media data container, the method comprising:determining, based on the control and transport timing information, decoding-time-to-sample information (606;706) for each media access unit, wherein the decoding-time-to-sample information reflects the media timing and indicates at which time instant to replay which payload of the stored transport data packets, and determining, based on a content of the stored transport data packets (110;112) and the stored associated meta information (124;128), decoding information samples (604;704) on a media access unit basis, such that each decoding information sample is related to a media access unit and contains links to one or more transport data packets relevant for de-packetizing the media access unit from the stored transport data packets (110;112) wherein decoding information sample (604;704) is determined, such that it indicates a start-address and an end-address of the related media access unit within the stored transport data packets (110;112), wherein the start-address denotes a location of a media data sample indicating a beginning of the media access unit and wherein the end-address denotes a location of a media data sample indicating an end of the media access unit;and storing, in the media data container (104), said decoding information sample, and storing associated decoding-time-to-sample information as decoding meta information (606;706) in the metadata container (106), the decoding meta information (606;706) indicating a decoding time and a location for the associated decoding information sample in the media data container (104).
  8. 19
    An apparatus for reading a file (702), the file having stored, in a media data container (104) related to the file, transport data packets (110; 112) comprising a media payload of packetized media access units, and having stored, in the media data container (104), decoding information samples (602; 702) for each media access unit, wherein a decoding information sample indicates a start-address and an end-address of a related media access unit within the stored transport data packets (110; 112), wherein the start-address denotes a location of a media data sample indicating a beginning of the media access unit and wherein the end-address denotes a location of a media data sample indicating an end of the media access unit, the file having stored, for each decoding information sample (602; 702), associated decoding-time-to-sample information (606; 706) in a metadata container (106) of the file, the associated decoding-time-to-sample information (606; 706) indicating a decoding time and a location of the associated decoding information sample (602; 702) in the media data container (104), the apparatus comprising:a processor for determining an output schedule of the media access units of the stored transport data packets (110;112) by accessing the associated decoding-time-to-sample information (606;706) in the metadata container (106) and by accessing, based on the associated decoding-time-to-sample information (606;706), the decoding information samples (602;702) in the media data container (104), and by accessing, based on the decoding information samples (602;702), the associated media access units of stored transport data packets (110;112);and an output controller for outputting the media access units in accordance to the determined output schedule.
  9. 20
    A method for reading a file (702), the file having stored, in a media data container (104) related to the file, transport data packets (110; 112) comprising a media payload of packetized media access units, and having stored, in the media data container (104), decoding information samples (602; 702) for each media access unit, wherein a decoding information sample indicates a start-address and an end-address of a related media access unit within the stored transport data packets (110; 112), wherein the start-address denotes a location of a media data sample indicating a beginning of the media access unit and wherein the end-address denotes a location of a media data sample indicating an end of the media access unit, the file having stored, for each decoding information sample (602; 702), associated decoding-time-to-sample information (606; 706) in a metadata container (106) of the file, the associated decoding-time-to-sample information (606; 706) indicating a decoding time and a location of the associated decoding information sample (602; 702) in the media data container (104), the method comprising:determining an output schedule of the media access units of the stored transport data packets (110;112) by accessing the decoding-time-to-sample information (602;702)in the metadata container (106) and by accessing, based on the decoding-time-to-sample information (606;706), the decoding information samples (602;702) in the media data container (104), and by de-packetizing, based on the decoding information samples (602;702), the payload of stored transport data packets (110;112) to obtain the media access units;and outputting the media access units in accordance to the determined output schedule.