Universal container for audio data
First Claim
1. A method for storing audio information in a particular file format, comprising:
- a computing device storing, as part of a single audio file that has said particular file format, audio data that represents an audio stream that was produced as a result of an audio encoding of audio by an audio encoder in conformance with any one of a plurality of audio encoding formats that are supported by the particular file format;
wherein the plurality of audio encoding formats that are supported by the particular format include at least one constant bit rate audio encoding format, at least one constant sample frames per packet-variable bit rate audio encoding format, and at least one variable sample frames per packet-variable bit rate audio encoding format;
wherein said audio data comprises one or more packets, each packet of the one or more packets having boundaries within the audio stream that depend on which of the plurality of audio encoding formats is the actual audio encoding format for the audio data;
wherein each packet of the one or more packets comprises one or more sample frames;
wherein each sample frame comprises one sample for each of one or more channels;
wherein at least one of the one or more packets includes a plurality of samples;
wherein storing said single audio file includes;
determining which of the plurality of audio encoding formats is the actual audio encoding format for the audio data, andbased on the actual audio encoding format for the audio data, storing, in said single audio file, metadata information from which the boundaries, within the audio stream, of each packet of the one or more packets may be determined;
wherein storing said metadata information comprises;
storing, in said single audio file, a value for a first field that indicates whether the actual audio encoding format for the audio data is a constant bit rate audio encoding format or a variable bit rate audio encoding format, andstoring, in said single audio file, a value for a second field that indicates whether the actual audio encoding format for the audio data is a variable sample frames per packet audio encoding format or a constant sample frames per packet audio encoding format.
0 Assignments
0 Petitions
Accused Products
Abstract
Storing audio data encoded in any of a plurality of different audio encoding formats is enabled by parametrically defining the underlying format in which the audio data is encoded, in audio format and packet table chunks. A flag can be used to manage storage of the size of the audio data portion of the file, such that premature termination of an audio recording session does not result in an unreadable corrupted file. This capability can be enabled by initially setting the flag to a value that does not correspond to a valid audio data size and that indicates that the last chunk in the file contains the audio data. State information for the audio data, to effectively denote a version of the file, and a dependency indicator for dependent metadata, may be maintained, where the dependency indicator indicates the state of the audio data on which the metadata is dependent.
32 Citations
28 Claims
-
1. A method for storing audio information in a particular file format, comprising:
-
a computing device storing, as part of a single audio file that has said particular file format, audio data that represents an audio stream that was produced as a result of an audio encoding of audio by an audio encoder in conformance with any one of a plurality of audio encoding formats that are supported by the particular file format; wherein the plurality of audio encoding formats that are supported by the particular format include at least one constant bit rate audio encoding format, at least one constant sample frames per packet-variable bit rate audio encoding format, and at least one variable sample frames per packet-variable bit rate audio encoding format; wherein said audio data comprises one or more packets, each packet of the one or more packets having boundaries within the audio stream that depend on which of the plurality of audio encoding formats is the actual audio encoding format for the audio data; wherein each packet of the one or more packets comprises one or more sample frames; wherein each sample frame comprises one sample for each of one or more channels; wherein at least one of the one or more packets includes a plurality of samples; wherein storing said single audio file includes; determining which of the plurality of audio encoding formats is the actual audio encoding format for the audio data, and based on the actual audio encoding format for the audio data, storing, in said single audio file, metadata information from which the boundaries, within the audio stream, of each packet of the one or more packets may be determined; wherein storing said metadata information comprises; storing, in said single audio file, a value for a first field that indicates whether the actual audio encoding format for the audio data is a constant bit rate audio encoding format or a variable bit rate audio encoding format, and storing, in said single audio file, a value for a second field that indicates whether the actual audio encoding format for the audio data is a variable sample frames per packet audio encoding format or a constant sample frames per packet audio encoding format. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 27, 28)
-
-
13. A computer-readable non-transitory storage medium storing one or more sequences of instructions for storing audio information in a particular file format, said instructions, when executed by one or more computing devices, causes the one or more computing devices to perform:
-
storing, as part of a single audio file that has said particular file format, audio data that represents an audio stream that was produced as a result of an audio encoding of audio by an audio encoder in conformance with any one of a plurality of audio encoding formats that are supported by the particular file format; wherein the plurality of audio encoding formats that are supported by the particular format include at least one constant bit rate audio encoding format, at least one constant sample frames per packet-variable bit rate audio encoding format, and at least one variable sample frames per packet-variable bit rate audio encoding format; wherein said audio data comprises one or more packets, each packet of the one or more packets having boundaries within the audio stream that depend on which of the plurality of audio encoding formats is the actual audio encoding format for the audio data; wherein each packet of the one or more packets comprises one or more sample frames; wherein each sample frame comprises one sample for each of one or more channels; wherein at least one of the one or more packets includes a plurality of samples; wherein storing said single audio file includes; determining which of the plurality of audio encoding formats is the actual audio encoding format for the audio data, and based on the actual audio encoding format for the audio data, storing, in said single audio file, metadata information from which the boundaries, within the audio stream, of each packet of the one or more packets may be determined; wherein storing said metadata information comprises; storing, in said single audio file, a value for a first field that indicates whether the actual audio encoding format for the audio data is a constant bit rate audio encoding format or a variable bit rate audio encoding format, and storing, in said single audio file, a value for a second field that indicates whether the actual audio encoding format for the audio data is a variable sample frames per packet audio encoding format or a constant sample frames per packet audio encoding format. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
Specification