CN105208440A - Online playing method and system for MP4-format video - Google Patents

Online playing method and system for MP4-format video Download PDF

Info

Publication number
CN105208440A
CN105208440A CN201510609838.5A CN201510609838A CN105208440A CN 105208440 A CN105208440 A CN 105208440A CN 201510609838 A CN201510609838 A CN 201510609838A CN 105208440 A CN105208440 A CN 105208440A
Authority
CN
China
Prior art keywords
file
format video
burst
player
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510609838.5A
Other languages
Chinese (zh)
Other versions
CN105208440B (en
Inventor
黄海全
汪铁丰
张澍勇
殷海晨
毕先春
卢述奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING BAOFENG TECHNOLOGY Co Ltd
Original Assignee
BEIJING BAOFENG TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING BAOFENG TECHNOLOGY Co Ltd filed Critical BEIJING BAOFENG TECHNOLOGY Co Ltd
Priority to CN201510609838.5A priority Critical patent/CN105208440B/en
Publication of CN105208440A publication Critical patent/CN105208440A/en
Application granted granted Critical
Publication of CN105208440B publication Critical patent/CN105208440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses an online playing method for MP4-format video. The method comprises the steps that a client end receives MP4-format video data and corresponding description file information which are returned after an MP4-format video file online playing request is sent to a server, wherein the description file information comprises information required for converting an MP4-format video file into TS fragments; according to the description file information, the client end generates corresponding TS index files and sends the TS index files to a player of the client end, and a TS index file list is generated on the player; the player sends a TS fragment playing request to the client end according to the sequence of the TS index file list; the client end obtains corresponding MP4-format video data according to the TS fragment playing request, converts the MP4-format video data into the TS fragments and returns the TS fragments to the player; the player receives the TS fragments and plays the TS fragments in sequence. By means of the online playing method and system for the MP4-format video, the initial buffering time of online playing of the MP4-format video file is greatly shortened.

Description

The method and system that a kind of MP4 format video is play online
Technical field
The application relates to video playback field, specifically, relates to the method and system that a kind of MP4 format video is play online.
Background technology
At present, mobile terminal order video from internet multimedia is more and more extensive, and conventional video has various different form.Video format just refers to the mode video data in video, voice data and relevant information data organized.Video data all realizes according to certain specific form in storage and transmitting procedure, and different video format implementations is not identical yet.The video format that present stage is commonly used mainly contains FLV, MP4 and HLS etc.
MP4, full name MPEG-4Part14, be a kind of multimedia computer File Format using MPEG-4, secondary shelves are called MP4, to store digital message and digital video signal.MP4 is a set of compression and coding standard for audio frequency, video information, formulated by " dynamic image expert group " (MovingPictureExpertsGroup, i.e. MPEG) of International Organization for standardization (ISO) and International Electrotechnical Commission (IEC) subordinate.
MP4 file format is an open video format, almost can be used for describing all media structures, media description in MP4 file and media data are what to separate, and organizing of media data is also very free, do not need according to time sequencing arrangement, even media data directly can quote alternative document.Meanwhile, MP4 also supports Streaming Media, and MP4 is widely used in encapsulating h.264 video and AAC audio frequency at present, is the representative of HD video.
General MP4 file the most important thing is two parts, one is the video information part with MP4 file header, what preserve inside this is Video Key information, comprise the information such as the coded format of audio frequency and video in video file, the resolution of video, the sample rate of audio/video, sampling precision, channel number, the size information of each audio/video bag and the timestamp corresponding to each audio/video bag, another part is actual MP4 format video data.The player of mobile terminal, when playing MP4 format video, first can ask the video information part with MP4 file header.
HLS (HTTPLiveStreaming), is mainly used in the audio frequency and video service of PC and Apple terminal.Comprise the index file of a m3u (8), TS media slicing file and key encrypt string file, and index file is used for player and carries out seek operation to TS media slicing file, and TS media slicing file includes the video data of broadcasting.
Conventional stream media protocol mainly contains HTTP progressive download and the real-time stream media protocol based on RTSP/RTP, and these two kinds is diverse thing substantially, at present more convenient handy be again by HTTP progressive download method.
The Video processing of MP4 form is adopted to have following benefit:
(1) different encryption algorithms can be adopted for different audio/video object, thus improve the compression efficiency of audio/video;
(2) relatively independent separately between audio/video object, improve the reusability of multi-medium data;
(3) allow user to operate single audio/video object, facilitate the interactive experience of user;
(4) flexible allocation code check between different audio/video object is allowed, can realize according to significance level distribution byte how many: more byte can be distributed to important object, less byte can be distributed to secondary object, thus good effect can be obtained under low bit-rate.
(5) can integrated naturetone/object video and synthesized voice object video easily.
Based on above-mentioned benefit, the video file of current trend store M P4 form on the server, carries out distribution again and plays after receiving the video playback request of client.First download the video information part with MP4 file header after the video file that client reception server sends, download actual MP4 format video data afterwards again and play.
MP4, as a kind of popular video file format, can play on multiple platforms.Along with the development of network technology, online displaying video is more and more popular to people.But, to contain the information such as the index of its all audio frequency and video frame due to the video file of MP4 form at its head, make the video file head of MP4 form large especially, when carrying out MP4 format video file and playing, long especially in the buffer time that video is initial.If play online MP4 file, namely limit is play below, can cause the download buffer time of the video start file head needing to grow very much, and variant according to the difference of video footage, generally can reach 1M, have a strong impact on the experience that user sees online viewing MP4 video file.
Current settling mode is the conversion being completed MP4 format video file by server, in the following manner:
(1) be converted into FLV file format, then be transferred to local player plays, utilize the mode that the feature that FLV head is less is play to carry out the initial fast cache of video playback.
(2) MP4 format video file division be multiple MP4 files of segment video, so, the head of each small documents is very little, also can reach the object play fast.
(3) MP4 format video file transform is become the video file of multiple TS form, utilize HLS technology to carry out the broadcasting of TS format video file.
If according to such scheme, the format conversion process of MP4 format video all completes at background server, can bring following problem:
(1) prior art realizes the video file video file of MP4 form being converted to other form on the server, but the video file after conversion must be transformed to multiple format to adapt to different video playback platforms, so, considerably increase the memory space of service, add the cost of server.
(2) prior art realizes the video file video file of MP4 form being converted to other form on the server, causes same video to store the file of multiple form on the server, brings very burden to the file management of server.
(3) prior art realizes the video file video file of MP4 form being converted to other form on the server, the i.e. video file of burst, the transfer of data of multiple little slicing files can have influence on the laser propagation effect of file, is unfavorable for the broadcasting of client video.
(4) prior art realizes the video file video file of MP4 form being converted to other form on the server, network transmission performance efficiency between the fluidisation module of server and format converting module is low, thus slack problem when causing client receiver, video file to be play.
Summary of the invention
In order to solve produced problem in the above prior art, the object of this invention is to provide the method and system that a kind of MP4 format video is play online.
The invention provides a kind of method that MP4 format video is play online, comprising:
Described client receive to return after server sends the online playing request of MP4 format video file ask the description document information of MP4 format video data and correspondence, wherein,
Described description document information comprises: the information of described MP4 format video file transform required for TS burst;
Described client generates corresponding TS index file respectively according to described description document information and is sent to the player of described client, generates the list of TS index file on a player;
Described player sends TS burst playing request according to described TS index file tab sequential to client;
Described client obtains corresponding MP4 format video data according to described TS burst playing request and is converted to TS burst and is back to described player;
Described player receives described TS burst and order is play.
Further, wherein, described client receives the description document information of the MP4 format video data of asking and the correspondence thereof returned after the online playing request of server transmission MP4 format video file, comprises further:
After described server receives MP4 format video source file, the file header of described MP4 format video source file is dispersed into respective file header burst by the key frame according to described MP4 format video source file, and is saved in each self-corresponding position in described MP4 format video source file;
Generate corresponding MP4 index file according to described file header burst, all MP4 index files generated are kept in order before the MP4 format video file with file header burst and form described description document information.
Further, wherein, described description document information, comprises further:
Described description document information have recorded the key frame information generated needed for described TS index file, wherein,
Described TS index file is m3u8 file further.
Further, wherein, described TS index file have recorded the side-play amount of each key frame in current TS burst.
Further, wherein, described player sends TS burst playing request according to described TS index file tab sequential to client, comprises further:
Described player, according to described TS index file, sends the HTTP request of TS burst broadcasting to client.
The system that MP4 format video is play online, on the client, this system comprises described Operation system setting: receiver module, processing module and player,
Described receiver module, for receiving the MP4 format video data of asking and each self-corresponding description document information that return after the online playing request of server transmission MP4 format video file, wherein,
Described description document information comprises: the information of described MP4 format video file transform required for TS burst;
Described processing module, for generating corresponding TS index file respectively according to described description document information and being sent to the player of described client, generates the list of TS index file on a player;
Obtain corresponding MP4 format video data according to TS burst playing request be converted to TS burst and be back to described player;
Described player, for sending TS burst playing request according to described TS index file tab sequential to client; And
Receive described TS burst and sequentially play.
Further, Qi Zhongyu, described description document information, is further:
Described description document information, after receiving MP4 format video source file by described server, the file header of described MP4 format video source file is dispersed into respective file header burst by the key frame according to described MP4 format video source file, and is saved in each self-corresponding position in described MP4 format video source file;
Generate corresponding MP4 index file according to described file header burst, all MP4 index files generated are kept in order before the MP4 format video file with file header burst and are formed.
Further, wherein, described description document information, is further:
Described description document information have recorded the key frame information generated needed for described TS index file, wherein,
Described TS index file is m3u8 file further.
Further, wherein, described TS index file have recorded the side-play amount of each key frame in current TS burst.
Further, wherein, described player, is further used for:
According to described TS index file, send the HTTP request of TS burst broadcasting to client.
Compared with prior art, the method and system that a kind of MP4 format video described in the application is play online, have the following advantages:
(1) file header of MP4 format video file is distributed to each correspondence position according to key frame by the present invention on the server, file header according to dispersion increases File header information on this MP4 format video file, and return this File header information according to the Online Video playing request of client, client first generates the index file of TS burst accordingly, and be sent to player according to the video file that the MP4 video file of download to be converted to TS burst by the index file generated and play, so, shift to an earlier date ready File header information on the server only with information such as the Video Key frame position be converted to needed for TS index file, so compared to first downloading the larger file header of MP4, the present invention reduces the first buffer time that MP4 format video file is play online greatly.
(2) the present invention processes MP4 format video file on the server, and the format conversion of MP4 format video file is carried out in client, both format conversion management had on the server been decreased, additionally reduce the management at the multiple format video file of server stores, decrease server cost.
(3) the present invention processes MP4 format video file on the server, and the format conversion of MP4 format video file is carried out in client, the MP4 format video file stored on the server is the complete video file including file header and video data, the transmission carrying out complete video file can reduce the impact of transmission on video file, ensures that client receives complete video file and carries out conversion broadcasting.
(4) the present invention processes MP4 format video file on the server, and the format conversion of MP4 format video file is carried out in client, avoid the network transmission performance efficiency of server carrying out between fluidisation module that video format conversion causes and format converting module low, thus slack problem when causing client receiver, video file to be play.
(5) the present invention processes MP4 format video file on the server, and carries out the format conversion of MP4 format video file in client, and at Internet Transmission is single MP4 file, and P2P technology can be used to carry out acceleration transmission.
Certainly, the arbitrary product implementing the application must not necessarily need to reach above-described all technique effects simultaneously.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide further understanding of the present application, and form a application's part, the schematic description and description of the application, for explaining the application, does not form the improper restriction to the application.In the accompanying drawings:
Fig. 1 is the method flow schematic diagram that MP4 format video of the present invention is play online;
Fig. 2 is the method flow schematic diagram that the MP4 format video described in the embodiment of the present invention 2 is play online;
Fig. 3 is the system architecture diagram that MP4 format video of the present invention is play online.
Embodiment
As employed some vocabulary to censure specific components in the middle of specification and claim.Those skilled in the art should understand, and hardware manufacturer may call same assembly with different noun.This specification and claims are not used as with the difference of title the mode distinguishing assembly, but are used as the criterion of differentiation with assembly difference functionally." comprising " as mentioned in the middle of specification and claim is in the whole text an open language, therefore should be construed to " comprise but be not limited to "." roughly " refer to that in receivable error range, those skilled in the art can solve the technical problem within the scope of certain error, reach described technique effect substantially.In addition, " couple " word and comprise directly any and indirectly electric property coupling means at this.Therefore, if describe a first device in literary composition to be coupled to one second device, then represent described first device and directly can be electrically coupled to described second device, or be indirectly electrically coupled to described second device by other devices or the means that couple.Specification subsequent descriptions is implement the better embodiment of the application, and right described description is for the purpose of the rule that the application is described, and is not used to the scope limiting the application.The protection range of the application is when being as the criterion depending on the claims person of defining.
Below in conjunction with accompanying drawing, the application is described in further detail, but not as the restriction to the application.
Embodiment 1:
As shown in Figure 1, be the method that a kind of MP4 format video described in the embodiment of the present invention 1 is play online, comprise:
Step 101, described client receives the description document information of the MP4 format video data of asking and the correspondence thereof returned after the online playing request of server transmission MP4 format video file, wherein,
Described description document information comprises: the information of described MP4 format video file transform required for TS burst; Wherein,
The file header of common MP4 format video file is larger, not only contain Video Key information, also comprise the coded format of audio frequency and video in video file, the resolution of video, the sample rate of audio/video, sampling precision, channel number, the information such as the size information of each audio/video bag and the timestamp corresponding to each audio/video bag.
This programme on the server store M P4 format video file time, the file header of described MP4 format video source file is dispersed into respective file header burst by the key frame according to described MP4 format video source file, and is saved in each self-corresponding position in described MP4 format video source file; Before the file header of described MP4 format video file, increase described description document information, this description document information have recorded the offset information of each key frame in this MP4 format video file.
When client is play online, first download this description document information, generate the index file of TS burst accordingly, do not need the file header downloading MP4 format video source file when video playback is initial again.This description document information only needs to record compared to the file header of MP4 format video source file the information generated needed for TS burst index file, therefore, substantially reduces the size of this description document information.
Step 102, described client generates corresponding TS index file respectively according to described description document information and is sent to the player of described client, generates the list of TS index file on a player; Wherein,
The described TS index file generated have recorded the offset information of each key frame in the MP4 format video file needing conversion, when player carries out broadcasting seek operation, can find TS slicing files rapidly.
Step 103, described player sends TS burst playing request according to described TS index file tab sequential to client.
Step 104, described client obtains corresponding MP4 format video data according to described TS burst playing request and is converted to TS burst and is back to described player; Wherein,
The video file of MP4 form is all with larger file header, be not easy to client fast cache, broadcasting, convert thereof into file header, be i.e. TS index file, the format video of less TS burst, fast cache first video file when client can be made to play online.
Step 105, described player receives described TS burst and order is play.
Embodiment 2:
As shown in Figure 2, on the basis of embodiment 1, the method that this kind of MP4 format video of the present invention is play online, comprising:
Step 201, described client receives the description document information of the MP4 format video data of asking and the correspondence thereof returned after the online playing request of server transmission MP4 format video file, wherein,
Described description document information comprises: the information of described MP4 format video file transform required for TS burst;
Described MP4 format video file is as follows in the preservation process of server:
After described server receives MP4 format video source file, the file header of described MP4 format video source file is dispersed into respective file header burst by the key frame according to described MP4 format video source file, and is saved in each self-corresponding position in described MP4 format video source file;
Generate corresponding MP4 index file according to described file header burst, all MP4 index files generated are kept in order before the MP4 format video file with file header burst and form described description document information.
Wherein, with the number of all frames before each key frame and the information of size in described MP4 file header burst, in the TS index file conveniently generated, key frame index is increased.
Step 202, described client generates corresponding TS index file respectively according to described description document information and is sent to the player of described client, generates the list of TS index file on a player;
Described description document information have recorded the information generated needed for TS index file, and wherein, described TS index file is m3u8 file further; This description document information generates according to the file header of described MP4 format video when described server preserves described MP4 format video file;
Described TS index file have recorded the side-play amount of each key frame in current TS slicing files.
Step 203, described player sends TS burst playing request according to described TS index file tab sequential to client; Wherein, described TS burst playing request is the HTTP request sent by home server, and such as, described player is with http: // 127.0.0.1/vod.m3u8 link is play to the request of client home server.
Step 204, described client obtains corresponding MP4 format video data according to described TS burst playing request and is converted to TS burst and is back to described player.
Step 205, when described player is play this video, also sequentially plays according to the described TS burst received.
Embodiment 3:
As shown in Figure 3, be the system that a kind of MP4 format video of the present invention is play online, on the client, this system comprises described Operation system setting: receiver module 301, processing module 302 and player 303.
Described receiver module 301, connects with described processing module 302 phase lotus root, for receiving the MP4 format video data of asking and each self-corresponding description document information that return after the online playing request of server transmission MP4 format video file, wherein,
Described description document information comprises: the information of described MP4 format video file transform required for TS burst.
Described processing module 302, connect with described receiver module 301 and described player 303 phase lotus root respectively, for generating corresponding TS index file respectively according to described description document information and being sent to the player of described client, generate the list of TS index file on a player;
Obtain corresponding MP4 format video data according to TS burst playing request be converted to TS burst and be back to described player.
Described player 303, connects with described processing module 302 phase lotus root, for sending TS burst playing request according to described TS index file tab sequential to client;
And receive described TS burst and sequentially play.
In the present embodiment, the description document information of the MP4 format video data of asking that described reception returns after the online playing request of server transmission MP4 format video file and correspondence thereof, comprises further:
After receiving MP4 format video source file, the file header of described MP4 format video source file is dispersed into respective file header burst by the key frame according to described MP4 format video source file, and is saved in each self-corresponding position in described MP4 format video source file;
Generate corresponding MP4 index file according to described file header burst, and all MP4 index files generated are kept in order before the MP4 format video file with file header burst and form described description document information.
Described description document information, is further:
Described description document information have recorded the key frame information generated needed for described TS index file, wherein,
Described TS index file is m3u8 file further.
Further, described TS index file have recorded the side-play amount of each key frame in current TS burst.
Described player, is further used for:
According to described TS index file, send the HTTP request of TS burst broadcasting to client.
Compared with prior art, the method and system that a kind of MP4 format video described in the application is play online, have the following advantages:
(1) file header of MP4 format video file is distributed to each correspondence position according to key frame by the present invention on the server, file header according to dispersion increases File header information on this MP4 format video file, and return this File header information according to the Online Video playing request of client, client first generates the index file of TS burst accordingly, and be sent to player according to the video file that the MP4 video file of download to be converted to TS burst by the index file generated and play, so, shift to an earlier date ready File header information on the server only with information such as the Video Key frame position be converted to needed for TS index file, so compared to first downloading the larger file header of MP4, the present invention reduces the first buffer time that MP4 format video file is play online greatly.
(2) the present invention processes MP4 format video file on the server, and the format conversion of MP4 format video file is carried out in client, both format conversion management had on the server been decreased, additionally reduce the management at the multiple format video file of server stores, decrease server cost.
(3) the present invention processes MP4 format video file on the server, and the format conversion of MP4 format video file is carried out in client, the MP4 format video file stored on the server is the complete video file including file header and video data, the transmission carrying out complete video file can reduce the impact of transmission on video file, ensures that client receives complete video file and carries out conversion broadcasting.
(4) the present invention processes MP4 format video file on the server, and the format conversion of MP4 format video file is carried out in client, avoid the network transmission performance efficiency of server carrying out between fluidisation module that video format conversion causes and format converting module low, thus slack problem when causing client receiver, video file to be play.
(5) the present invention processes MP4 format video file on the server, and carries out the format conversion of MP4 format video file in client, and at Internet Transmission is single MP4 file, and P2P technology can be used to carry out acceleration transmission.
Above-mentioned explanation illustrate and describes some preferred embodiments of the application, but as previously mentioned, be to be understood that the application is not limited to the form disclosed by this paper, should not regard the eliminating to other embodiments as, and can be used for other combinations various, amendment and environment, and can in application contemplated scope described herein, changed by the technology of above-mentioned instruction or association area or knowledge.And the change that those skilled in the art carry out and change do not depart from the spirit and scope of the application, then all should in the protection range of the application's claims.

Claims (10)

1. the method play online of MP4 format video, is characterized in that, comprising:
Described client receive to return after server sends the online playing request of MP4 format video file ask the description document information of MP4 format video data and correspondence, wherein,
Described description document information comprises: the information of described MP4 format video file transform required for TS burst;
Described client generates corresponding TS index file respectively according to described description document information and is sent to the player of described client, generates the list of TS index file on a player;
Described player sends TS burst playing request according to described TS index file tab sequential to client;
Described client obtains corresponding MP4 format video data according to described TS burst playing request and is converted to TS burst and is back to described player;
Described player receives described TS burst and order is play.
2. the method play online of MP4 format video according to claim 1, it is characterized in that, described client receives the description document information of the MP4 format video data of asking and the correspondence thereof returned after the online playing request of server transmission MP4 format video file, comprises further:
After described server receives MP4 format video source file, the file header of described MP4 format video source file is dispersed into respective file header burst by the key frame according to described MP4 format video source file, and is saved in each self-corresponding position in described MP4 format video source file;
Generate corresponding MP4 index file according to described file header burst, all MP4 index files generated are kept in order before the MP4 format video file with file header burst and form described description document information.
3. the method play online of MP4 format video according to claim 2, it is characterized in that, described description document information, comprises further:
Described description document information have recorded the key frame information generated needed for described TS index file, wherein,
Described TS index file is m3u8 file further.
4. the method play online of MP4 format video according to claim 3, it is characterized in that, described TS index file have recorded the side-play amount of each key frame in current TS burst.
5. the method play online of MP4 format video according to claim 1, is characterized in that, described player sends TS burst playing request according to described TS index file tab sequential to client, comprises further:
Described player, according to described TS index file, sends the HTTP request of TS burst broadcasting to client.
6. the system play online of MP4 format video, it is characterized in that, on the client, this system comprises described Operation system setting: receiver module, processing module and player,
Described receiver module, for receiving the MP4 format video data of asking and each self-corresponding description document information that return after the online playing request of server transmission MP4 format video file, wherein,
Described description document information comprises: the information of described MP4 format video file transform required for TS burst;
Described processing module, for generating corresponding TS index file respectively according to described description document information and being sent to the player of described client, generates the list of TS index file on a player;
Obtain corresponding MP4 format video data according to TS burst playing request be converted to TS burst and be back to described player;
Described player, for sending TS burst playing request according to described TS index file tab sequential to client; And
Receive described TS burst and sequentially play.
7. the system play online of MP4 format video according to claim 6, it is characterized in that, described description document information, is further:
Described description document information, after receiving MP4 format video source file by described server, the file header of described MP4 format video source file is dispersed into respective file header burst by the key frame according to described MP4 format video source file, and is saved in each self-corresponding position in described MP4 format video source file;
Generate corresponding MP4 index file according to described file header burst, all MP4 index files generated are kept in order before the MP4 format video file with file header burst and are formed.
8. the system play online of MP4 format video according to claim 7, it is characterized in that, described description document information, is further:
Described description document information have recorded the key frame information generated needed for described TS index file, wherein,
Described TS index file is m3u8 file further.
9. the system play online of MP4 format video according to claim 8, it is characterized in that, described TS index file have recorded the side-play amount of each key frame in current TS burst.
10. the system play online of MP4 format video according to claim 6, it is characterized in that, described player, is further used for:
According to described TS index file, send the HTTP request of TS burst broadcasting to client.
CN201510609838.5A 2015-09-22 2015-09-22 A kind of method and system that MP4 format video plays online Active CN105208440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510609838.5A CN105208440B (en) 2015-09-22 2015-09-22 A kind of method and system that MP4 format video plays online

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510609838.5A CN105208440B (en) 2015-09-22 2015-09-22 A kind of method and system that MP4 format video plays online

Publications (2)

Publication Number Publication Date
CN105208440A true CN105208440A (en) 2015-12-30
CN105208440B CN105208440B (en) 2019-03-12

Family

ID=54955819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510609838.5A Active CN105208440B (en) 2015-09-22 2015-09-22 A kind of method and system that MP4 format video plays online

Country Status (1)

Country Link
CN (1) CN105208440B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704581A (en) * 2016-01-25 2016-06-22 互联天下科技发展(深圳)有限公司 HTTP real-time video transmission method based on MP4 file format
CN108124169A (en) * 2016-11-29 2018-06-05 中国科学院声学研究所 A kind of P2P Video service accelerated methods of household radio router
CN110113655A (en) * 2019-05-05 2019-08-09 北京奇艺世纪科技有限公司 A kind of method, apparatus and user terminal of video playing
CN110545459A (en) * 2018-05-29 2019-12-06 武汉斗鱼网络科技有限公司 method for caching video and related equipment
CN111083410A (en) * 2019-12-30 2020-04-28 珠海全志科技股份有限公司 Audio and video stream processing method and device for DVR
CN111356028A (en) * 2020-03-16 2020-06-30 南京巨鲨显示科技有限公司 Method and device for realizing file sequence on demand by streaming media service
CN113079386A (en) * 2021-03-19 2021-07-06 北京百度网讯科技有限公司 Video online playing method and device, electronic equipment and storage medium
CN114173074A (en) * 2021-10-22 2022-03-11 广州市奥威亚电子科技有限公司 Recording and storing method and format conversion method for video format conversion

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011150644A1 (en) * 2010-12-17 2011-12-08 华为技术有限公司 Method and apparatus for acquiring and transmitting streaming media data in the process of initiation
US20140010282A1 (en) * 2012-07-09 2014-01-09 Vid Scale, Inc. Power aware video decoding and streaming
CN103763637A (en) * 2014-01-21 2014-04-30 北京云视睿博传媒科技有限公司 Stream media broadcasting method and system
CN104348899A (en) * 2014-06-25 2015-02-11 深圳市天朗时代科技有限公司 Client and server multimedia content sharing method and sharing system
CN104349176A (en) * 2013-07-30 2015-02-11 中国电信股份有限公司 Self-adaptive stream media system, downloading method and stream media server, user terminal
CN104661058A (en) * 2013-11-20 2015-05-27 深圳市云帆世纪科技有限公司 MP4 video on demand data stream transmission method, client side and video on demand system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011150644A1 (en) * 2010-12-17 2011-12-08 华为技术有限公司 Method and apparatus for acquiring and transmitting streaming media data in the process of initiation
US20140010282A1 (en) * 2012-07-09 2014-01-09 Vid Scale, Inc. Power aware video decoding and streaming
CN104349176A (en) * 2013-07-30 2015-02-11 中国电信股份有限公司 Self-adaptive stream media system, downloading method and stream media server, user terminal
CN104661058A (en) * 2013-11-20 2015-05-27 深圳市云帆世纪科技有限公司 MP4 video on demand data stream transmission method, client side and video on demand system
CN103763637A (en) * 2014-01-21 2014-04-30 北京云视睿博传媒科技有限公司 Stream media broadcasting method and system
CN104348899A (en) * 2014-06-25 2015-02-11 深圳市天朗时代科技有限公司 Client and server multimedia content sharing method and sharing system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704581A (en) * 2016-01-25 2016-06-22 互联天下科技发展(深圳)有限公司 HTTP real-time video transmission method based on MP4 file format
CN108124169A (en) * 2016-11-29 2018-06-05 中国科学院声学研究所 A kind of P2P Video service accelerated methods of household radio router
CN110545459A (en) * 2018-05-29 2019-12-06 武汉斗鱼网络科技有限公司 method for caching video and related equipment
CN110113655A (en) * 2019-05-05 2019-08-09 北京奇艺世纪科技有限公司 A kind of method, apparatus and user terminal of video playing
CN111083410A (en) * 2019-12-30 2020-04-28 珠海全志科技股份有限公司 Audio and video stream processing method and device for DVR
CN111083410B (en) * 2019-12-30 2022-02-25 珠海全志科技股份有限公司 Audio and video stream processing method and device for DVR
CN111356028A (en) * 2020-03-16 2020-06-30 南京巨鲨显示科技有限公司 Method and device for realizing file sequence on demand by streaming media service
CN113079386A (en) * 2021-03-19 2021-07-06 北京百度网讯科技有限公司 Video online playing method and device, electronic equipment and storage medium
CN113079386B (en) * 2021-03-19 2023-01-17 北京百度网讯科技有限公司 Video online playing method and device, electronic equipment and storage medium
CN114173074A (en) * 2021-10-22 2022-03-11 广州市奥威亚电子科技有限公司 Recording and storing method and format conversion method for video format conversion
CN114173074B (en) * 2021-10-22 2023-11-03 广州市奥威亚电子科技有限公司 Recording and storing method for video format conversion and format conversion method

Also Published As

Publication number Publication date
CN105208440B (en) 2019-03-12

Similar Documents

Publication Publication Date Title
CN105208440A (en) Online playing method and system for MP4-format video
CN102118428B (en) Method and system for playing streaming media
US9462307B2 (en) ABR live to VOD system and method
CN105379293B (en) Media quality informa instruction in dynamic self-adapting Streaming Media based on hyper text protocol
CN105611395B (en) A kind of method and system that MP4 format video plays online
US9888047B2 (en) Efficient on-demand generation of ABR manifests
US20140139735A1 (en) Online Media Data Conversion Method, Online Video Playing Method and Corresponding Device
CN105228001B (en) A kind of method and system that FLV format videos play online
KR102464061B1 (en) Method and device for sending and receiving media data
CN104661058A (en) MP4 video on demand data stream transmission method, client side and video on demand system
CN105049931B (en) The method and system that the video of format non-supporting in mobile terminal is converted
CN105142020A (en) Method and system for converting video in unsupported format in mobile terminal
WO2014193996A2 (en) Network video streaming with trick play based on separate trick play files
US11805162B2 (en) Packaging content for delivery
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
CN109756749A (en) Video data handling procedure, device, server and storage medium
JP2022019932A (en) Information processing apparatus and information processing method
KR102137858B1 (en) Transmission device, transmission method, reception device, reception method, and program
CN105430510A (en) Video on demand method, gateway, smart terminal and video on demand system
US20110276662A1 (en) Method of constructing multimedia streaming file format, and method and apparatus for servicing multimedia streaming using the multimedia streaming file format
CN114827734A (en) Streaming media data playback method, device, system and storage medium
Begen Spending" quality"'time with the web video
Navali et al. Common Mezzanine Distribution Format (CMZF): For ABR TV Distribution
KR101656102B1 (en) Apparatus and method for generating/providing contents file
JP2014060625A (en) Video signal transmission method, video signal receiver, and video signal reception method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 100191 Beijing, Xueyuan Road No. 51, the first to enjoy the science and technology building, floor 6,

Applicant after: Storm group Limited by Share Ltd

Address before: 100191 Beijing, Xueyuan Road No. 51, the first to enjoy the science and technology building, floor 6,

Applicant before: Beijing Baofeng Technology Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20190705

Granted publication date: 20190312

PP01 Preservation of patent right