Method and system for online playback of mp4 format video
An MP4 format technology, applied in the field of MP4 format video online playback, can solve the problems of affecting file transmission effect, increase server cost, increase service storage capacity, etc., to reduce format conversion management, reduce first buffer time, and reduce server costs. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] Such as figure 1 Shown, be the method for a kind of MP4 format video online playback described in embodiment 1 of the present invention, comprising:
[0073] Step 101, the client receives the requested MP4 format video data and its corresponding description file information returned after sending an MP4 format video file online playback request to the server, wherein,
[0074] The description file information includes: the information required for converting the MP4 format video file into TS slices; wherein,
[0075] The file header of the usual MP4 format video file is relatively large, which not only contains the key information of the video, but also includes the encoding format of the audio and video in the video file, the resolution of the video, the sampling rate of the audio / video, the sampling accuracy, the number of channels, each The size information of each audio / video packet and the timestamp corresponding to each audio / video packet.
[0076] When this pro...
Embodiment 2
[0085] Such as figure 2 Shown, on the basis of embodiment 1, the method for a kind of MP4 format video online playback of this present invention comprises:
[0086] Step 201, the client receives the requested MP4 format video data and its corresponding description file information returned after sending the MP4 format video file online playback request to the server, wherein,
[0087] The description file information includes: the information required for converting the MP4 format video file into TS slices;
[0088] The storage process of the MP4 format video file at the server is as follows:
[0089] After the server receives the MP4 format video source file, the file header of the MP4 format video source file is dispersed into respective file header fragments according to the key frame of the MP4 format video source file, and is stored in the MP4 format video The respective corresponding positions in the source file;
[0090] Generate corresponding MP4 index files accord...
Embodiment 3
[0099] Such as image 3 As shown, it is a system for playing MP4 format video online according to the present invention. The system is set on the client, and the system includes: a receiving module 301 , a processing module 302 and a player 303 .
[0100] The receiving module 301 is connected with the processing module 302, and is used to receive the requested MP4 format video data and the corresponding description file information returned after sending the MP4 format video file online play request to the server, wherein,
[0101] The description file information includes: information required for converting the MP4 format video file into TS segments.
[0102] The processing module 302 is coupled to the receiving module 301 and the player 303, respectively, and is used to generate corresponding TS index files according to the description file information and send them to the player of the client. A list of TS index files is generated on the player;
[0103] According to the...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


