CN101984619A - Implementation method and system of streaming media service - Google Patents

Implementation method and system of streaming media service Download PDF

Info

Publication number
CN101984619A
CN101984619A CN2010105118590A CN201010511859A CN101984619A CN 101984619 A CN101984619 A CN 101984619A CN 2010105118590 A CN2010105118590 A CN 2010105118590A CN 201010511859 A CN201010511859 A CN 201010511859A CN 101984619 A CN101984619 A CN 101984619A
Authority
CN
China
Prior art keywords
http streaming
partitioning
rail
data
hint
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.)
Pending
Application number
CN2010105118590A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2010105118590A priority Critical patent/CN101984619A/en
Publication of CN101984619A publication Critical patent/CN101984619A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an implementation method and system of streaming media service. The method comprises: obtaining media code stream; storing as an ISO file by segments; and adding an HTTP Streaming cuetrack, wherein the HTTP streaming cuetrack comprises the relevant parameter of media segmentation required for extracting the HTTP streaming service. The technical scheme in the invention can help operators to save storage space, lower the complexity of content management and save operation cost; and in addition, for users, the invention can reduce data volume loaded by content, effectively utilize bandwidth and bring better user experience.

Description

A kind of implementation method of streaming media service and system
Technical field
The present invention relates to the streaming media service technical field, more specifically, relate to a kind of implementation method and system of streaming media service.
Background technology
Traditional streaming media service generally all is by RTSP (Real Time Streaming Protocol, real time streaming transport protocol)/RTP (Real-time Transport Protocol, RTP) mode realizes, can provide reasonable real-time to experience.But because the intrinsic complexity of RTSP/RTP mode, and at passing through NAT (Network Address Translation, network address translation)/problem that exists during fire compartment wall, developed again in nearly 2 years and (Hyper Text TransferProtocol by HTTP, HTML (Hypertext Markup Language)) mode provides streaming media service, i.e. HTTP Streaming (stream) business.
Because http protocol from essence, belongs to file transfer protocol (FTP), and be not suitable for real-time Streaming Media transmission.So in the HTTP Streaming business, programme content is divided into a lot of small fragments, for example 10 seconds a fragment.By a playlist description document, these fragments are organized together then.In the play list file, URL (Uniform/Universal ResourceLocator, URL(uniform resource locator)), duration, attribute (for example different code check), time relationship of these fragments etc. have been described.During client request program content, at first download this play list file,, download the media fragment that needs, play in this locality then then according to the description in the listing file.
Because in the HTTP Streaming business, the media fragment duration of employing is all very short, if each media fragment exists as an independent file, for 1 hour program, its media fragment at least just had 360 files so.If consider the situation of multi code Rate of Chinese character again, this number of files is just more so.Huge like this number of files can cause very big problem for Content Management.
For these reasons, all utilized movie fragment (film fragmented storage unit) structure in ISO (file format of the ISO14496-12 standard definition) file format to realize (structure that defines in the ISO14496-12 standard comprises moofbox and corresponding mdat box) effect of virtual segmentation at present a lot of the application.Promptly a movie fragment is with regard to corresponding partitioning, and client is downloaded movie fragment by indicating the mode of bytes range, plays in this locality then.It for example among 3GPP (3rd generation partnership project, the third generation partner program) R9 this mode that adopts.
Because ISO file itself also can be used for the streaming media service of RTSP/RTP mode simultaneously, generally be by in the ISO file, corresponding media tracks is increased the mode of RTP hint (prompting) rail, the RTSP/RTP streaming server becomes the RTP bag to send to client the media tracks data transaction by reading the information of RTP hint rail then.That is to say that as long as in the ISO file of supporting movie fragment, increase the relevant information of RTP hint rail again, so same file can both be used for the HTTPStreaming business, also can be used for the RTSP/RTP streaming media service.
But, there are the following problems in the prior art: because the information and the data of RTP hint rail are also contained among the movie fragment, so, when downloading moviefragment, these data also will inevitably be downloaded in the lump for the client of HTTP Streaming.And these data are play for this locality, without any use, thereby have taken bandwidth and local memory space, have caused the waste of resource.
Summary of the invention
The technical problem that the present invention solves provides a kind of implementation method and system of streaming media service, can reduce the complexity of the space hold and the Content Management of content stores.
For solving the problems of the technologies described above, the invention provides a kind of implementation method of streaming media service, described method comprises:
Obtaining the medium code stream, is the ISO file with its fragmented storage, and increases HTML (Hypertext Markup Language) stream (HTTP Streaming) prompting (hint) rail;
Wherein, comprise the relevant parameter that extracts the professional needed partitioning of HTTP streaming in the described HTTP streaming hint rail.
Further, described relevant parameter comprises: sample (sample) data of described HTTP streaming hint rail;
The sample data of described HTTP streaming hint rail comprise extracts the indication information that constructs the data that meet HTTP streaming transformat from partitioning.
Further, described indication information comprises at least: the data and the length of the position of references media rail data and length, needs structure, and padding data.
Further, HTTP streaming server is when reading described ISO file, the described indication information that comprises by the sample data that read described HTTP streaming hint rail, extract corresponding media tracks data, and the media tracks data set that extracts dressed up the partitioning that meets HTTP streaming transformat, return to client.
Further, store described ISO file after, described method also comprises:
Generate the playlist description document that is complementary with described ISO file;
Described playlist description document comprises the unified resource identifier (URL) of each partitioning, comprises among the described URL: ISO filename and partitioning sign.
Further, described HTTP streaming server returns corresponding playlist description document according to the HTTPURL that the client of receiving sends;
Described client finds the URL of the partitioning of corresponding time according to described playlist description document, initiates service request to described HTTP streaming server;
Described HTTP streaming server finds HTTP Streaming hint rail according to the URL of the partitioning in the described service request of receiving, carry out the extraction and assembling of media data after, return to described client.
The present invention also provides a kind of realization system of streaming media service, comprises the content production subsystem, and described content production subsystem further comprises:
Medium code stream deriving means is used to obtain the medium code stream;
File storage device is used for the media code flow point section that described medium code stream deriving means obtains is stored as the ISO file;
The cuetrack adding set is used for described ISO file is increased HTTP streaming hint rail, comprises the relevant parameter that extracts the professional needed partitioning of HTTP streaming in the wherein said HTTP streaming hint rail.
Further, described cuetrack adding set is further used for, and in the sample data of described HTTP streaming hint rail, comprises and extract the indication information that constructs the data that meet HTTP streaming transformat from partitioning.
Further, described system also comprises HTTP streaming server and client side,
The described indication information that comprises by the sample data that read described HTTP streaming hint rail, extract corresponding media tracks data, and the media tracks data set that extracts dressed up the partitioning that meets the HTTPstreaming transformat, return to client.
Further, described content production subsystem also comprises the description document generating apparatus, wherein:
Described description document generating apparatus is used for, and generates the playlist description document that is complementary with described ISO file, and described playlist description document comprises the URL of each partitioning, comprises among the described URL: ISO filename and partitioning sign;
Described HTTP streaming server also is used for, and when receiving the HTTP URL of described client transmission, returns corresponding playlist description document; When receiving the URL of the partitioning that described client sends, find HTTP Streaming hint rail, after extracting media data and being assembled into corresponding partitioning, return to described client;
Described client is used for, and according to described playlist description document, finds the URL of the partitioning of corresponding time, to described HTTP streaming server requests service, and receives the partitioning that described HTTPstreaming server returns.
According to above-mentioned method and system provided by the invention, utilize same ISO file, service is provided for simultaneously HTTP Streaming business and RTSP/RTP streaming media service, with the space hold of minimizing content stores and the complexity of Content Management; When avoiding HTTP Streaming client downloads movie fragment again simultaneously, unnecessary data information is downloaded in the lump the problem of occupied bandwidth and local memory space.
Adopt technical solution of the present invention, can help operator's conserve storage, reduce the complexity of Content Management, save operation cost; And, for the user, can reduce content data downloaded amount, the more efficient use bandwidth is brought better user experience.Simultaneously, for server side, also can be more convenient, efficiently from the storage file of media data, extract the data that need, convert the transfer files form of HTTP Streaming standard-required to.
Description of drawings
Fig. 1 is the structural representation of existing ISO file;
Fig. 2 is the schematic diagram of trak box structure in the existing ISO file;
Fig. 3 is the schematic diagram of moof box structure in the existing ISO file;
Fig. 4 uses the application scenarios schematic diagram of the Streaming Media implementation method of example for the present invention.
Embodiment
Basic thought of the present invention is, file format to the ISO file of supporting movie fragment is made amendment, increase a kind of hint rail of HTTP Streaming type, data among its sample (sample) are used for describing how to extract the data that meet the client demand form from movie fragment, and utilize amended ISO file format, media data is stored/changed.
Like this, utilize same ISO file, service is provided for simultaneously HTTP Streaming business and RTSP/RTP streaming media service, can reduce the complexity of the space hold and the Content Management of content stores; When avoiding HTTP Streaming client downloads movie fragment again simultaneously, unnecessary data information is downloaded in the lump the problem of occupied bandwidth and local memory space.
Based on above-mentioned thought, the invention provides a kind of implementation method of streaming media service, specifically adopt following technical scheme:
Obtaining the medium code stream, is the ISO file with its fragmented storage, and increases HTML (Hypertext Markup Language) stream (HTTP Streaing) prompting (hint) rail of expansion;
Wherein, comprise the relevant parameter that extracts the professional needed partitioning of HTTP streaming in the described HTTP streaming hint rail.
Further, sample (sample) parameter of described HTTP streaming hint rail is used for describing from the partitioning extraction constructing the data that meet HTTP streaming transformat.
Further, the form of described medium code stream can be that (for example audio, video data is distinguished individual packages to the media data that transmits stream (MPEG-2TS) code stream or separation, in the ISO file, use different media tracks storages, perhaps by different RTP channel transfer etc.).
Corresponding different code stream forms, the sample in the ISO file medium rail after the storage follows corresponding standard.
For the MPEG-2TS code stream, the information of describing among the sample of HTTP Streaming hint rail can be that the bag of the TS in the respective media rail is extracted, and constitutes a little TS fragment;
For the situation that media data separates, the information of describing among the sample of HTTP Streaming hint rail mainly is to filter out other unnecessary information (for example information of RTP hint rail), and the movie fragment of a lightweight is provided.
Further, store described ISO file after, described method also comprises: generate the playlist description document that is complementary with described ISO file;
Described playlist description document comprises the URL of each partitioning, and the form of described URL is: ISO filename+partitioning ID.
Further, described HTTP streaming server returns corresponding playlist description document according to the HTTPURL that the client of receiving sends;
Described client finds the partitioning URL of corresponding time according to described playlist description document, serves to HTTP streaming server requests;
Described HTTP streaming server finds corresponding partitioning according to the described partitioning URL that receives, according to the information of HTTP Streaming hint rail, extracts the media tracks data, is configured to satisfactory transformat, returns to described client.
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The implementation method of the streaming media service that provides with the medium embodiment of the invention specifically comprises the steps:
The hint rail of step 1. definition HTTP Streaming type;
The hint rail of HTTP Streaming type, data among its sample are used for describing how to extract the data that meet the client demand form from movie fragment, for example:, then remove the movie fragment after the RTP hint rail data for video and audio frequency medium code stream independently; If what perhaps store in the media tracks is TS (MPEG-2 Transport Stream, transport stream) code stream, also can be the continuous TS bag that extracts;
Step 2. pair media code stream is stored
Wherein for media data, press the definition of ISO standard, data and descriptor with sample are stored among the movie fragment, and add RTP hint rail, and expanded HTTP Streaming hint rail.The essential information of relevant rail, for example the type of rail etc. is pressed the ISO canonical record in moovbox.The sample information that comprises rail among the moof box of movie fragment, the position of description sample, size etc.; The sample data that comprise the reality of rail among the mdat box.
Step 3. generates the playlist description document
According to the ISO file that generates in the step 2, generate the playlist description document that is complementary with it, wherein in the descriptor for each movie fragment, need comprise the sign of the URI and the fragment of ISO file;
For HTTP Streaming business, also need a playlist description document, its content is to form the URL of all media fragments of this program.All URL determine when program is issued in system.
According to prior art, the URL of playlist description document represents to the user by EPG/ door etc., and the user sees this program if desired, then by this URL, and first downloading and playing tabulation description document.Resolve content wherein then, obtain the URL of each fragment.For server, when then asking according to the user, the URL in the HTTP message of being sent out determines the filename (containing the path) of program, and the user fragment ID that need watch.After server is determined file,, can navigate to movie fragment structure with fragment ID coupling by the content of resolution file.This flow process is observed the definition of ISO14496-12 fully.
Step 4.HTTP Streaming server provides partitioning to client
HTTP Streaming server is when providing partitioning to client, and according to the expansion in the step 1, extracted valid data from corresponding movie fragment is configured to satisfactory partitioning, offers client.
Fig. 1 has described the ISO file format that has movie fragment structure of standard.The basic descriptor of rail to some extent in the moov box structure 100 is for example looked rail 101, track 102, is looked track RTP hint rail 103 and 104 etc. separately.
As shown in Figure 2, above-mentioned each rail is all described by a trak box structure, has wherein comprised rail ID, rail type, sample descriptor etc.With reference to figure 2, rail ID describes in tkhd box; Rail type comprises video, audio frequency, hint etc., describes among the type in hdlr; The sample descriptor is described in the sub-box of stbl box, and for example stts box etc. also has the box that is used to describe sample information that defines in some other standards in addition, does not draw in Fig. 2.As for the information such as coded format of corresponding rail data, be in stsd box, to describe.But,, do not comprise the information (be in the structure such as stts box entry count be zero) of sample data among its trak box according to the iso standard standard for the ISO file of supporting movie fragment expansion.Moov box back is a plurality of movie fragment, and each movie fragment comprises a moof box structure 105 and a mdat box structure 106.The sample data that comprise each rail among the mdatbox.
Wherein the structure of moof box comprises the sample information and the random access dot information of each rail as shown in Figure 3, and each rail is by a trafbox structrual description.Wherein, sample information is in trun box, and the random access dot information is in sdtp box.
Define one type hint rail, need in the definition ISO14496-12 standard, related data structure and relevant value among trak box and the corresponding sub-box (referring to Fig. 2).Structure and value among wherein most of box have defined in the ISO14496-12 standard, generally do not have specific demand, do not need to revise.
In the embodiment of the invention, define a kind of hint rail of new type, specifically, relate generally to following content:
1.hdlr the value of handler type field among the box, this field is to have defined in the ISO14496-12 standard, is used to illustrate the data type of this rail, promptly should be handled the data of this rail by which type of processing module.Among the present invention, the value of this field is to use the types value of the hint rail that defines in the ISO14496-12 standard.
2.stsd box also is to define in the ISO14496-12 standard, is used to describe the details of type of coding.According to the difference of the handler type value among the hdlr box, what its inside comprised is dissimilar Sample Entry structures.In the specific implementation of the present invention, for the http rail has defined new SampleEntry structure, i.e. hsfr box.
3.ISO14496-12 in the standard, defined the Media Information HeaderBox of several types, wherein when the handler type value among the hdlr box be ' during hint ', should use hmhd box.In the ISO14496-12 standard, parameters such as the maximum of protocol Data Unit (PDU) and mean value have been defined in the structure of hmhd box.In the specific implementation of the present invention, definition is for the http rail, and the value of this PDU is corresponding to the size of partitioning.
4. for a kind of new type of coding (being the data of the new http rail correspondence that defines of this paper), also need to define the sample structure of corresponding data.In specific implementation of the present invention, for the sample structure of http rail definition, be exactly HTTPStreamingSample, wherein comprised the constructor (constructor) of series of different.By reading the information of these constructor successively, by its indication operation, just can obtain posttectonicly, meet the partitioning of corresponding HTTP Streaming standard.
Below will describe in detail at the HTTP Streaming hint rail that the embodiment of the invention forms.In the embodiment of the invention, the HTTP Streaming hint rail of definition specifically describes as follows:
1. SampleEntry is expanded, on the SampleEntry type that ISO has defined, increase a type HttpStreamingHintSampleEntry again, wherein can comprise the information such as default duration of movie fragment, for example
class?HttpStreamingHintSampleEntry()extends?SampleEntry(‘hsfr‘){
Uint (32) avg_duration; The average duration of // partitioning
Uint (32) max_duration; The maximum duration of // partitioning
String mime_type; The MIME type of // partitioning
String specification; // HTTP Streaming the standard followed, for example 3GPP or iPhone or other standards
}
2. for HTTP Streaming hint rail, the descriptor among its moov box comprises: the handler_type among the hdlrbox is ' hint '; MaxPDUsize among the hmhd box and avgPDUsize are the size of movie fragment, and default value is an invalid value 0; SampleEntry among the stsd box is hsfr box;
3. for HTTP Streaming hint rail, in general sample among its mdat box has only one (a plurality ofly also to allow, but the textural meeting of possibility is more complicated), be used for describing how to construct the data that meet HTTP Streaming client format needs from current movie fragment extraction, its form is as follows:
aligned(8)class?HTTPStreamingSample{
Unsigned int (32) data_length; // posttectonic fragment length
Unsigned int (32) data_duration; // posttectonic fragment duration
Unsigned int (16) entrycount; The number of //constructor
Unsigned int (16) reserved; // reserved field
dataentry?constructors[entrycount];
byte?extradata[];
}
Wherein constructor comprises polytype, resolves for convenience, and the size that defines each constructor is 16 bytes, and form is as follows:
aligned(8)class?HTTPStreamingConstructor(type){
Unsigned int (8) constructor_type=type; The type of //constructor
}
// type type value is 1 constructor, is mainly used in some data of structure
aligned(8)class?HTTPStreamingImmediateConstructor
extends?HTTPStreamingConstructor(1)
{
Unsigned int (8) count; // need the data length of structure, be no more than 14 bytes;
Unsigned int (8) data[count]; The data of // needs structure
Unsigned int (8) pad[14-count]; // unnecessary padding data
}
// type type value is 2 constructor, is mainly used in to quote existing data among some movie fragment, for example sample data in the media tracks etc.
aligned(8)class?HTTPStreamingSampleConstructor
extends?HTTPStreamingConstructor(2)
{
Unsigned int (8) [3] reserved; // reserved field
Unsigned int (32) length; // the data length that need quote
Unsigned int (32) offset; // the position of data in movie fragment that need quote
}
4. for HTTP Streaming hint rail, the trun box among its moof box describes sample information, and the value of its sample_duration field is the segmentation duration of this fragment correspondence.
Below will describe and adopt the amended ISO file format described in the present invention, the handling process that media data is stored/changed.Wherein the data duration of movie fragment correspondence can be according to the application need setting.This function generally is to be finished by the content production subsystem in the stream media system, i.e. 401 assemblies among Fig. 4.This handling process may further comprise the steps:
Step 101. is obtained medium code stream (audio, video data);
Wherein, the medium code stream that obtains can be the code stream of direct broadcast band, also can be the code stream that reads from the media file of extended formatting;
Step 102. generates the ISO file according to the ISO standard, and wherein each movie fragment comprises the data of corresponding duration, comprises media tracks and corresponding RTP hint rail;
Wherein, for ease of the processing of follow-up HTTP Streaming fluidisation, preferably the data of media tracks and RTP hint rail are distinguished centralized stores here;
Step 103. is added HTTP Streaming hint rail, and its form can be according to the form of describing in the previous embodiment of the present invention;
Step 104. generates the playlist description document, the URL that wherein comprises each partitioning, can use the mode of filename+fragmentID (being the sequence_number among the mfhd box) to indicate, for example: http: //<ip:port 〉/path/filename/fragmentID=1.
With what offer client is that the movie fragment that only comprises the media tracks data is an example, and the sample of HTTP Streaming hint rail need comprise following constructor so:
1. construct new moofbox:
A) because different in the moof length of new movie fragment and the file, so HTTPStreamingImmediateConstructor of needs is used to construct new moof box head.The length of new moofbox should be moofbox head (8B)+mfhd box length+media tracks number * trafbox length;
B) mfhd box can directly use in the file, so need a HTTPStreamingSampleConstructor, is used to quote former mfhd box;
C) the traf box of media tracks correspondence, basically can use HTTPStreamingSampleConstructor directly to quote, wherein, the sample data of media tracks, can directly quote as audio, video data, and the data in the other box structure also can be cited.If but the value of the base_data_offset field of tfhd box is effective, then may need to revise by HTTPStreamingImmediateConstructor;
2. construct new mdat box:
A) because different in the length of new mdat box and the file, so HTTPStreamingImmediateConstructor of needs is used to construct new mdat box head;
B) quote the sample part of media tracks correspondence among the former mdat box by HTTPStreamingSampleConstructor.
In addition, the embodiment of the invention also provides a kind of realization system of streaming media service, comprises the content production subsystem, and described content production subsystem further comprises:
Medium code stream deriving means is used to obtain the medium code stream;
File storage device is used for the media code flow point section that described medium code stream deriving means obtains is stored as the ISO file;
The cuetrack adding set is used for described ISO file is increased HTTP streaming hint rail, comprises the relevant parameter that extracts the professional needed partitioning of HTTP streaming in the wherein said HTTP streaming hint rail.
Further, described cuetrack adding set is further used for, and in the sample data of described HTTP streaming hint rail, comprises and extract the indication information that constructs the data that meet HTTP streaming transformat from partitioning.
Further, described system also comprises HTTP streaming server and client side,
The described indication information that comprises by the sample data that read described HTTP streaming hint rail, extract corresponding media tracks data, and the media tracks data set that extracts dressed up the partitioning that meets the HTTPstreaming transformat, return to client.
Further, described content production subsystem also comprises the description document generating apparatus, wherein:
Described description document generating apparatus is used for, and generates the playlist description document that is complementary with described ISO file, and described playlist description document comprises the URL of each partitioning, comprises among the described URL: ISO filename and partitioning sign;
Described HTTP streaming server also is used for, and when receiving the HTTP URL of described client transmission, returns corresponding playlist description document; When receiving the URL of the partitioning that described client sends, find HTTP Streaming hint rail, after extracting media data and being assembled into corresponding partitioning, return to described client;
Described client is used for, and according to described playlist description document, finds the URL of the partitioning of corresponding time, to described HTTP streaming server requests service, and receives the partitioning that described HTTPstreaming server returns.
, be described adopting the amended ISO file format described in the present invention below with reference to concrete application example of the present invention for dissimilar clients provides the handling process of streaming media service.Referring to Fig. 4, should relate generally to following assembly with the realization of the streaming media service of example: content production subsystem 401, memory device 402, RTSP server 403, http server 404, EPG (ElectronicProgram Guide, electronic program guides)/door 405 and client 406.
As shown in Figure 4, should specifically describe as follows with the flow process of example:
Step 201. is for same programme content, EPG/ gate system 405 needs to give dissimilar clients 406 to return different URL, for example the RTSP client is returned the RTSPURL of respective file, for HTTP Streaming client, return corresponding HTTP URL (generally being corresponding playlist description document);
After step 202. client 406 obtains corresponding URL, promptly initiate request to the server of respective type;
After step 203.RTSP server 403 was received the RTSP request of client 406, according to the indication of RTPhint rail, structure RTP packet sent to client;
After step 204.HTTP Streaming server 404 is received the request of HTTP Streaming client 406, at first return corresponding playlist description document according to URL;
Step 205. client 406 is resolved description document, finds the URL of initialization information (for example can be the moov box part of ISO file), to the server requests service;
To the be correlated with data of initialization information of step 206. server 404 offer client 406;
Step 207. client 406 finds the partitioning URL of corresponding time according to description document, to server 404 request services;
After step 208. server 404 is received the URL of partitioning, according to filename and fragmentID, find corresponding movie fragment, according to the indication of HTTP Streaming hint rail, the structure partitioning returns to client;
After the 406 downloads of media segmentations of step 209. client, resolve and play, continue the follow-up partitioning of request simultaneously.
Further, above-mentioned steps 208 specifically can be divided into following steps:
1. after server is received the request of terminal, navigate to concrete file and movie fragment;
2. server finds the handler type of hdlr box to be " hint ", and is the rail (trak box) of hsfr box among the SampleEntry of stsd box, thereby obtain the rail number (trackID is in tkhd box) of http hint rail from moov box;
3. server by trackID, finds the trafbox of http hint rail from the moof box of movie fragment;
4. server solves the sample data position hereof of http hint rail from the trun box of traf box;
5. server reads the sample data of http hint rail, according to the information of a series of constructor wherein, carries out the extraction and the assembling of media data, obtains the media fragment that http streaming terminal needs, and sends to terminal.
It below only is preferred case study on implementation of the present invention; be not limited to the present invention; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.

Claims (10)

1. the implementation method of a streaming media service is characterized in that, described method comprises:
Obtaining the medium code stream, is the ISO file with its fragmented storage, and increases HTML (Hypertext Markup Language) stream (HTTP Streaming) prompting (hint) rail;
Wherein, comprise the relevant parameter that extracts the professional needed partitioning of HTTP streaming in the described HTTP streaming hint rail.
2. the method for claim 1 is characterized in that,
Described relevant parameter comprises: sample (sample) data of described HTTP streaming hint rail;
The sample data of described HTTP streaming hint rail comprise extracts the indication information that constructs the data that meet HTTP streaming transformat from partitioning.
3. method as claimed in claim 2 is characterized in that,
Described indication information comprises at least: the data and the length of the position of references media rail data and length, needs structure, and padding data.
4. method as claimed in claim 3 is characterized in that,
HTTP streaming server is when reading described ISO file, the described indication information that comprises by the sample data that read described HTTPstreaming hint rail, extract corresponding media tracks data, and the media tracks data set that extracts dressed up the partitioning that meets HTTP streaming transformat, return to client.
5. as claim 1,2,3 or 4 described methods, it is characterized in that, store described ISO file after, described method also comprises:
Generate the playlist description document that is complementary with described ISO file;
Described playlist description document comprises the unified resource identifier (URL) of each partitioning, comprises among the described URL: ISO filename and partitioning sign.
6. method as claimed in claim 5 is characterized in that,
Described HTTP streaming server returns corresponding playlist description document according to the HTTP URL that the client of receiving sends;
Described client finds the URL of the partitioning of corresponding time according to described playlist description document, initiates service request to described HTTP streaming server;
Described HTTP streaming server finds HTTP Streaming hint rail according to the URL of the partitioning in the described service request of receiving, carry out the extraction and assembling of media data after, return to described client.
7. the realization system of a streaming media service is characterized in that, comprises the content production subsystem, and described content production subsystem further comprises:
Medium code stream deriving means is used to obtain the medium code stream;
File storage device is used for the media code flow point section that described medium code stream deriving means obtains is stored as the ISO file;
The cuetrack adding set is used for described ISO file is increased HTTP streaming hint rail, comprises the relevant parameter that extracts the professional needed partitioning of HTTP streaming in the wherein said HTTP streaming hint rail.
8. system as claimed in claim 7 is characterized in that,
Described cuetrack adding set is further used for, and in the sample data of described HTTP streaming hint rail, comprises and extract the indication information that constructs the data that meet HTTP streaming transformat from partitioning.
9. as claim 7 or 8 described systems, it is characterized in that described system also comprises the HTTPstreaming server and client side,
The described indication information that comprises by the sample data that read described HTTP streaming hint rail, extract corresponding media tracks data, and the media tracks data set that extracts dressed up the partitioning that meets the HTTPstreaming transformat, return to client.
10. system as claimed in claim 9 is characterized in that, described content production subsystem also comprises the description document generating apparatus, wherein:
Described description document generating apparatus is used for, and generates the playlist description document that is complementary with described ISO file, and described playlist description document comprises the URL of each partitioning, comprises among the described URL: ISO filename and partitioning sign;
Described HTTP streaming server also is used for, and when receiving the HTTP URL of described client transmission, returns corresponding playlist description document; When receiving the URL of the partitioning that described client sends, find HTTP Streaming hint rail, after extracting media data and being assembled into corresponding partitioning, return to described client;
Described client is used for, and according to described playlist description document, finds the URL of the partitioning of corresponding time, to described HTTP streaming server requests service, and receives the partitioning that described HTTPstreaming server returns.
CN2010105118590A 2010-10-12 2010-10-12 Implementation method and system of streaming media service Pending CN101984619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105118590A CN101984619A (en) 2010-10-12 2010-10-12 Implementation method and system of streaming media service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105118590A CN101984619A (en) 2010-10-12 2010-10-12 Implementation method and system of streaming media service

Publications (1)

Publication Number Publication Date
CN101984619A true CN101984619A (en) 2011-03-09

Family

ID=43641790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105118590A Pending CN101984619A (en) 2010-10-12 2010-10-12 Implementation method and system of streaming media service

Country Status (1)

Country Link
CN (1) CN101984619A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136948A (en) * 2011-03-15 2011-07-27 华为技术有限公司 Method, terminal equipment and system for counting user experiences
CN102238434A (en) * 2011-07-22 2011-11-09 中兴通讯股份有限公司 Method and system for segmenting internet protocol television (IPTV) stream media file virtually
CN102611690A (en) * 2011-12-22 2012-07-25 南京邮电大学 Container format conversion method on basis of hypertext transfer protocol (HTTP) streaming
CN107257268A (en) * 2012-03-16 2017-10-17 英特尔公司 Multicast broadcast multimedia service auxiliary content is distributed
WO2018072683A1 (en) * 2016-10-17 2018-04-26 Mediatek Inc. Deriving and signaling a region or viewport in streaming media

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599455A (en) * 2003-09-17 2005-03-23 Lg电子株式会社 Apparatus and method for providing high speed download service of multimedia contents
US20080133766A1 (en) * 2006-05-05 2008-06-05 Wenjun Luo Method and apparatus for streaming media to a plurality of adaptive client devices
CN101283351A (en) * 2005-07-19 2008-10-08 苹果公司 Method and apparatus for media data transmission
CN101300810A (en) * 2005-09-01 2008-11-05 诺基亚公司 Method for embedding SVG content into an ISO base media file format for progressive downloading and streaming of rich media content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599455A (en) * 2003-09-17 2005-03-23 Lg电子株式会社 Apparatus and method for providing high speed download service of multimedia contents
CN101283351A (en) * 2005-07-19 2008-10-08 苹果公司 Method and apparatus for media data transmission
CN101300810A (en) * 2005-09-01 2008-11-05 诺基亚公司 Method for embedding SVG content into an ISO base media file format for progressive downloading and streaming of rich media content
US20080133766A1 (en) * 2006-05-05 2008-06-05 Wenjun Luo Method and apparatus for streaming media to a plurality of adaptive client devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KWANG-DEOK SEO等: "《File Format Adaptation Based on HTTP Hint Track for HTTP Streaming》", 《ISO/IEC JTC1/SC29/WG11 MPEG2010/M17772》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102136948A (en) * 2011-03-15 2011-07-27 华为技术有限公司 Method, terminal equipment and system for counting user experiences
CN102136948B (en) * 2011-03-15 2014-04-02 华为技术有限公司 Method, terminal equipment and system for counting user experiences
CN102238434A (en) * 2011-07-22 2011-11-09 中兴通讯股份有限公司 Method and system for segmenting internet protocol television (IPTV) stream media file virtually
CN102611690A (en) * 2011-12-22 2012-07-25 南京邮电大学 Container format conversion method on basis of hypertext transfer protocol (HTTP) streaming
CN107257268A (en) * 2012-03-16 2017-10-17 英特尔公司 Multicast broadcast multimedia service auxiliary content is distributed
WO2018072683A1 (en) * 2016-10-17 2018-04-26 Mediatek Inc. Deriving and signaling a region or viewport in streaming media

Similar Documents

Publication Publication Date Title
CN103081433B (en) Inventory file for transmitting through the network crossfire of decoded video data upgrades
JP4619353B2 (en) System for distributing multimedia content
TWI729997B (en) Transporting coded audio data
EP3092772B1 (en) Media encapsulating and decapsulating
US20110246659A1 (en) System, Method and Apparatus for Dynamic Media File Streaming
CN110870282B (en) Processing media data using file tracks of web content
US20120233345A1 (en) Method and apparatus for adaptive streaming
CN104396263A (en) Methods and systems for real-time transmuxing of streaming media content
US11321516B2 (en) Processing dynamic web content of an ISO BMFF web resource track
WO2008061416A1 (en) A method and a system for supporting media data of various coding formats
US10469919B2 (en) Broadcast signal transmission apparatus, broadcast signal reception apparatus, broadcast signal transmission method, and broadcast signal reception method
TW201909007A (en) Processing media data using a common descriptor for one of the file format logic boxes
US7555009B2 (en) Data processing method and apparatus, and data distribution method and information processing apparatus
CN101984619A (en) Implementation method and system of streaming media service
TW201409998A (en) Rendering time control
Zhang et al. A MMT-based content classification scheme for VoD service
KR20110117568A (en) Method and apparatus for transmitting/receiving service discovery information in a multimedia transmission system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110309