CN105228001A - The method and system that a kind of FLV format video is play online - Google Patents

The method and system that a kind of FLV format video is play online Download PDF

Info

Publication number
CN105228001A
CN105228001A CN201510624981.1A CN201510624981A CN105228001A CN 105228001 A CN105228001 A CN 105228001A CN 201510624981 A CN201510624981 A CN 201510624981A CN 105228001 A CN105228001 A CN 105228001A
Authority
CN
China
Prior art keywords
file
format video
flv
flv format
burst
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
CN201510624981.1A
Other languages
Chinese (zh)
Other versions
CN105228001B (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 CN201510624981.1A priority Critical patent/CN105228001B/en
Publication of CN105228001A publication Critical patent/CN105228001A/en
Application granted granted Critical
Publication of CN105228001B publication Critical patent/CN105228001B/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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 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, rendering scenes according to MPEG-4 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/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

Abstract

This application discloses the method that FLV format video is play online, comprising: during server stores FLV format video, obtain the file header of FLV format video data bag; Generate corresponding description document information, and concentrated for all description document information being placed on before video file is preserved; Client receive to return after server sends FLV format video file online playing request ask the description document information of FLV format video data and correspondence, description document information comprises: the information of FLV format video file transform required for TS burst; Client generates corresponding TS index file respectively according to description document information and is sent to the player of client, generates the list of TS index file on a player; Player sends TS burst playing request according to TS index file tab sequential to client; Client obtains corresponding FLV format video data according to TS burst playing request and is converted to TS burst and is back to player; Player receives TS burst and order is play.

Description

The method and system that a kind of FLV 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 FLV 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 and HLS etc.
FLV is the abbreviation of FLASHVIDEO, and FLV stream media format is the video format along with the release of FlashMX develops.Minimum, the loading velocity of file formed due to its is exceedingly fast, and making network watch video file becomes possibility, and its appearance efficiently solves after video file imports Flash, makes the SWF file size of derivation huge, on network, the problem such as well can not to use.
FLV adopt by numerous video sharing website of new generation, be increase the soonest at present, video transmission form the most widely.Develop on the basis of the compression algorithm of sorenson company.FLV form not only can import in Flash easily, and speed is exceedingly fast, and can play the effect of protection copyright, and can not by local Microsoft or REAL player plays video.
FLV, as a kind of emerging Internet video form, can obtain numerous websites and support not accidentally.Except the features such as the occupation rate of FLV video format own is low, video quality is good, volume is little are applicable to except network Development, abundant, various resource is also a key factor of the unified online displaying video form of FLV video format.From up-to-date transformer to escaping from prison again to every sports cast, what online friend made even certainly to shoot the video etc. and can easy to doly in a network find.
What provide FLV video on the internet has two class websites, and a kind of is that special video sharing website is as the YouTube website of the U.S., domestic six rooms, potato nets etc.Another kind is the plate that portal website provides video blog, provides the video channel of oneself, as Sina's video blog etc., is also the video using FLV form.In addition, Baidu is also proposed the function about video search, and the video that the inside is searched for out is substantially all have employed popular FLV form.
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.
As an independently FLV file.Although the control of the FlashPlayer that Flash video file is normally delivered for use, FLV file itself be global function to oneself and can play or be converted to extended formatting, stored as on hard disk or CD by this locality.
The Video processing of FLV form is adopted to have following benefit:
FLV is a kind of brand-new streaming media video form, which utilizes widely used FlashPlayer platform on webpage, is incorporated into by video in Flash animation.That is, as long as the visitor of website can see Flash animation, naturally also can see FLV format video, and without the need to additionally installing other video plug-in unit again, the use of FLV video brings great convenience to video transmission.
Based on above-mentioned benefit, current trend stores the video file of FLV form on the server, carries out distribution again and play after receiving the video playback request of client.First download the video information part with FLV file header after the video file that client reception server sends, download actual FLV format video data afterwards again and play.
FLV, 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 FLV form at its head, make the video file head of FLV form large especially, when carrying out FLV format video file and playing, long especially in the buffer time that video is initial.If play online FLV 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 FLV video file.
Current settling mode is the conversion being completed FLV 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) FLV format video file division be multiple FLV files of segment video, so, the head of each small documents is very little, also can reach the object play fast.
(3) FLV 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 FLV format video all completes at background server, can bring following problem:
(1) prior art realizes the video file video file of FLV 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 FLV 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 FLV 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 FLV 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 FLV format video is play online.
The invention provides a kind of method that FLV format video is play online, comprising:
During server stores FLV format video, obtain the file header of FLV format video data bag;
Generate corresponding description document information according to the file header obtained, and concentrated for all description document information being placed on before video file is preserved;
Described client receive to return after server sends the online playing request of FLV format video file ask the description document information of FLV format video data and correspondence, wherein,
Described description document information comprises: the information of described FLV 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 FLV 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 FLV format video data of asking and the correspondence thereof returned after the online playing request of server transmission FLV format video file, comprises further:
After described server receives FLV format video source file, the file header of described FLV format video source file is dispersed into respective file header burst by the key frame according to described FLV format video source file, and is saved in each self-corresponding position in described FLV format video source file;
Generate corresponding FLV index file according to described file header burst, all FLV index files generated are kept in order before the FLV 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.
6, the system play online of FLV format video, on the client, this system comprises described Operation system setting: receiver module, processing module and player,
Described receiver module, for receiving the FLV format video data of asking and each self-corresponding description document information that return after the online playing request of server transmission FLV format video file, wherein,
Described FLV format video is when server stores, and described server obtains the file header of FLV format video data bag;
Generate corresponding description document information according to the file header obtained, and concentrated for all description document information being placed on before video file is preserved;
Described description document information comprises: the information of described FLV 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 FLV 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, wherein, described description document information, is further:
Described description document information, after receiving FLV format video source file by described server, the file header of described FLV format video source file is dispersed into respective file header burst by the key frame according to described FLV format video source file, and is saved in each self-corresponding position in described FLV format video source file;
Generate corresponding FLV index file according to described file header burst, all FLV index files generated are kept in order before the FLV 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 FLV format video described in the application is play online, have the following advantages:
(1) file header of FLV 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 FLV 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 FLV 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 FLV, the present invention reduces the first buffer time that FLV format video file is play online greatly.
(2) the present invention processes FLV format video file on the server, and the format conversion of FLV 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 FLV format video file on the server, and the format conversion of FLV format video file is carried out in client, the FLV 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 FLV format video file on the server, and the format conversion of FLV 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 FLV format video file on the server, and carries out the format conversion of FLV format video file in client, and at Internet Transmission is single FLV 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 FLV format video of the present invention is play online;
Fig. 2 is the method flow schematic diagram that the FLV format video described in the embodiment of the present invention 2 is play online;
Fig. 3 is the system architecture diagram that FLV 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 FLV format video described in the embodiment of the present invention 1 is play online, comprise:
Step 101, during server stores FLV format video, obtains the file header of FLV format video data bag; Generate corresponding description document information according to the file header obtained, and concentrated for all description document information being placed on before video file is preserved; Described client receives the description document information of the FLV format video data of asking and the correspondence thereof returned after the online playing request of server transmission FLV format video file, wherein,
Described description document information comprises: the information of described FLV format video file transform required for TS burst; Wherein,
The file header of common FLV 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.
When this programme stores FLV format video file on the server, the file header of described FLV format video source file is dispersed into respective file header burst by the key frame according to described FLV format video source file, and is saved in each self-corresponding position in described FLV format video source file; Before the file header of described FLV format video file, increase described description document information, this description document information have recorded the offset information of each key frame in this FLV 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 FLV format video source file when video playback is initial again.This description document information only needs to record compared to the file header of FLV 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 FLV 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 FLV 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 FLV 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 FLV format video of the present invention is play online, comprising:
Step 201, during server stores FLV format video, obtains the file header of FLV format video data bag; Generate corresponding description document information according to the file header obtained, and concentrated for all description document information being placed on before video file is preserved; Described client receives the description document information of the FLV format video data of asking and the correspondence thereof returned after the online playing request of server transmission FLV format video file, wherein,
Described description document information comprises: the information of described FLV format video file transform required for TS burst;
Described FLV format video file is as follows in the preservation process of server:
After described server receives FLV format video source file, the file header of described FLV format video source file is dispersed into respective file header burst by the key frame according to described FLV format video source file, and is saved in each self-corresponding position in described FLV format video source file;
Generate corresponding FLV index file according to described file header burst, all FLV index files generated are kept in order before the FLV 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 FLV 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 FLV format video when described server preserves described FLV 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 FLV 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 FLV 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 FLV format video data of asking and each self-corresponding description document information that return after the online playing request of server transmission FLV format video file, wherein,
Described FLV format video is when server stores, and described server obtains the file header of FLV format video data bag;
Generate corresponding description document information according to the file header obtained, and concentrated for all description document information being placed on before video file is preserved;
Described description document information comprises: the information of described FLV 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 FLV 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 FLV format video data of asking that described reception returns after the online playing request of server transmission FLV format video file and correspondence thereof, comprises further:
After receiving FLV format video source file, the file header of described FLV format video source file is dispersed into respective file header burst by the key frame according to described FLV format video source file, and is saved in each self-corresponding position in described FLV format video source file;
Generate corresponding FLV index file according to described file header burst, and all FLV index files generated are kept in order before the FLV 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 FLV format video described in the application is play online, have the following advantages:
(1) file header of FLV 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 FLV 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 FLV 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 FLV, the present invention reduces the first buffer time that FLV format video file is play online greatly.
(2) the present invention processes FLV format video file on the server, and the format conversion of FLV 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 FLV format video file on the server, and the format conversion of FLV format video file is carried out in client, the FLV 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 FLV format video file on the server, and the format conversion of FLV 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 FLV format video file on the server, and carries out the format conversion of FLV format video file in client, and at Internet Transmission is single FLV 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 FLV format video, is characterized in that, comprising:
During server stores FLV format video, obtain the file header of FLV format video data bag;
Generate corresponding description document information according to the file header obtained, and concentrated for all description document information being placed on before video file is preserved;
Described client receive to return after server sends the online playing request of FLV format video file ask the description document information of FLV format video data and correspondence, wherein,
Described description document information comprises: the information of described FLV 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 FLV 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 FLV format video according to claim 1, it is characterized in that, described client receives the description document information of the FLV format video data of asking and the correspondence thereof returned after the online playing request of server transmission FLV format video file, comprises further:
After described server receives FLV format video source file, the file header of described FLV format video source file is dispersed into respective file header burst by the key frame according to described FLV format video source file, and is saved in each self-corresponding position in described FLV format video source file;
Generate corresponding FLV index file according to described file header burst, all FLV index files generated are kept in order before the FLV format video file with file header burst and form described description document information.
3. the method play online of FLV 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 FLV 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 FLV 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 FLV 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 FLV format video data of asking and each self-corresponding description document information that return after the online playing request of server transmission FLV format video file, wherein,
Described FLV format video is when server stores, and described server obtains the file header of FLV format video data bag;
Generate corresponding description document information according to the file header obtained, and concentrated for all description document information being placed on before video file is preserved;
Described description document information comprises: the information of described FLV 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 FLV 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 FLV format video according to claim 6, it is characterized in that, described description document information, is further:
Described description document information, after receiving FLV format video source file by described server, the file header of described FLV format video source file is dispersed into respective file header burst by the key frame according to described FLV format video source file, and is saved in each self-corresponding position in described FLV format video source file;
Generate corresponding FLV index file according to described file header burst, all FLV index files generated are kept in order before the FLV format video file with file header burst and are formed.
8. the system play online of FLV 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 FLV 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 FLV 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.
CN201510624981.1A 2015-09-26 2015-09-26 A kind of method and system that FLV format videos play online Active CN105228001B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510624981.1A CN105228001B (en) 2015-09-26 2015-09-26 A kind of method and system that FLV format videos play online

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510624981.1A CN105228001B (en) 2015-09-26 2015-09-26 A kind of method and system that FLV format videos play online

Publications (2)

Publication Number Publication Date
CN105228001A true CN105228001A (en) 2016-01-06
CN105228001B CN105228001B (en) 2018-11-06

Family

ID=54996635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510624981.1A Active CN105228001B (en) 2015-09-26 2015-09-26 A kind of method and system that FLV format videos play online

Country Status (1)

Country Link
CN (1) CN105228001B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820124A (en) * 2017-11-10 2018-03-20 暴风集团股份有限公司 Format conversion method, device and server
CN110113655A (en) * 2019-05-05 2019-08-09 北京奇艺世纪科技有限公司 A kind of method, apparatus and user terminal of video playing
CN111147947A (en) * 2020-01-10 2020-05-12 深圳市同洲电子股份有限公司 Websocket-based flv video transmission and webpage playing method
CN111866603A (en) * 2020-07-21 2020-10-30 广州市保伦电子有限公司 Video file production method based on SRS, background server and system
CN113038033A (en) * 2021-03-02 2021-06-25 深圳市浩科电子有限公司 Method for acquiring video
CN113079386A (en) * 2021-03-19 2021-07-06 北京百度网讯科技有限公司 Video online playing method and device, electronic equipment and storage medium
CN113242447A (en) * 2021-05-10 2021-08-10 北京奇艺世纪科技有限公司 Video data processing method and device
CN113395589A (en) * 2021-06-11 2021-09-14 深圳市斯博科技有限公司 Video file playing method and device, computer equipment and storage medium
CN113438505A (en) * 2021-06-02 2021-09-24 曙光网络科技有限公司 Video file restoration method and device, computer equipment and storage medium
CN114025201A (en) * 2021-10-29 2022-02-08 恒安嘉新(北京)科技股份公司 Video playing method, device, equipment and storage medium

Citations (5)

* 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
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 (5)

* 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

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107820124A (en) * 2017-11-10 2018-03-20 暴风集团股份有限公司 Format conversion method, device and server
CN110113655A (en) * 2019-05-05 2019-08-09 北京奇艺世纪科技有限公司 A kind of method, apparatus and user terminal of video playing
CN111147947A (en) * 2020-01-10 2020-05-12 深圳市同洲电子股份有限公司 Websocket-based flv video transmission and webpage playing method
CN111147947B (en) * 2020-01-10 2021-12-10 深圳市同洲电子股份有限公司 Websocket-based flv video transmission and webpage playing method
CN111866603B (en) * 2020-07-21 2022-04-26 广州市保伦电子有限公司 Video file production method based on SRS, background server and system
CN111866603A (en) * 2020-07-21 2020-10-30 广州市保伦电子有限公司 Video file production method based on SRS, background server and system
CN113038033A (en) * 2021-03-02 2021-06-25 深圳市浩科电子有限公司 Method for acquiring video
CN113038033B (en) * 2021-03-02 2023-07-07 深圳市浩科电子有限公司 Method for acquiring video
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
CN113242447B (en) * 2021-05-10 2022-05-17 北京奇艺世纪科技有限公司 Video data processing method and device
CN113242447A (en) * 2021-05-10 2021-08-10 北京奇艺世纪科技有限公司 Video data processing method and device
CN113438505A (en) * 2021-06-02 2021-09-24 曙光网络科技有限公司 Video file restoration method and device, computer equipment and storage medium
CN113395589A (en) * 2021-06-11 2021-09-14 深圳市斯博科技有限公司 Video file playing method and device, computer equipment and storage medium
CN113395589B (en) * 2021-06-11 2023-02-10 深圳万兴软件有限公司 Video file playing method and device, computer equipment and storage medium
CN114025201A (en) * 2021-10-29 2022-02-08 恒安嘉新(北京)科技股份公司 Video playing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN105228001B (en) 2018-11-06

Similar Documents

Publication Publication Date Title
CN105228001A (en) The method and system that a kind of FLV format video is play online
US9882951B2 (en) Method and device for playing streaming media, and non-transitory storage medium
CN105379293B (en) Media quality informa instruction in dynamic self-adapting Streaming Media based on hyper text protocol
CN105100961B (en) Video thumbnail generation method and generating means
US8843596B2 (en) Conversion between streaming media communication protocols
US9473812B2 (en) System and method for delivering content
CN102055717B (en) Quick playing method, terminal and server
CN104471914B (en) A kind of method and apparatus of streaming media processing
CN102215116B (en) Method, equipment and system that time migration is served are provided in a digital broadcasting system
CN104125229B (en) The player method of Streaming Media and playing device
TW201123795A (en) System, method and apparatus for dynamic media file streaming
CN105828096B (en) Method and device for processing media stream file
US20160134900A1 (en) Streaming media processing method, apparatus, and system
JP2013515401A (en) Audio splitting at codec applicable frame size
KR20120103698A (en) Apparatus and methods for describing and timing representations in streaming media files
KR20120114016A (en) Method and apparatus for network adaptive streaming user data in a outer terminal
CN102196313A (en) Method and device for continuous playing of cross-platform breakpoint as well as method and device for continuous playing of breakpoint
CN102282825A (en) Method and device for streaming media to request address mapping and cache nodes in content delivery network
CN105208440A (en) Online playing method and system for MP4-format video
CN107197386B (en) Cross-platform video playing implementation method without client
CN103649937A (en) Method and apparatus for dynamically generating media sequences on demand for HTTP live streaming
WO2017185601A1 (en) Method and device for providing and downloading video
CN109842804A (en) Processing method and server, the computer storage medium of audio, video data
CN105611395A (en) MP4 format video online play method and system thereof
TW201409998A (en) Rendering time control

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
PP01 Preservation of patent right

Effective date of registration: 20190705

Granted publication date: 20181106