A streaming media storage and playback method and corresponding system
A playback method and playback system technology, applied in the field of streaming media storage, playback methods and corresponding systems, to achieve the effects of improving experience, saving network traffic, and reducing waiting time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0081] This embodiment takes MPEG2-TS as an example to illustrate the media file storage format on the streaming media server. The streaming media server logically segments the media file, and each media segment corresponds to a segment index, and the media segment and segment The segment index has a URL in MPD, that is, each segment and its segment index can be accessed through MPD. The segment index includes sidx box (segment index atom) and ssix box (sub-segment index atom).
[0082] In this embodiment, the ssix atom is defined as follows:
[0083]
[0084] Among them, the bold part is the new content, and the semantic explanation of the new field is as follows:
[0085] num_samples: the number of samples, indicating the number of indexed sample data frames belonging to level j;
[0086] bytes_in_unit: bit number identification information, indicating whether the offset and length are represented by 16 bits or 32 bits, and its value is units of bytes. In this implement...
Embodiment 2
[0094] This embodiment is an example of entering a trick mode from a normal play mode, and the trick mode is used as fast forward for description. Such as figure 2 mentioned, including:
[0095] Step 201, the terminal receives a command to enter the fast-forward mode, and determines the highest level of all data frames to be played according to the fast-forward multiple;
[0096] see figure 1 , the highest level in the data frame to be played can be determined according to the fast-forward multiple.
[0097] Step 202, continue to play normally until the data frame S1 of the lowest level is played, and obtain the segment to which the sub-segment of the S1 frame belongs;
[0098] Step 203, downloading the segment index corresponding to the segment, and analyzing the index to obtain the sub-segment index atom;
[0099] Step 204, judging whether all data frames below the highest level in the sub-segment after the S1 frame are downloaded to the terminal, if yes, then perform s...
Embodiment 3
[0106] This embodiment is an example of entering the normal playback mode from the trick mode, and the trick mode is used as fast forward for description. Such as image 3 mentioned, including:
[0107] Step 301, receiving a command to switch from fast forward to normal play;
[0108] Step 302, obtaining the last data frame when fast forwarding;
[0109] Step 303, judging whether the level of the frame is 1, if yes, then jump to 305, otherwise, jump to step 304;
[0110] Step 304, obtaining the information of the next indexed sampling data frame in the sub-segment index atom;
[0111] Step 305, obtain the offset information and length information of the frame in the sub-segment index atom;
[0112] Step 306, request all data frames of the segment after the frame (including the frame) to the stream media server;
[0113] Step 307, the terminal normally plays the downloaded data frame;
[0114] Step 308, during the next segment, download all segment data;
[0115] Step 30...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


