A method and system for playing mp4 format video online
An MP4, format technology, applied in the field of MP4 format video online playback, can solve the problems affecting file transmission effect, increase server cost, increase service storage capacity, etc., to achieve the effect of reducing format conversion management, shortening first buffering time, and reducing cost.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] 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:
[0066] 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,
[0067] Described description file information comprises: described MP4 format video file is converted into the required information of target format video file; Wherein,
[0068] 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, Information such as the size information of each audio / video packet and the time stamp corresponding to eac...
Embodiment 2
[0077] 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:
[0078] 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,
[0079] Described description file information comprises: described MP4 format video file is converted into the required information of target format video file;
[0080] The preservation process of the MP4 format video file on the server is as follows:
[0081] 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;
[0082] Generate co...
Embodiment 3
[0090] Such as image 3 Shown, be a kind of MP4 format video online broadcasting method of the present invention a specific embodiment, comprise:
[0091] Step 301, 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,
[0092] The description file information includes: information required for converting the MP4 format video file into an FLV format video file.
[0093] Step 302, the client generates a file header of the video in FLV format according to the description file information and sends it to the player of the client.
[0094] Wherein, the information of the number and size of all frames before each key frame is carried in the fragment of the MP4 file header, and the key frame index is added in the FLV file generated for convenience.
[0095]Step 303, the client converts the MP4 format video data into FLV format video ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


