CN105828096A - Media stream file processing method and device - Google Patents

Media stream file processing method and device Download PDF

Info

Publication number
CN105828096A
CN105828096A CN201610341723.7A CN201610341723A CN105828096A CN 105828096 A CN105828096 A CN 105828096A CN 201610341723 A CN201610341723 A CN 201610341723A CN 105828096 A CN105828096 A CN 105828096A
Authority
CN
China
Prior art keywords
media segment
file
sub
segment file
media
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
CN201610341723.7A
Other languages
Chinese (zh)
Other versions
CN105828096B (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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201610341723.7A priority Critical patent/CN105828096B/en
Publication of CN105828096A publication Critical patent/CN105828096A/en
Application granted granted Critical
Publication of CN105828096B publication Critical patent/CN105828096B/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/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/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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/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/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Abstract

The invention discloses a media stream file processing method and device, wherein the method comprises following steps of receiving a media stream request message, wherein the media stream request message is used for indicating that sub-media segment files are obtained from a preset media segment file, wherein the media segment file is the file formed by combining multiple sub-media segment files, the multiple sub-media segment files are the files obtained by cutting a to-be-played media stream file of a player; obtaining the sub-media segment files from the preset media segment file in response to the media stream request message; and sending the obtained sub-media segment files to the player for playing. According to the method and the device, the technical problems that in the related technique, the efficiency of accessing small files is reduced due to cutting the media stream file into a mass of small files, and the delay of requesting for big files is high due to cutting the media stream file into the big files are solved.

Description

The treating method and apparatus of media stream file
Technical field
The present invention relates to field of video processing, in particular to the treating method and apparatus of a kind of media stream file.
Background technology
In the processing procedure to media stream file, conventional stream media protocol mainly have HTTP progressive download and based on The real-time stream media protocol of RTSP/RTP, both agreements are substantially diverse.The most more convenient the most handy It is by HTTP progressive download method, wherein, with HTTP Live Streaming as representative.HTTP Live Streaming It is initially the stream developed for mobile devices such as iPhone, iPod, iTouch and iPad, along with sending out of technology Exhibition, this technology is widely used the most on the table, and HTML5 can directly support this technology.
HLS (HTTP Live Streaming) is a kind of dynamic code rate adaptive technique, is mainly used in Apple terminal With the audio frequency and video service of PC, include the m3u8 file (namely index file or play list file) of a core, TS media segment file and Key encrypt file, and wherein, each containing in m3u8 file that player needs to play is neglected Frequently list.Fig. 1 is to utilize the HLS technology schematic diagram to the handling process of media stream file according to prior art, as Shown in Fig. 1, server obtains video file or video flowing;The video file got or video flowing are converted into H264+aac form also generates m3u8 file;Video file or video flowing are cut into video-frequency band file, i.e. TS literary composition Part, and update m3u8 file, it is stored in storage system in the lump;Player is by Web server or caching clothes The m3u8 file of the video that business device request is to be played is to obtain playlist, and resolves the address of the TS file of correspondence; Player is downloaded according to the address of TS file from server by Web server or caching server and is obtained to be played TS file be decoded playing, continue to repeat above-mentioned flow process after playing a TS file to play next TS File.
Following defect is there is in the above-mentioned HLS of utilization technology to the handling process of media stream file:
1, utilize HLS that media stream file cuts into little section and can generate substantial amounts of file, store or process these files The substantial amounts of wasting of resources will be caused.If the time shift of a couple of days to be realized, index amount will be the hugest, and substantially shadow Ring request speed.Therefore, storage I/O is required quite harsh by HLS.If media stream file being cut into substantial amounts of The efficiency that no matter small documents is local file storage system or small documents is accessed by cloud storage system is the most relatively low.
2, if, with HLS, media stream file cuts into big file to solve above-mentioned storage system small documents is carried out The inefficient problem of access, but, the file request time so will be caused slow, time delay is big, and player When playing, fast forward and fast reverse skip frame is excessive, such as cuts into a TS file by 5 minutes, then fast forward and fast reverse is all It is to be a unit with 5 minutes, it will have a strong impact on user's experience.
3, there is Bandwidth-Constrained, load too high, server exception area of infection when a large number of users plays video bigger Etc. performance issue and integrity problem, it is therefore desirable to have the pressure introducing caching server buffered video source, to improve system The handling capacity of system and reliability.
Will reduce for media stream file is cut into substantial amounts of small documents by correlation technique small documents is accessed Efficiency, and media stream file is cut into big file and will cause big file request is postponed big problem, at present Effective solution is not yet proposed.
Summary of the invention
Embodiments provide the treating method and apparatus of a kind of media stream file, at least to solve in correlation technique Media stream file is cut into substantial amounts of small documents and will reduce the efficiency that small documents is accessed, and by Media Stream literary composition Part cuts into big file will be caused again big file request is postponed big technical problem.
An aspect according to embodiments of the present invention, it is provided that the processing method of a kind of media stream file, including: receive Medium stream request message, wherein, medium stream request message obtains son for instruction from the media segment file prestored Media segment file, media segment file is by the file of many sub-media segment Piece file mergences, many sub-media segment files For the file obtained after the media stream file that player is to be played is cut;And response medium stream request message, From the media segment file prestored, obtain sub-media segment file, and the sub-media segment file got is sent to broadcasting Put device to play out.
Further, before receiving medium stream request message, the method also includes: media stream file cut into many Individual sub-media segment file, and create play list file, wherein, play list file is used for recording many sub-media segments The filename of file;Media segment file is become to enter at least two sub-media segment Piece file mergence in many sub-media segment files Row storage, and update play list file, wherein, the literary composition of every sub-media segment file of record in play list file Part name is used for indicating following information: the filename of media segment file, the skew in media segment file of the sub-media segment file Amount, the size of sub-media segment file or the end position of sub-media segment file.
Further, receive medium stream request message and include: obtain the request that player is initiated according to play list file, Wherein, request is for asking the sub-media segment file that in broadcasting play list file, the filename of record is corresponding, in request Carry inclined in media segment file of the filename of media segment file belonging to sub-media segment file, sub-media segment file Shifting amount, the size of sub-media segment file or the end position of sub-media segment file;Convert the request into medium stream request to disappear Breath, wherein, the filename of sub-media segment file replaces with the filename of media segment file, and sub-media segment file is at media Add by the Content-Range head of http protocol before side-play amount in segment file and the size of sub-media segment file.
Further, obtain player to include according to the request of play list file initiation: according in play list file The order of the filename of record initiates the request of the sub-media segment file corresponding to each filename successively;Or according to broadcasting In listing file, the order of the filename of record initiates the request of the sub-media segment file corresponding to multiple filenames simultaneously.
Further, respond medium stream request message, from the media segment file prestored, obtain sub-media segment file, And send to play out to player by the sub-media segment file got and include: according to the filename of media segment file, The size of sub-media segment file side-play amount in media segment file and sub-media segment file obtains from media segment file Sub-media segment file with Content-Range head;The son with Content-Range head that will get Content-Range head in media segment file removes, and obtains sub-media segment file;Sub-media segment file is sent Play out to player.
Further, after obtaining the sub-media segment file with Content-Range head, the method also includes: The sub-media segment file with Content-Range head that caching gets, wherein, when again receiving Media Stream Directly by the sub-media segment file with Content-Range head of caching during request message Content-Range head removes, and obtains sub-media segment file, and the transmission of sub-media segment file is carried out to player Play.
Another aspect according to embodiments of the present invention, additionally provides the processing means of a kind of media stream file, including: connect Receiving module, be used for receiving medium stream request message, wherein, medium stream request message is for indicating from the matchmaker prestored Obtaining sub-media segment file in body segment file, media segment file is by the file of many sub-media segment Piece file mergences, Many sub-media segment files be the media stream file that player is to be played is cut after the file that obtains;And response Module, is used for responding medium stream request message, obtains sub-media segment file from the media segment file prestored, and The sub-media segment file got transmission is played out to player.
Further, this device also includes: cutting module, for before receiving medium stream request message, by media Stream file cuts into many sub-media segment files, and creates play list file, and wherein, play list file is used for remembering Record the filename of many sub-media segment files;Merge module, for by least two in many sub-media segment files Media segment Piece file mergence becomes media segment file to store, and updates play list file, wherein, and play list file The filename of every sub-media segment file of middle record is used for indicating following information: the filename of media segment file, sub-matchmaker Body segment file side-play amount, the size of sub-media segment file or the end position of sub-media segment file in media segment file.
Further, receiver module includes: the first acquisition module, is used for obtaining player and sends out according to play list file The request risen, wherein, request is for asking the sub-media segment literary composition that the filename of record in broadcasting play list file is corresponding Part, carries the filename of media segment file belonging to sub-media segment file, sub-media segment file at media segment in request Side-play amount, the size of sub-media segment file or the end position of sub-media segment file in file;Modular converter, is used for Converting the request into medium stream request message, wherein, the filename of sub-media segment file replaces with the literary composition of media segment file Part name, adds by HTTP before the size of sub-media segment file side-play amount in media segment file and sub-media segment file The Content-Range head of agreement.
Further, the first acquisition module includes: the first request module, for according to record in play list file The order of filename initiates the request of the sub-media segment file corresponding to each filename successively;Or second request module, For initiating the sub-media segment corresponding to multiple filenames according to the order of the filename of record in play list file simultaneously The request of file.
Further, respond module includes: the second acquisition module, for according to the filename of media segment file, sub-matchmaker The size of body segment file side-play amount in media segment file and sub-media segment file obtain from media segment file with The sub-media segment file of Content-Range head;Processing module, for by get with Content-Range Content-Range head in the sub-media segment file of head removes, and obtains sub-media segment file;Sending module, For the transmission of sub-media segment file is played out to player.
Further, respond module also includes: cache module, for obtaining with Content-Range head After sub-media segment file, the sub-media segment file with Content-Range head that caching gets, wherein, When again receiving medium stream request message directly by the sub-media segment literary composition with Content-Range head of caching Content-Range head in part removes, and obtains sub-media segment file, and sends sub-media segment file to playing Device plays out.
In embodiments of the present invention, by media stream file to be played for player being cut into many sub-media segment files, Media segment file is become to store at least two sub-media segment Piece file mergence in many sub-media segment files, it is to avoid Media stream file is cut into the problem that substantial amounts of small documents reduces the efficiency accessing small documents.Meanwhile, play When the request of antithetical phrase media segment file initiated by device, the request of antithetical phrase media segment file can be converted to medium stream request and disappear Breath, to realize obtaining sub-media segment file from the media segment file prestored, it is to avoid media stream file cut Become big file to cause big file request and postpone big problem.The processing method of the media stream file of the embodiment of the present invention Reach both to improve the access efficiency of media segment file, reduce again the purpose that media segment file is asked time delay, thus Achieve the treatment effeciency improving media stream file, shorten the technique effect of the request time delay of player streaming media files, And then solve and media stream file is cut into substantial amounts of small documents by correlation technique will reduce small documents is accessed Efficiency, and media stream file is cut into big file and will cause big file request is postponed big technical problem.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.At accompanying drawing In:
Fig. 1 is to utilize the HLS technology schematic diagram to the handling process of media stream file according to prior art;
Fig. 2 is the flow chart of the processing method of media stream file according to embodiments of the present invention;
Fig. 3 is the schematic diagram of the handling process of media stream file according to the preferred embodiment of the invention;And
Fig. 4 is the schematic diagram of the processing means of media stream file according to embodiments of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with in the embodiment of the present invention Accompanying drawing, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment It is only the embodiment of a present invention part rather than whole embodiments.Based on the embodiment in the present invention, ability The every other embodiment that territory those of ordinary skill is obtained under not making creative work premise, all should belong to The scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " Two " it is etc. for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that this Sample use data can exchange in the appropriate case, in order to embodiments of the invention described herein can with except Here the order beyond those illustrating or describing is implemented.Additionally, term " includes " and " having " and they Any deformation, it is intended that cover non-exclusive comprising, such as, contain series of steps or the process of unit, side Method, system, product or equipment are not necessarily limited to those steps or the unit clearly listed, but can include the clearest List or for intrinsic other step of these processes, method, product or equipment or unit.
According to embodiments of the present invention, it is provided that the embodiment of the method for the processing method of a kind of media stream file, explanation is needed , can be in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing Perform, and, although show logical order in flow charts, but in some cases, can be to be different from this The step shown or described by order execution at place.
Before the processing method of the media stream file to the embodiment of the present invention is described in detail, first to this Part noun or term that bright embodiment occurs during being described are applicable to description below:
1, TS file, the sub-media segment file obtained after referring to media stream file is cut.
2, m3u8 file, refers to play list file, can include multiple mark tag, each tag in m3u8 file Function and attribute as described below:
#EXTM3U
The first row of each m3u8 file must be this tag, plays mark action.
#EXT-X-MEDIA-SEQUENCE:140651513
Each media URI unique sequence number of only one of which in PlayList, adjacent between sequence number+1, one Media URI is not necessary to comprise, if it did not, be defaulted as 0.
#EXTINF
Specify the persistent period (second) of each media segment file TS, only effective to URI behind, under title is Carry the URL of resource.
#EXT-X-TARGETDURATION
Specify maximum media segment time length (second).Therefore, the time span specified in #EXTINF be necessarily less than or Equal to this maximum.This tag can only occur once in whole PlayList file.It should be noted that In the case of nesting, the m3u8 of real TS url is typically had just to there will be this tag.
#EXT-X-KEY
Represent and how media segments is decoded.Its sphere of action is owning before this tag next occurs Media URI, attribute is NONE or AES-128.NONE represents URI and IV (Initialization Vector) Attribute must not exist, and AES-128 (Advanced EncryptionStandard) represents that URI must exist, and IV can Not exist.
It should be noted that during for AES-128, keytag and URI attribute illustrate a key literary composition jointly Part, can obtain this key by URI, without IV (Initialization Vector), then uses sequence Row number carry out encoding and decoding as IV, and high-order by serial number is composed in the buffer of 16 bytes, and the left side mends 0;As Fruit has IV, then revaluate is treated as 16 system numbers of 16 bytes.
#EXT-X-PROGRAM-DATE-TIME
First sample in one absolute time or date and a media segment is associated, only to the next one Meida URI is effective, and form is as follows:
#EXT-X-PROGRAM-DATE-TIME:
Such as: #EXT-X-PROGRAM-DATE-TIME:2010-02-19T14:54:23.031+08:00
#EXT-X-ALLOW-CACHE
Indicating whether to allow to be cache, this anywhere can occur in PlayList file, and has more most The most once, action effect is all of media segment.Form is as follows:
#EXT-X-ALLOW-CACHE:
#EXT-X-PLAYLIST-TYPE
Thering is provided the variable information about PlayList, this is effective to whole PlayList file, is optional, Form is as follows:
#EXT-X-PLAYLIST-TYPE:
If VOD, then server can not change PlayList file;If EVENT, then server can not change Become or delete any part in PlayList file, but new a line content can be increased in this document.
#EXT-X-ENDLIST
Representing the end of PlayList, it can occur optional position in PlayList, but can only occur one Individual, form is as follows:
#EXT-X-ENDLIST
#EXT-X-MEDIA
It is used in PlayList represent the version without languages/translation of identical content, such as can be by using 3 this tag represent the audio frequency in 3 without voice, or represent the video of different angles with 2 these tag In PlayLists.This label is self-existent, and attribute comprises:
URI: if it is not, represent that optional version that this tag describes is main PlayList's EXT-X-STREAM-INF exists;
TYPE:AUDIO and VIDEO;
GROUP-ID: have the MEDIAtag of identical ID, forms one group of pattern;
LANGUAGE: determine the dominant language of use;
NAME: the translation of human-readable language;
DEFAULT:YES or NO, acquiescence is No, if YES, then client can be play with this option, Unless user oneself selects;
AUTOSELECT:YES or NO, acquiescence is No, if YES, then client can be according to currently playing ring Border carries out selecting (on the premise of user selects) not according to oneself preference.
#EXT-X-STREAM-INF
Specify a media URI comprising multimedia messages as PlayList, typically do the nested use of m3u8, It is only to effective immediately following URI below, and form is as follows:
#EXT-X-STREAM-INF:
Have with properties:
BANDWIDTH: bandwidth, it is necessary to have;
PROGRAM-ID: this value is a decimal integer, uniquely identifies one in PlayList file extent Specific description.One PlayList file may comprise multiple this tag having identical ID;
CODECS: not necessarily;
RESOLUTION: resolution;
AUDIO: this value is necessary.
3, the idiographic flow of HLS protocol is described as follows:
(1) server gets by the way of various agreements such as FTP, HTTP, UDP etc. are from local disk reading and regards Frequency file or video flowing.
(2) video file or video flowing are spaced the TS file being converted into h264+aac form at set intervals, And generate a m3u8 file and deposit within the storage system, such as the examples below:
#EXTM3U
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:2680
#EXTINF:8,
fileSequence2680.ts
#EXTINF:8,
fileSequence2681.ts
#EXTINF:8,
fileSequence2682.ts
Wherein, m3u8 and corresponding TS file are stored under same catalogue.
(3) player utilizes http protocol to ask the m3u8 file of video to be played according to url, and resolves correspondence TS file address.
(4) player is downloaded the TS file of corresponding lists according to the url of TS and decodes broadcasting, plays a TS Next TS is put in follow-up continued broadcasting.
Based on foregoing description, the processing method of the media stream file of the embodiment of the present invention is described in detail below.Fig. 2 is The flow chart of the processing method of media stream file according to embodiments of the present invention, as in figure 2 it is shown, the method includes as follows Step:
Step S102, receives medium stream request message, wherein, medium stream request message for instruction from prestoring Obtaining sub-media segment file in media segment file, media segment file is by the file of many sub-media segment Piece file mergences, Many sub-media segment files be the media stream file that player is to be played is cut after the file that obtains;
Step S104, responds medium stream request message, obtains sub-media segment file from the media segment file prestored, And the sub-media segment file got transmission is played out to player.
It should be noted that above-mentioned steps can be performed by server.Pass through above-mentioned steps, it is possible to achieve both improved matchmaker The access efficiency of body segment file, reduces again the purpose that media segment file is asked time delay, and then solves correlation technique Middle media stream file is cut into substantial amounts of small documents will reduce the efficiency that small documents is accessed, and by Media Stream File cuts into big file will be caused again big file request is postponed big technical problem, it is achieved that improve Media Stream The treatment effeciency of file, shortens the technique effect of the request time delay of player streaming media files.
In the scheme that step S102 provides, the storage system of server can be previously stored with at least one media segment File, wherein, media segment file can be by the file of many sub-media segment Piece file mergences, wherein, many height Media segment file be the media stream file that player is to be played is cut after the file that obtains.It should be noted that Player is not specifically limited by the embodiment of the present invention, and it can be web player, it is also possible to be client player. Player media stream file to be played can be video file, it is also possible to be audio file.Media stream file is carried out Cutting can obtain many sub-media segment files, i.e. TS file.In order to avoid server storage system stores substantial amounts of son Media segment file causes the problem that access efficiency is relatively low, the embodiment of the present invention can by media stream file is carried out cutting can Media segment file is become to store obtaining at least two sub-media segment Piece file mergence in many sub-media segment files, with Reach to improve media segment file access efficiency, and then improve the purpose of media stream file treatment effeciency.
As a kind of optional embodiment, before step S102 server receives medium stream request message, server is deposited Storage system can store media segment file, and concrete storing process can be realized by following steps:
Step S1012, cuts into media stream file many sub-media segment files, and creates play list file, its In, play list file is for recording the filename of many sub-media segment files.
Step S1012 provide technical scheme in, server can by various agreements, such as FTP, HTTP, UDP obtains media stream file from the mode that local disk reads, and the media stream file got is converted into H264+aac form.While format transformation, server can also create play list file, namely m3u8 file, File header is write after creating m3u8 file.Media stream file can be cut into many sub-media segment files by server, Each word media stream file all has a filename, the filename of many sub-media segment files can record at m3u8 file In.
Step S1014, becomes media segment file by least two sub-media segment Piece file mergence in many sub-media segment files Store, and update play list file, wherein, every sub-media segment file of record in play list file Filename is used for indicating following information: inclined in media segment file of the filename of media segment file, sub-media segment file Shifting amount, the size of sub-media segment file or the end position of sub-media segment file.
In the technical scheme that step S1014 provides, media stream file is being cut into many sub-media segment literary compositions by server After part, cause sub-media segment file access efficiency low in order to avoid storing substantial amounts of sub-media segment file, can be by many At least two sub-media segment Piece file mergence in individual sub-media segment file becomes media segment file, and the media segment literary composition that will obtain Part is stored in the storage system of server.At the media segment file that storage is become by least two sub-media segment Piece file mergence After, server can update m3u8 file, specifically can update the filename of each word media segment file, after renewal The filename of sub-media segment file can serve to indicate that following information: the filename of media segment file, sub-media segment file Side-play amount, the size of sub-media segment file or the end position of sub-media segment file in media segment file.Such as, In m3u8 file after renewal, the form of the filename of the sub-media segment file of record can be: Big_offsert_end.ts, wherein, big is the filename of media segment file, and offsert is this sub-media segment file Side-play amount in media segment file big.ts file, end is the size of this sub-media segment file.It should be noted that In m3u8 file, the filename of the sub-media segment file of record may be used to indicate that other information, and the most no longer one at one stroke Example explanation.
In the scheme that step S102 provides, in addition it is also necessary to explanation, medium stream request message can serve to indicate that from advance The media segment file first stored obtains sub-media segment file.Player can be downloaded from the storage system of server and obtain Take m3u8 file, then according to m3u8 file successively to server request and play the file of record in this m3u8 file The sub-media segment file that name is corresponding.Owing in server storage system, the media segment file of storage is by the sub-matchmaker of at least two The merging of body segment file forms, and therefore, the media segment request that server receives can represent that player is to server request From the media segment file prestored, obtain and play sub-media segment file.
Alternatively, receive medium stream request message may comprise steps of:
Step S1022, obtains the request that player is initiated according to play list file, and wherein, request is broadcast for request Put the sub-media segment file that in play list file, the filename of record is corresponding, request carries sub-media segment file institute The filename of media segment file belonged to, sub-media segment file side-play amount in media segment file, sub-media segment file Size or the end position of sub-media segment file;
In the technical scheme that step S1022 provides, player is downloaded from the storage system of server and obtains m3u8 After file, can get the playlist of media segment file, player can be according to the literary composition of record in this playlist The order of part name initiates request to server successively, and sub-media segment file corresponding to demand file name plays out.Work as clothes When business device receives the request that player is initiated, this request can be resolved, can take from getting this request With the filename of the media segment file belonging to sub-media segment file, the skew in media segment file of the sub-media segment file The information such as the end position of amount, the size of sub-media segment file or sub-media segment file, it should be noted that the present invention The request that in embodiment, player is initiated can also carry other guide, illustrate the most one by one.
Alternatively, the request that step S1022 acquisition player is initiated according to play list file may include that according to broadcasting Emplace the order of the filename of record in list file and initiate the request of the sub-media segment file corresponding to each filename successively; Or initiate the sub-media segment literary composition corresponding to multiple filenames according to the order of the filename of record in play list file simultaneously The request of part.
It should be noted that player can according in play list file record filename order use string send out or Person's concurrent fashion initiates request to server, and string originating party formula can be according to the filename of record in play list file Initiate the request of the sub-media segment file corresponding to each filename sequentially one by one;Concurrent fashion can be according to broadcasting In listing file, the order of the filename of record disposably initiates many sub-media segment files corresponding to multiple filenames Request.The mode that player is initiated request by the embodiment of the present invention is not specifically limited, and player can use string originating party Formula, it would however also be possible to employ concurrent fashion.
Step S1024, converts the request into medium stream request message, and wherein, the filename of sub-media segment file is replaced For the filename of media segment file, sub-media segment file side-play amount in media segment file and sub-media segment file big Add by the Content-Range head of http agreement before little.
In the technical scheme that step S1024 provides, server can will be somebody's turn to do after getting the request that player is initiated Request is converted to medium stream request message, it should be noted that this transformation process can be relevant according to carry in request Information, concrete transformation process may include that and replaced with belonging to this sub-media segment file by the filename of sub-media segment file The filename of media segment file;By sub-media segment file side-play amount in media segment file and sub-media segment file Add before size by the Content-Range head of http agreement.It should be noted that is initiated by player please Ask and be converted to medium stream request message, substantially the request of antithetical phrase media segment file is converted to the storage system to server The request of the media segment file of storage in system, however, it is desirable to explanation, server is receiving this medium stream request Respond this medium stream request message after message and be still sub-media segment file to what player fed back, so can shorten broadcasting The time delay of big file asked by device, and then reaches to improve the purpose of player plays effect.
In the technical scheme that step S104 provides, server, after receiving medium stream request message, responds this matchmaker Body stream request message, concrete response process can be at least one media segment prestored from server storage system File obtains the sub-media segment file of request, and the sub-media segment file got transmission is played out to player. Alternatively, at least one media segment file that server stores from storage system obtains the sub-media segment file of request May include that and store from storage system according to the filename of the media segment file belonging to sub-media segment file of request At least one media segment file positions the media segment file corresponding with file name;Sub-media segment file according to request Side-play amount in media segment file positions the position of the sub-media segment file of request in this media segment file;According to request The acquiring size of sub-media segment file start whole sub-media segment file from above-mentioned position.
As a kind of optional embodiment, step S104 response medium stream request message, from the media segment literary composition prestored Part obtains sub-media segment file, and the sub-media segment file got transmission is played out can include to player Following steps:
Step S1042, according to the filename of media segment file, sub-media segment file side-play amount in media segment file And the size of sub-media segment file obtains the sub-media segment literary composition with Content-Range head from media segment file Part.
Step S1044, in the sub-media segment file with Content-Range head that will get Content-Range head removes, and obtains sub-media segment file.
Step S1046, plays out the transmission of sub-media segment file to player.
It should be noted that in above-mentioned steps server according to the filename of media segment file, sub-media segment file matchmaker At least one media segment literary composition that side-play amount in body segment file and the size of sub-media segment file store from storage system The process of the sub-media segment file obtaining request in part is described in detail, the most in the above-described embodiments Repeat.But it should be recognized that server is with Content-Range by the sub-media segment file that lookup gets The sub-media segment file of head, this is because player initiation was asked before response medium stream request message by server Ask and be converted, before the size of sub-media segment file side-play amount in media segment file and sub-media segment file With the addition of Content-Range head.
It should be noted that in order to ensure to feed back to the accuracy of the sub-media segment file of player plays, server exists After getting the sub-media segment file with Content-Range head, this Content-Range head can be gone Fall, obtain the sub-media segment file of player requests, and this sub-media segment file is sent to player plays.This Bright embodiment utilizes the mesh of the functional realiey of Content-Range head media segment file analogy media segment file , and then it is low big with storage big file player request time delay to solve server storage system storage small documents efficiency Problem.
As a kind of optional embodiment, obtain the sub-media segment with Content-Range head in step S1044 After file, this alternative embodiment can also include: the sub-matchmaker with Content-Range head that caching gets Body segment file, wherein, when again receiving medium stream request message directly by caching with Content-Range Content-Range head in the sub-media segment file of head removes, and obtains sub-media segment file, and by sub-media Segment file transmission plays out to player.
Can be performed by server it should be noted that cache the sub-media segment file with Content-Range head, Can also be performed by Web server or caching server, the present invention is not specifically limited.Utilize Web server or Person's caching server caching is with the sub-media segment file of Content-Range head so that again receive Media Stream Without again initiating the sub-media segment file asking to obtain request from storage system to server, so during request message So that server load balancing, improve system-through-up capability, improve player plays effect.
The embodiment of the present invention also provide for can a kind of preferred embodiment, Fig. 3 is media according to the preferred embodiment of the invention The schematic diagram of the handling process of stream file, it should be noted that media stream file is with video file in the preferred embodiment Or illustrate as a example by video flowing, and the preferred embodiment can be by servicing to the handling process of video file or video flowing Device and Web server or caching server have cooperated jointly.As it is shown on figure 3, the handling process of the preferred embodiment Can be described as follows:
Server obtains video file or video flowing, and converts thereof into h264+aac form.
Create m3u8 file, write file header.
Cut according to little TS file during server storage file, but by n little TS file smal1.ts Sma l2.ts smal3.ts ... smaln.ts stores into a big TS file, and the filename of big TS file is big.ts, Record the size of each little TS file and the side-play amount in big.ts.It should be noted that little TS file herein Sub-media segment file in corresponding above-described embodiment, the media segment file in big TS file correspondence above-described embodiment.
#EXTINF field toward m3u8 file writes the information such as the duration of little TS file, and the filename of little TS file is Big_offsert_end.ts, wherein big and the big in the filename of big TS file keeps consistent, and offert is Current little TS file side-play amount in big.ts file, end is side-play amount and current little TS file size, such as:
#EXTM3U
#EXT-X-MEDIA-SEQUENCE:62101
#EXT-X-TARGETDURATION:60
#EXT-X-VERSION:1
#EXTINF:10,
#EXTINF:10,
1453254427_0_2352631.ts
#EXTINF:10,
1453254427_2352632_4454283.ts
#EXTINF:11,
1453254427_4454284_6777023.ts
If it should be noted that do not use " _ " as delimiter, but use "?" etc. symbol, functionally Unaffected, but affect the performance of caching server, because for same url, "?" query argument below Difference can be taken as different url, and therefore, caching server caching in rear end is little TS file, exists and source station one The small documents performance issue of sample.
Player can download m3u8 file by Web server or caching server from storage system, to obtain The playlist of player, then automatically according to the TS filename requests in m3u8 file and play TS file, therefore The suffix name of the TS address of request is exactly big_offsert_end.ts, by the lua of third party's module such as nginx Module or the TS filename of Web module identification this type also intercept and capture this little TS file request, obtain little TS filename. Side-play amount and size.
Web module revises the request of little TS file, the filename of request is replaced to big.ts, and adds http's Content-Range head, such as: Range:bytes=2352632-4454283.It should be noted that Content-Range head with band "?" query statement compare and be more beneficial for caching server cache file, and Ensure caching is big TS file.
Caching server forwards the request of band Content-Range head, to server request data.Server responds The TS file of the i.e. band Content-Range head of response data is sent to caching server, caching server by this request After removing the Content-Range head in head response, the TS file reverse of request is fed player, so for playing Device is fully transparent, and player does not knows that request is modified.
It should be noted that Web module forwards asks caching server, caching server act on behalf of this request and cache Big TS file, the request of in response to belt Content-Range head.Follow-up same TS request can be to its direct sound Deduplication should be need not again request.
The TS file of player plays request.
The present invention by being appropriately modified the filename of TS file when generating m3u8 file, thus realizes utilizing big TS The simulation little TS file of file, and then solving storage system, to process little TS file detection low and process big TS file Player plays weak effect and the contradiction of poor user experience.The main inventive point of the present invention includes: utilize HLS to cut matchmaker Cutting according to little TS file during body stream file, but store into big TS file, what m3u8 file preserved is little TS literary composition The information of part, but after the file name formats of little TS file is modified;Web server or caching server need HTTP Range to be opened supports, utilizes the functional realiey big TS file analogy little TS file of little TS file;Profit Third party's assembly is relied on the request of little TS file to be converted into by the characteristic that filename during player requests TS file is fixing Big TS file request;Utilize caching server to cache big TS file so that server load balancing, improve system Handling capacity and user play experience.
According to embodiments of the present invention, additionally provide the device embodiment of the processing means of a kind of media stream file, need Bright, the processing means of this media stream file may be used for performing the process of the media stream file in the embodiment of the present invention Method, the processing method of the media stream file in the embodiment of the present invention can be held in the processing means of this media stream file OK.
Fig. 4 is the schematic diagram of the processing means of media stream file according to embodiments of the present invention, as shown in Figure 4, and this dress Put and may include that
Receiver module 22, is used for receiving medium stream request message, and wherein, medium stream request message is for indicating from advance Obtaining sub-media segment file in the media segment file of storage, media segment file is for being formed by many sub-media segment Piece file mergences File, many sub-media segment files be the media stream file that player is to be played is cut after the file that obtains; And respond module 24, it is used for responding medium stream request message, from the media segment file prestored, obtains sub-media Segment file, and the sub-media segment file got transmission is played out to player.
It should be noted that the receiver module 22 in this embodiment may be used for performing the step in the embodiment of the present application S102, the respond module 24 in this embodiment may be used for performing step S104 in the embodiment of the present application.Above-mentioned mould Block is identical with the example that corresponding step is realized and application scenarios, but is not limited to above-described embodiment disclosure of that.
As a kind of optional embodiment, the processing means of the media stream file of this embodiment can also include: blanking punch Block 212, for before receiving medium stream request message, cuts into many sub-media segment files by media stream file, And create play list file, wherein, play list file is for recording the filename of many sub-media segment files;Close And module 214, at least two sub-media segment Piece file mergence in many sub-media segment files is become media segment file Store, and update play list file, wherein, every sub-media segment file of record in play list file Filename is used for indicating following information: inclined in media segment file of the filename of media segment file, sub-media segment file Shifting amount, the size of sub-media segment file or the end position of sub-media segment file.
It should be noted that the cutting module 212 in this embodiment may be used for performing the step in the embodiment of the present application S1012, the merging module 214 in this embodiment may be used for performing step S1014 in the embodiment of the present application.Above-mentioned Module is identical with the example that corresponding step is realized and application scenarios, but is not limited to above-described embodiment disclosure of that.
Alternatively, receiver module 22 may include that the first acquisition module 222, is used for obtaining player according to played column The request that list file is initiated, wherein, request is for asking the son that in broadcasting play list file, the filename of record is corresponding Media segment file, carries the filename of media segment file belonging to sub-media segment file, sub-media segment file in request Side-play amount, the size of sub-media segment file or the end position of sub-media segment file in media segment file;Modulus of conversion Block 224, is used for converting the request into medium stream request message, and wherein, the filename of sub-media segment file replaces with matchmaker The filename of body segment file, the size of sub-media segment file side-play amount in media segment file and sub-media segment file it Front interpolation is by the Content-Range head of http agreement.
It should be noted that the first acquisition module 222 in this embodiment may be used for performing in the embodiment of the present application Step S1022, the modular converter 224 in this embodiment may be used for performing step S1024 in the embodiment of the present application. Above-mentioned module is identical with the example that corresponding step is realized and application scenarios, but is not limited to disclosed in above-described embodiment Content.
Alternatively, the first acquisition module 222 may include that the first request module, for according in play list file The order of the filename of record initiates the request of the sub-media segment file corresponding to each filename successively;Or second request Module, for initiating the son corresponding to multiple filenames according to the order of the filename of record in play list file simultaneously The request of media segment file.
Alternatively, respond module 24 may include that the second acquisition module 242, for the file according to media segment file The size of name, sub-media segment file side-play amount in media segment file and sub-media segment file is from media segment file Obtain the sub-media segment file with Content-Range head;Processing module 244, for by get with Content-Range head in the sub-media segment file of Content-Range head removes, and obtains sub-media segment literary composition Part;Sending module 246, for playing out the transmission of sub-media segment file to player.
It should be noted that the second acquisition module 242 in this embodiment may be used for performing in the embodiment of the present application Step S1022, the processing module 244 in this embodiment may be used for performing step S1024 in the embodiment of the present application, Sending module 246 in this embodiment may be used for performing step S1026 in the embodiment of the present application.Above-mentioned module with The example that corresponding step is realized is identical with application scenarios, but is not limited to above-described embodiment disclosure of that.
As a kind of optional embodiment, respond module 24 can also include: cache module, for obtain with After the sub-media segment file of Content-Range head, caching get with Content-Range head Sub-media segment file, wherein, when again receiving medium stream request message directly by caching with Content-Range head in the sub-media segment file of Content-Range head removes, and obtains sub-media segment literary composition Part, and the transmission of sub-media segment file is played out to player.
The processing means of the media stream file of the embodiment of the present invention can realize both having improved the access efficiency of media segment file, Reduce again the purpose that media segment file is asked time delay, and then solve in correlation technique media stream file is cut into Substantial amounts of small documents will reduce the efficiency accessing small documents, and media stream file cuts into big file and incites somebody to action Can cause big file request is postponed big technical problem, it is achieved that improve the treatment effeciency of media stream file, shorten The technique effect of the request time delay of player streaming media files.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not has in certain embodiment The part described in detail, may refer to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents, can be passed through other Mode realize.Wherein, device embodiment described above is only schematically, the division of the most described unit, Can be that a kind of logic function divides, actual can have other dividing mode, the most multiple unit or assembly when realizing Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not performs.Another point, institute The coupling each other shown or discuss or direct-coupling or communication connection can be by some interfaces, unit or mould The INDIRECT COUPLING of block or communication connection, can be being electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, shows as unit The parts shown can be or may not be physical location, i.e. may be located at a place, or can also be distributed to On multiple unit.Some or all of unit therein can be selected according to the actual needs to realize the present embodiment scheme Purpose.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated Unit both can realize to use the form of hardware, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, Can be stored in a computer read/write memory medium.Based on such understanding, technical scheme essence On the part that in other words prior art contributed or this technical scheme completely or partially can be with software product Form embodies, and this computer software product is stored in a storage medium, including some instructions with so that one Platform computer equipment (can be for personal computer, server or the network equipment etc.) performs each embodiment institute of the present invention State all or part of step of method.And aforesaid storage medium includes: USB flash disk, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD Etc. the various media that can store program code.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For Yuan, under the premise without departing from the principles of the invention, it is also possible to make some improvements and modifications, these improve and profit Decorations also should be regarded as protection scope of the present invention.

Claims (12)

1. the processing method of a media stream file, it is characterised in that including:
Receiving medium stream request message, wherein, described medium stream request message is for indicating from the matchmaker prestored Obtaining sub-media segment file in body segment file, described media segment file is by multiple described sub-media segment Piece file mergences File, multiple described sub-media segment files be the media stream file that player is to be played is cut after The file obtained;And
Respond described medium stream request message, from the described media segment file prestored, obtain described sub-media Segment file, and the described sub-media segment file got transmission is played out to described player.
Method the most according to claim 1, it is characterised in that before receiving medium stream request message, described side Method also includes:
Described media stream file is cut into multiple described sub-media segment file, and creates play list file, its In, described play list file is for recording the filename of multiple described sub-media segment file;
Sub-media segment Piece file mergence described at least two in multiple described sub-media segment files is become described media segment File stores, and updates described play list file, and wherein, in described play list file, record is every The filename of individual described sub-media segment file is used for indicating following information: the filename of described media segment file, institute State sub-media segment file side-play amount in described media segment file, the size or described of described sub-media segment file The end position of sub-media segment file.
Method the most according to claim 2, it is characterised in that receive medium stream request message and include:
Obtaining the request that described player is initiated according to described play list file, wherein, described request is for asking Ask and play the described sub-media segment file that in described play list file, the filename of record is corresponding, in described request Carry the filename of the described media segment file belonging to described sub-media segment file, described sub-media segment file exists Side-play amount, the size of described sub-media segment file or the knot of described sub-media segment file in described media segment file Bundle position;
Convert the request into described medium stream request message, wherein, the filename of described sub-media segment file Replace with the filename of described media segment file, the skew in described media segment file of the described sub-media segment file Add by the Content-Range head of http agreement before the size of amount and described sub-media segment file.
Method the most according to claim 3, it is characterised in that obtain described player according to described playlist literary composition The request that part is initiated includes:
Initiate each filename corresponding successively according to the order of the filename of record in described play list file The request of described sub-media segment file;Or
Initiate multiple filenames corresponding according to the order of the filename of record in described play list file simultaneously The request of described sub-media segment file.
5. according to the method described in claim 3 or 4, it is characterised in that respond described medium stream request message, from advance The described media segment file first stored obtains described sub-media segment file, and the described sub-media segment that will get File sends to described player to play out and includes:
Inclined in described media segment file of filename according to described media segment file, described sub-media segment file The size of shifting amount and described sub-media segment file obtains with Content-Range from described media segment file The sub-media segment file of head;
Content-Range head in the sub-media segment file with Content-Range head that will get Portion removes, and obtains described sub-media segment file;
Described sub-media segment file is sent extremely described player play out.
Method the most according to claim 5, it is characterised in that obtaining the son with Content-Range head After media segment file, described method also includes:
The sub-media segment file with Content-Range head that caching gets, wherein, when again receiving To the sub-media segment file with Content-Range head that directly will cache during described medium stream request message In Content-Range head remove, obtain described sub-media segment file, and by described sub-media segment file Send extremely described player to play out.
7. the processing means of a media stream file, it is characterised in that including:
Receiver module, is used for receiving medium stream request message, and wherein, described medium stream request message is used for indicating Obtaining sub-media segment file from the media segment file prestored, described media segment file is by multiple described sons The file of media segment Piece file mergence, multiple described sub-media segment files are the Media Stream to be played to player The file that file obtains after cutting;And
Respond module, is used for responding described medium stream request message, from the described media segment file prestored Obtain described sub-media segment file, and the described sub-media segment file got transmission is carried out to described player Play.
Device the most according to claim 7, it is characterised in that described device also includes:
Cutting module, for, before receiving medium stream request message, cutting into multiple by described media stream file Described sub-media segment file, and create play list file, wherein, described play list file is used for recording many The filename of individual described sub-media segment file;
Merge module, for being closed by sub-media segment file described at least two in multiple described sub-media segment files And become described media segment file to store, and update described play list file, wherein, described playlist In file, the filename of each described sub-media segment file of record is used for indicating following information: described media segment is civilian Side-play amount in described media segment file of the filename of part, described sub-media segment file, described sub-media segment literary composition The size of part or the end position of described sub-media segment file.
Device the most according to claim 8, it is characterised in that described receiver module includes:
First acquisition module, for obtaining the request that described player is initiated according to described play list file, its In, described request is used for asking to play the described sub-media that in described play list file, the filename of record is corresponding Segment file, described request carries described media segment file belonging to described sub-media segment file filename, Described sub-media segment file side-play amount, the size of described sub-media segment file or institute in described media segment file State the end position of sub-media segment file;
Modular converter, is used for converting the request into described medium stream request message, wherein, described sub-media The filename of segment file replaces with the filename of described media segment file, and described sub-media segment file is at described media Add by http protocol before side-play amount in segment file and the size of described sub-media segment file Content-Range head.
Device the most according to claim 9, it is characterised in that described first acquisition module includes:
First request module, for initiating successively according to the order of the filename of record in described play list file The request of the described sub-media segment file corresponding to each filename;Or
Second request module, for initiating according to the order of the filename of record in described play list file simultaneously The request of the described sub-media segment file corresponding to multiple filenames.
11. according to the device described in claim 9 or 10, it is characterised in that described respond module includes:
Second acquisition module, is used for according to the filename of described media segment file, described sub-media segment file in institute The size stating the side-play amount in media segment file and described sub-media segment file obtains from described media segment file Sub-media segment file with Content-Range head;
Processing module, in the sub-media segment file with Content-Range head that will get Content-Range head removes, and obtains described sub-media segment file;
Sending module, plays out for described sub-media segment file is sent extremely described player.
12. devices according to claim 11, it is characterised in that described respond module also includes:
Cache module, for after obtaining the sub-media segment file with Content-Range head, caches The sub-media segment file with Content-Range head got, wherein, when again receiving described matchmaker Directly by the sub-media segment file with Content-Range head of caching during body stream request message Content-Range head removes, and obtains described sub-media segment file, and is sent by described sub-media segment file Play out to described player.
CN201610341723.7A 2016-05-19 2016-05-19 Method and device for processing media stream file Active CN105828096B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610341723.7A CN105828096B (en) 2016-05-19 2016-05-19 Method and device for processing media stream file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610341723.7A CN105828096B (en) 2016-05-19 2016-05-19 Method and device for processing media stream file

Publications (2)

Publication Number Publication Date
CN105828096A true CN105828096A (en) 2016-08-03
CN105828096B CN105828096B (en) 2020-05-15

Family

ID=56530324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610341723.7A Active CN105828096B (en) 2016-05-19 2016-05-19 Method and device for processing media stream file

Country Status (1)

Country Link
CN (1) CN105828096B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303671A (en) * 2016-08-16 2017-01-04 任晋军 A kind of player method of Streaming Media
CN106488259A (en) * 2016-10-25 2017-03-08 上海网达软件股份有限公司 A kind of virtual joining method of HLS Streaming Media burst and system
CN106604076A (en) * 2016-12-30 2017-04-26 中广热点云科技有限公司 System and method for monitoring network television program
CN107911712A (en) * 2017-11-30 2018-04-13 歌尔科技有限公司 Data buffering method and electronic equipment
CN108846021A (en) * 2018-05-22 2018-11-20 广东技术师范学院 A kind of mass small documents storage method accessing preference pattern based on user
CN109640171A (en) * 2018-12-07 2019-04-16 北京微播视界科技有限公司 Multimedia messages synthetic method, electronic equipment and computer readable storage medium
CN109743405A (en) * 2019-02-20 2019-05-10 高新兴科技集团股份有限公司 Load balancing file uploading method, system, computer storage medium and equipment
CN110881018A (en) * 2018-09-05 2020-03-13 北京开广信息技术有限公司 Real-time receiving method and client of media stream

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102238434B (en) * 2011-07-22 2017-12-19 中兴通讯股份有限公司 A kind of IPTV files in stream media virtual segmentation and the method and system used
US9100460B2 (en) * 2012-06-28 2015-08-04 Adobe Systems Incorporated Media stream fragment request
CN103414733B (en) * 2013-09-03 2016-10-26 百视通网络电视技术发展有限责任公司 The player method of HLS Streaming Media and system
CN104822087B (en) * 2015-04-30 2017-11-28 无锡天脉聚源传媒科技有限公司 A kind of processing method and processing device of video-frequency band

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303671A (en) * 2016-08-16 2017-01-04 任晋军 A kind of player method of Streaming Media
CN106303671B (en) * 2016-08-16 2019-04-16 任晋军 A kind of playback method of Streaming Media
CN106488259B (en) * 2016-10-25 2019-09-06 上海网达软件股份有限公司 A kind of joining method and system of HLS Streaming Media fragment
CN106488259A (en) * 2016-10-25 2017-03-08 上海网达软件股份有限公司 A kind of virtual joining method of HLS Streaming Media burst and system
CN106604076A (en) * 2016-12-30 2017-04-26 中广热点云科技有限公司 System and method for monitoring network television program
CN106604076B (en) * 2016-12-30 2019-10-18 中广热点云科技有限公司 A kind of network TV program monitoring system and method
CN107911712A (en) * 2017-11-30 2018-04-13 歌尔科技有限公司 Data buffering method and electronic equipment
CN107911712B (en) * 2017-11-30 2020-10-09 歌尔科技有限公司 Data buffering method and electronic equipment
CN108846021A (en) * 2018-05-22 2018-11-20 广东技术师范学院 A kind of mass small documents storage method accessing preference pattern based on user
CN108846021B (en) * 2018-05-22 2021-10-26 广东技术师范大学 Mass small file storage method based on user access preference model
CN110881018A (en) * 2018-09-05 2020-03-13 北京开广信息技术有限公司 Real-time receiving method and client of media stream
CN110881018B (en) * 2018-09-05 2020-11-03 北京开广信息技术有限公司 Real-time receiving method and client of media stream
CN109640171A (en) * 2018-12-07 2019-04-16 北京微播视界科技有限公司 Multimedia messages synthetic method, electronic equipment and computer readable storage medium
CN109743405A (en) * 2019-02-20 2019-05-10 高新兴科技集团股份有限公司 Load balancing file uploading method, system, computer storage medium and equipment
CN109743405B (en) * 2019-02-20 2022-01-25 高新兴科技集团股份有限公司 Load balancing file uploading method and system, computer storage medium and equipment

Also Published As

Publication number Publication date
CN105828096B (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN105828096A (en) Media stream file processing method and device
US8516144B2 (en) Startup bitrate in adaptive bitrate streaming
CN106464945B (en) Method, system and the computer-readable medium of enhanced stream media playback
CN106134146B (en) Handle continuous multicycle content
CN103957469B (en) Based on the Internet video-on-demand method and system for turning encapsulation in real time
US20120246335A1 (en) Method, terminal, and server for implementing fast playout
CN105681912A (en) Video playing method and device
CN104125229B (en) The player method of Streaming Media and playing device
CN105228001B (en) A kind of method and system that FLV format videos play online
JP2015518325A (en) Method and system for real-time transmax conversion of streaming media content
WO2019128800A1 (en) Content service implementation method and device, and content delivery network node
KR102137858B1 (en) Transmission device, transmission method, reception device, reception method, and program
WO2017185601A1 (en) Method and device for providing and downloading video
CN105992022A (en) On-line recording and downloading method and system
JP2007524167A (en) Send asset information in streaming services
JP6597604B2 (en) Reception device, transmission device, data communication method, and data processing method
CN106134156B (en) The signal of the forensic mark of adaptive stream media is sent and the method and apparatus of processing
CN106851331B (en) Easy broadcast processing method and system
CN106357816B (en) A kind of method and system of cloud storage compound document
CN106302465B (en) A kind of method and device of playing audio-video data
KR20120139514A (en) Method and apparatus for deliverying dash media file over mmt delivery system
CN105744309A (en) Method, device and system for generating and playing, and terminal
CN106454418A (en) Method and device for playing non-HLS (Http Live Streaming) media file
WO2015064384A1 (en) Transmission apparatus, transmission method, reception apparatus, and reception method
CN113497952A (en) MP4 file real-time streaming gateway control system and control flow

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant