Data structure of multimedia file format, encrypting method and device thereof, and decrypting method and device thereof
AssigneeKabushiki Kaisha Toshiba
InventorsJun SATO, Toru Terauchi
Life of this patent
Estimating the term…
Abstract
In a data structure of a multimedia file format, a movie box and a media data box are provided. In each box, a non-encrypted size field, a non-encrypted type field and box data field are provided. In box data of the movie box, information data regarding multimedia data is stored. The multimedia data is encrypted and stored in box data of the media data box. The information data is obtained by referring to the container in the movie box. This information data is held as encryption and encoding information data. By referring to the information data, a data unit of the encrypted multimedia data in the media data box is obtained, and the unit data is decrypted.
Claims8
A method of decrypting a multimedia file defined in MPEG-4 file format, the multimedia file including attribution information and a sequential array of chunks, each of the chunks including at least one of encoded audio frames or encoded video frames, the encoded audio frames or the encoded video frames being encrypted, the method comprising:
- obtaining chunk offset information from the attribution information in the multimedia file, wherein the chunk offset information indicates respective start positions of the chunks from a head of the file;
- referring to one of the start positions of the chunks, and extracting the chunks from the multimedia file based on the one of the start positions of the chunks;
- decrypting the one of the encrypted audio frames or the encrypted video frames in the extracted chunks into one of the encoded audio frames or the encoded video frames with referring to the one of the start positions of the chunks.
A method of decrypting a multimedia file defined in MPEG-4 file format, the multimedia file including attribution information and a sequential array of chunks, each of the chunks including at least one of samples, each of the samples including an encoded audio frame or encoded video frame, the encoded audio frame or the encoded video frame being encrypted, the method comprising:
- obtaining first offset information and sample information from the attribution information in the multimedia file, wherein the first offset information indicates respective start positions of the chunks from a head of the file, and the sample information indicates the number of samples and respective sample sizes of the samples in each of the chunks;
- calculating second offset information from the first offset information and the sample information, wherein the second offset information indicates respective start positions of the samples;
- referring to one of the start positions of the chunks, and extracting one of the samples from the multimedia file based on the one of the start positions of the samples;
- decrypting the encrypted audio frame or the encrypted video frame in the extracted sample into the encoded audio frame or the encoded video frame with referring to the one of the start positions of the samples.
The method according to claim 7, wherein the encrypted audio frames are successively decrypted into the encoded audio and/or the encrypted video frames are successively decrypted into the encoded video frames.
Dependencies are inferred from the claim text.