Method for audio-video encoding and apparatus for multimedia storage
AssigneeWinbond Electronics Corp.
InventorShu-Hui Liu
Life of this patent
Estimating the term…
Abstract
The invention relates a method for audio-video encoding and an apparatus for multimedia storage. First, a video chunk and an audio chunk are read from a audio-video file. Then the video chunk is divided into a plurality of video blocks, wherein size of each video block at least equals to the size of one unit frame. The audio chunk is divided into a plurality of audio blocks. Finally, according to a playing sequence, at least one audio block is employed between each two video blocks.
Claims7
An audio-video encoding method comprising:
- providing a video file;
- reading a video chunk and a corresponding audio chunk from the audio-video file;
- dividing the video chunk into a plurality of video blocks, wherein size of each of the video blocks at least equals to the size of one unit frame;
- dividing the audio chunk into a plurality of audio blocks;
- reading a sound sampling rate of the audio-video file;
- reading a frame rate of the audio-video file;
- calculating an audio configuration parameter, wherein the audio configuration parameter equals to the sound sampling rate divided by the frame rate;
- determining a specific number of the audio blocks employed between each two video blocks according to a rated value of the audio blocks and the audio configuration parameter;
- and
- employing the audio blocks with the specific number between each two video blocks according to a playing sequence.
A multimedia storage apparatus, for storing an encoded audio-video file comprising a plurality of video blocks and a plurality of audio blocks, characterized in that:
- one of the audio blocks is employed between each two video blocks, each of the video blocks contains the same number of frames, and audio data within each of the audio blocks is substantially equivalent to audio data corresponding to previous video block, wherein the encoded audio-video file further comprises:
- a header, for recording setting data of the video blocks and the audio blocks;
- and
- a plurality of indexes, for pointing to addresses of the video blocks and the audio blocks.
Dependencies are inferred from the claim text.