Nothing Special   »   [go: up one dir, main page]

CN102143384B - Method, device and system for generating media file - Google Patents

Method, device and system for generating media file Download PDF

Info

Publication number
CN102143384B
CN102143384B CN201110007856.8A CN201110007856A CN102143384B CN 102143384 B CN102143384 B CN 102143384B CN 201110007856 A CN201110007856 A CN 201110007856A CN 102143384 B CN102143384 B CN 102143384B
Authority
CN
China
Prior art keywords
content
file
speed file
burst
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110007856.8A
Other languages
Chinese (zh)
Other versions
CN102143384A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110007856.8A priority Critical patent/CN102143384B/en
Publication of CN102143384A publication Critical patent/CN102143384A/en
Priority to PCT/CN2011/083916 priority patent/WO2012089014A1/en
Application granted granted Critical
Publication of CN102143384B publication Critical patent/CN102143384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a method, device and system for generating a media file. The method comprises the steps as follows: a video server generates at least one speed-multiplying file corresponding to a code rate aiming at normal play files with at least one code rate and same content; each sharding play time interval of the speed-multiplying file is same as that of a normal rate file corresponding to a code rate; and the play length of each sharding content of the speed-multiplying file in the normal rate file is recorded. The invention also provides the video server, a client and a media play system applied in the method. By realizing the technical scheme, in the medial play scheme based on hypertext transport protocol (HTTP) adaptive streaming, the video server can provide a fast forward/fast backward speed-multiplying file for the client, thus the client can realize a fast forward/fast backward function of the video play when the client receives a fast forward or fast backward command sent by a user.

Description

A kind of media file generation method, Apparatus and system
Technical field
The present invention relates to multimedia technology field, in particular, relate to a kind of media file generation method, Apparatus and system.
Background technology
At present, in the Internet video solution, be the video streaming mode of relatively being in fashion in the recent period based on the adaptive streaming (adaptive stream media) of HTTP (HyperText TransferProtocol, HTML (Hypertext Markup Language)).Server is by providing a plurality of video files of different code checks for same video, can be according to many factors such as the ability of user side, network states in video display process, the video playback of dynamically selecting to be fit to current code check is brought best experience to the user to the user.For example: for same video content, when the cellphone subscriber play, what see may be the video of 350k code check or 200k code check; For the broadband user, when network quality was higher, what see may be the HD video of 2M or higher code check, and when network quality was relatively poor, what the user saw may be the video that is reduced to 1.5M or lower code check.
In the prior art above-mentioned playing function has all been released live and normal play protocol definition and the document definition standard on-demand content of defining.For example: existing Microsoft silverlight-SmoothStreaming utilizes box in the MP4 file format with in each biopsy tissues to one file, MP4 file of every kind of corresponding generation of code check, and corresponding section is alignd in time in the various code check files, and client can dynamically select only section to play according to the network bandwidth that calculates, CPU disposal ability and other factors.
Manifest file among the existing http live stream is the m3u formatted file of expansion, the EXT-X-STREAM-INF label playlist that code check is corresponding with code check by expansion associates, client is by resolving the playlist of each code check of m3u file acquisition, after choosing code check, according to playlist request and the displaying video of correspondence.
Among the existing Adobe http streaming, the manifest file is the f4m file, has described the various code checks and the corresponding file URL that exist in this f4m file; The bootstrap file is mainly used in quick startup, has provided content duration corresponding to each segment (program chapters and sections) and fragment (the further bursts of chapters and sections), belongs to the part of manifest.
In the consensus standard that at present each producer releases, mainly be that the user can only realize by dragging forward or backward playing progress bar the redirect of current video for the protocol definition of the normal play of live and on-demand content and document definition standard definition.
Summary of the invention
Embodiments of the invention provide a kind of media file generation method, Apparatus and system, by set up the speed file with fast forwarding and fast rewinding function at the video server end, can realize F.F. or the rewind down function of video playback.
The embodiment of the invention provides a kind of media file generation method, comprising:
Normal play file at least a code check of same content generates at least a speed file corresponding with described code check; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical;
Record the playing duration of each burst content of described fast forwarding and fast rewinding file in described normal speed file content.
The embodiment of the invention provides a kind of video server, comprising:
File generating module is used for the normal play file at least a code check of same content, generates at least a speed file corresponding with described code check; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical;
Document management module is used for recording each burst content of described speed file in the playing duration of described normal speed file content.
The embodiment of the invention provides a kind of method of obtaining media file, comprises
After the order that receives F.F. or rewind down, the content inventory of obtaining from video server, determine speed file corresponding to described order; Record at least a in the following information in the described content inventory, described information comprises: the corresponding relation between at least a speed file of at least a code check and generation, speed file identification and the playing duration of each burst content of described speed file in the normal speed file content of setting up for described speed file;
By the cumulative playing duration of described each burst content in the normal speed file content, determine the position of current play time place burst;
Send the burst download request to described video server, comprise the position of current play time place burst in the described request.
The embodiment of the invention provides a kind of client, comprises
Command execution module is used for after the order that receives F.F. or rewind down, determines the speed file corresponding with described order the content inventory of obtaining from video server; Record at least a in the following information in the described content inventory, described information comprises: the corresponding relation between at least a speed file of at least a code check and generation, speed file identification and the playing duration of each burst content of described speed file in the normal speed file content of setting up for described speed file;
The content determination module is used for determining the position of current play time place burst by the playing duration of cumulative described each burst content at the normal speed file content;
The content obtaining module is used for sending the burst download request to described video server, comprises the position of current play time place burst in the described request.
The embodiment of the invention provides a kind of media play system, comprising:
Video server is used for the normal play file at least a code check of same content, generates at least a speed file corresponding with described code check; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical; Record the playing duration of each burst content of described fast forwarding and fast rewinding file in described normal speed file content;
Client is used for obtaining content inventory from video server after the order that receives F.F. or rewind down, and determines the speed file corresponding with described order in described content inventory; By the cumulative playing duration of each burst content of described speed file in the normal speed file content, determine the position of current play time place burst; Send the burst download request to described video server, comprise the position of current play time place burst in the described request.
Can be found out by the technical scheme that the embodiment of the invention described above provides, video server is for the normal play file of at least a code check of same content, generate at least a speed file corresponding with described code check, and record the playing duration of each burst content of described speed file in described normal speed file content.Have at video server on the basis of multi code Rate of Chinese character file, realized increasing the goal of the invention of the fast forwarding and fast rewinding file of multiple speed, can satisfy the demand of client.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use was done to introduce simply during the below will describe embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of a kind of media file of embodiment of the invention generation method;
Fig. 2 is a kind of flow chart that obtains the method for media file of the embodiment of the invention;
Fig. 3 is the structural representation of a kind of video server of the embodiment of the invention;
Fig. 4 is the structural representation of a kind of client of the embodiment of the invention;
Fig. 5 is a kind of media play system structural representation of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
The embodiment of the invention is in the consensus standard of releasing based on the existing media play scheme of HTTP adaptive streaming, not for the professional implementation definition and relevant protocol definition that proposes of fast forwarding and fast rewinding, therefore the user can only realize by dragging forward or backward playing progress bar the problem of video content redirect, a kind of media file processing method, Apparatus and system have been proposed, video server generates at least a speed file corresponding with described code check for the normal play file of at least a code check of same content; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical; And record the playing duration of each burst content of described speed file in described normal speed file content.By set up the speed file for different code checks at the video server end, so that embodiment of the invention technical scheme is applied in the existing media play scheme, can realize F.F. or the rewind down function of media file, improved user's experience.
The technical scheme that proposes in order further to understand the embodiment of the invention describes below in conjunction with the drawings and the specific embodiments.
The technical scheme that the embodiment of the invention proposes is to be based upon on the basis of multi code Rate of Chinese character file to realize, can be applied in the application scenarios based on HTTP adaptive streaming video streaming mode of Internet video solution.
As shown in Figure 1, the embodiment of the invention proposes a kind of media file generation method based on the angle of video server, and technical scheme can comprise:
Step 101: video server generates at least a speed file corresponding with described code check for the normal play file of at least a code check of same content; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical;
Step 102: record the playing duration of each burst content of described speed file in described normal speed file content.
Owing to there not being the speed file of corresponding various code checks in the video server, therefore, the user can only rely on playing progress bar to carry out the adjustment of video-frequency playing content, by such scheme as can be known, pass through at the video server end in the embodiment of the invention, set up the fast forwarding and fast rewinding file of the multiple speed corresponding with the multi code Rate of Chinese character file, so that when the F.F. that sends to the user at client or reverse commands, can determine according to described playing duration the position of current play time place burst, thereby can in video server, get access to the burst at current broadcast point place, play to the user.
Need to prove, in actual applications, can generate for the video file correspondence of every kind of code check the speed file of at least a speed, when the F.F. that sends to the user at client or reverse commands, described client offers the user by obtain the speed file corresponding with this order to video server; In addition, also can be in the normal speed file of various code rate, select the wherein file of several normal speeds, corresponding generation speed file, when the F.F. that sends to the user when client or fast rewinding request, in generating the code check file of speed file, select to offer client with the immediate speed file of current code check.For example: for 200k code check and 400k code check, generate respectively 2 speed F.F. files and the 4 speed F.F. files corresponding with 200k code check and 400k code check, when client when receiving 2 speed command fast forward, in the situation that current code check is 350k, because the video server end does not generate the speed file for the 350k code check, the speed file that the 400k code check generates can be offered client.
For such scheme specifically, under same code rate, each burst reproduction time interval of the speed file corresponding with this code check, identical with each burst reproduction time interval of normal speed file corresponding to this code check; For example: the interval of normal speed file and 2 times of each burst reproduction times of speed file is 2 seconds; Under the same code rate, each burst of speed file is in the same time interval, the content that the content of playing is play than the normal speed file is many, for example: when the interval of normal speed file and 2 times of each burst reproduction times of speed file is 2 seconds, 2 times of each burst contents of speed file, the content of in the normal speed file content, wanting corresponding 4 seconds, therefore, in the embodiment of the invention, will be with the duration (4 seconds) of 2 each burst of speed file corresponding actual content in the normal speed file, identify the content of these 2 times of each bursts of speed file, so that client after the F.F. or reverse commands that receive user's transmission, can be determined according to the playing duration of each burst of speed file the position of current broadcast point place burst.
Need to prove, the speed file that relates in the embodiment of the invention refers to F.F. or the rewind down file of corresponding multiple speed.
For such scheme, described method can also comprise:
For described speed file is set up the speed file identification, be used for distinguishing described speed file and normal speed file.
For such scheme, described method can also comprise:
With at least a being recorded in the content inventory in the following information, described information comprises: the corresponding relation between at least a speed file of described at least a code check and generation, and for described speed file is set up speed file identification and the playing duration of each burst content of described speed file in described normal speed file content.
Specifically, the foregoing inventory refers to the manifest file in Microsoft silverlight-Smooth Streaming scheme; Content inventory is the m3u formatted file of expansion in http live stream; Content inventory is the f4m file in the Adobe http streaming that Adobe company proposes.
In the realization for existing media play scheme, mostly to record corresponding relation between every kind of media file and the various code check with content inventory, in embodiments of the present invention, corresponding relation with above-mentioned every kind of code check and multiple speed file, and described playing duration information recording/is in content inventory, so that video server and client can in time be determined the played file corresponding with F.F. or reverse commands.
For such scheme, described method can also comprise:
The described content inventory that receives the client transmission is obtained request;
Obtain request according to described content inventory, described content inventory is sent to described client, so that described client when in judging described content inventory the speed file identification being arranged, provides the fast forwarding and fast rewinding function button at player, otherwise, the fast forwarding and fast rewinding function button on the player is hidden.
For such scheme, described method can also comprise:
After described client arrives F.F. or reverse commands, receive the burst download request that described client sends, the position that comprises current play time place burst in the described request, wherein, described client is determined the position of current play time place burst by the cumulative playing duration of each burst content of described speed file in described normal speed file content; Described current play time place burst is offered described client.
Specifically, owing to recorded the corresponding relation of every kind of code check and multiple speed file in the content inventory, so client need to be determined the speed file corresponding with this order in content inventory after the order that receives described F.F. or rewind down; If when there is not corresponding speed file in current code check, near the corresponding speed file of the code check file of current code check, offer client with.
The described method of above-mentioned Fig. 1 embodiment is applicable in the application scenarios based on the video playback scheme of HTTP ada ptive streaming.
As shown in Figure 2, based on above-mentioned embodiment of the method shown in Figure 1, the client-based angle of the embodiment of the invention proposes a kind of method of obtaining media file, and technical scheme can comprise:
Step 201: after the order that receives F.F. or rewind down, the content inventory of obtaining from video server, determine the speed file corresponding with described order; Record at least a in the following information in the described content inventory, described information comprises: the corresponding relation between at least a speed file of at least a code check and generation, for described speed file is set up speed file identification and the playing duration of each burst content of described speed file in the normal speed file content;
Step 202: by the cumulative playing duration of described each burst content in the normal speed file content, determine the position of current play time place burst;
Step 203: send the burst download request to described video server, comprise the position of described current play time place burst in the described request.
Described method can also comprise:
Obtain described content inventory to described video server, so that when in judging described content inventory, the speed file identification being arranged, provide the fast forwarding and fast rewinding function button at player, otherwise, the fast forwarding and fast rewinding function button on the player is hidden.
The described method of above-mentioned Fig. 2 embodiment is applicable in the application scenarios based on the video playback scheme of HTTP ada ptive streaming.
Need to prove, the method of above-mentioned Fig. 1 embodiment obtains because the embodiment of the invention is based on, therefore comprised with Fig. 1 embodiment of the method in identical or corresponding technical characterictic, simultaneously, the a kind of of embodiment of the invention proposition realizes that the method for playback of media files is to be based upon on the embodiment of the method shown in Figure 1 to realize, so the concrete technical scheme that the embodiment of the invention relates to can be referring to the associated description among above-mentioned Fig. 1 embodiment.
As shown in Figure 3, based on above-mentioned embodiment of the method shown in Figure 1, the embodiment of the invention proposes a kind of video server, comprises the following function module:
File generating module 31 is used for the normal play file at least a code check of same content, generates at least a speed file corresponding with described code check; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical;
Document management module 32 is used for recording each burst content of described speed file in the playing duration of described normal speed file content.
Further, described server can also comprise:
Information recording/module 33, be used for setting up the speed file identification for described speed file, be used for distinguishing described speed file and normal speed file, with at least a being recorded in the content inventory in the following information, described information comprises: the corresponding relation between at least a speed file of described at least a code check and generation, speed file identification and the playing duration of each burst content of described speed file in described normal speed file content of setting up for described speed file.
Further, described server can also comprise:
Request processing module 34, the content inventory that is used for the transmission of reception client is obtained request, and described content inventory sent to described client, so that described client is when having the speed file identification in judging described content inventory, provide the fast forwarding and fast rewinding function button at player, otherwise, the fast forwarding and fast rewinding function button on the player is hidden.
Further, described server can also comprise:
File provides module 35, be used for receiving the burst download request that described client sends, the position that comprises the burst at current play time place in the described request, wherein, described client is determined the position of current broadcast point place burst by the cumulative playing duration of each burst content of described speed file in described normal speed file content;
Described current play time place burst is offered described client.
The described video server of above-mentioned Fig. 3 embodiment is applicable in the application scenarios based on the video playback scheme of HTTP ada ptive streaming.
Need to prove, because the embodiment of the invention is based on the video server that the method for above-mentioned Fig. 1 embodiment obtains, therefore comprised with Fig. 1 embodiment of the method in identical technical characterictic, the concrete technical scheme that the embodiment of the invention relates to can referring to the associated description among above-mentioned Fig. 1 embodiment, not given unnecessary details at this one by one.
As shown in Figure 4, based on above-mentioned embodiment of the method shown in Figure 2, the embodiment of the invention proposes a kind of client, comprises the following function module:
Command execution module 41 is used for after receiving F.F. or reverse commands, the content inventory of obtaining from video server, determines the speed file corresponding with described order; Record at least a in the following information in the described content inventory, described information comprises: the corresponding relation between at least a speed file of at least a code check and generation, speed file identification and the playing duration of each burst content of described speed file in the normal speed file content of setting up for described speed file;
Content determination module 42 is used for determining the position of current play time place burst by the playing duration of cumulative described each burst content at the normal speed file content;
Content obtaining module 43 is used for sending the burst download request to described video server, comprises the position of described current play time place burst in the described request.
Further, described client can also comprise:
Acquisition of information module 44 is used for obtaining described content inventory to described video server;
Function provides module 45, and being used for provides the fast forwarding and fast rewinding function button at player when judging that described content inventory has the speed file identification, otherwise, the fast forwarding and fast rewinding function button on the player is hidden.
The described client of above-mentioned Fig. 4 embodiment is applicable in the application scenarios based on the video playback scheme of HTTP ada ptive streaming.
Need to prove, because the embodiment of the invention is based on the client of looking that the method for above-mentioned Fig. 2 embodiment obtains, comprised with Fig. 2 embodiment of the method in identical technical characterictic, the concrete technical scheme that the embodiment of the invention relates to can referring to the associated description among above-mentioned Fig. 2 embodiment, not given unnecessary details at this one by one.
As shown in Figure 5, based on above-mentioned embodiment of the method shown in Figure 1, the embodiment of the invention provides a kind of media play system, comprise:
Video server 51 as shown in Figure 3 is used for the normal play file at least a code check of same content, generates at least a speed file corresponding with described code check; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical; Record the playing duration of each burst content of described fast forwarding and fast rewinding file in described normal speed file content;
Client 52 as shown in Figure 4 is used for obtaining content inventory from video server after the order that receives F.F. or rewind down, and determines the speed file corresponding with described order in described content inventory; By the cumulative playing duration of each burst content of described speed file in the normal speed file content, determine the position of current play time place burst; Send the burst download request to described video server, comprise the position of current play time place burst in the described request.
Need to prove, because the embodiment of the invention has comprised the technical characterictic identical with video server shown in Figure 3 and client shown in Figure 4, therefore, the concrete technical scheme that the embodiment of the invention relates to can referring to the associated description in above-described embodiment, not given unnecessary details at this one by one.
For the technical scheme that illustrates that the embodiment of the invention proposes, the below is illustrated with the improvement of the video playback scheme of three kinds of adaptive streaming.
The embodiment of the invention one:
Take existing technical scheme based on Microsoft silverlight-Smooth Streaming in the HTTP adaptive streaming video streaming mode as example, the technical scheme of the embodiment of the invention is described.
(1) video server generates at least a speed file corresponding with described code check for the normal play file of at least a code check of same content; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical;
The speed document form is exemplified below:
NBA_50000_F2.ismv:2 speed F.F. (the expression code check is the F.F. file of 2 speeds of 50000k)
NBA_50000_F4.ismv:4 speed F.F. (the expression code check is the F.F. file of 4 speeds of 50000k)
NBA_50000_B1.ismv:1 speed rewind down (the expression code check is the rewind down file of 1 speed of 50000k)
NBA_50000_B2.ismv:2 speed rewind down (the expression code check is the rewind down file of 2 speeds of 50000k)
(2) set up the speed file identification for described speed file, and record the playing duration of each burst content of described speed file in described normal speed file content;
(3) with the corresponding relation between at least a speed file of described at least a code check and generation, and the playing duration of each burst content of described speed file in described normal speed file content, be recorded in the content inventory;
In embodiments of the present invention, content inventory is the manifest file.A common silverlight video file forms and comprises:
* .ismv: be used for representing the Audio and Video file of different code checks, or video is only arranged;
* .isma: the audio file that is used for representing different code checks;
* .ism:Server (server) manifest file: be the XML form, be used for describing the corresponding relation between media file and the code check, only used by server;
* .ismc:Client (client) manifest file: be the XML form, be used for describing the media information that Client can ask, comprise: code check, resolution, codec type etc., Client need at first ask this document when realizing playing function.
In embodiments of the present invention, set up the speed file identification for described speed file, specifically in * .ism, increase the description to the speed file, can represent playback rate with the modetype sign, with modetype the playback rate of described speed file is described, if do not exist this sign to represent that then this media file is the media file of normal speed:
In * .ismc, to identify for every kind of speed increases the Streamlndex label equally, as: represent playback rate with the modetype sign, with modetype the playback rate of described speed file is described, if do not exist this sign then to be the media file of normal speed;
For described each burst of speed file, will be with the playing duration of each burst content in described normal speed file content, come each burst is identified, the lasting duration of each burst content of speed file is the normal play duration of its content correspondence in the normal speed file, but not the actual play duration of this each burst of speed file;
Figure BSA00000419911100132
(4) video server receives the request that client is obtained the manifest file;
(5) the manifest file of the described video server transmission of described client, whether there is the speed file identification to determine whether the speed file by judging in the described manifest file, when having the speed file, provide the fast forwarding and fast rewinding function button at player, otherwise, the fast forwarding and fast rewinding function button on the player is hidden;
(6) after F.F. or reverse commands that described client sends to the user, described client is determined the Streamlndex of the multiple speed file corresponding with current code check in the manifest file, and determines the speed file corresponding with this order;
Client is by cumulative each burst content of described speed file, and the playing duration of corresponding content obtains the position of current play time place burst in described normal speed file;
(7) video server receives the burst download request that described client sends, and comprises the position of current play time place burst in the described request;
Described current play time place burst is offered described client.
Concrete, the request form of client video fast forward can be realized in the following way in the embodiment of the invention one:
Url=″*.ism/QualityLevels({bitrate})/Fragments(video={starttime})/Modetype(forward={times})″
The request form of client video rewind down can be realized in the following way::
Url=″*.ism/QualityLevels({bitrate})/Fragments(video={starttime})/Modetype(backward={times})″
As can be seen from the above-described embodiment, the technical scheme with the embodiment of the invention is applied in the technical scheme of Microsoftsilverlight-Smooth Streaming the F.F. in the time of can realizing video playback or rewind down function.
The embodiment of the invention two:
Take existing Apple live stream scheme as example, the technical scheme of the embodiment of the invention is described.
Need to prove, the content inventory of Apple live stream is the m3u formatted file of expansion, comprises the m3u file of a total m3u file and corresponding each code check playlist;
(1) video server generates at least a speed file corresponding with described code check for the normal play file of at least a code check of same content; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical;
(2) set up the speed file identification for described speed file, and record the playing duration of each burst content of described speed file in described normal speed file content;
(3) with the corresponding relation between at least a speed file of described at least a code check and generation, and the playing duration of each burst content of described speed file in described normal speed file content, be recorded in the content inventory;
Concrete, in the embodiment of the invention two, identify the speed file by expansion EXT-X-STREAM-INF tag, be used for distinguishing normal play speed playlist and speed file playlist, specifically realize in the following way:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=550000
inlet_550000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=850000
inlet_850000.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2950000
inlet_2950000.m3u8
#EXT-X-STREAM-
INF:PROGRAMID=1,BANDWIDTH=550000,FORWARD=2
Inlet_550000_F2.m3u8 (increased FORWARD=2 in this sign, so this document identifying the F.F. file of 2 speeds)
#EXT-X-STREAM-INF:PROGRAM-
ID=1, BANDWIDTH=550000, BACKWARD=2 (increased FORWARD=2 in this sign, so this document identifying the rewind down file of 2 speeds) inlet_550000_B2.m3u8
For the playlist of speed file, each burst will be indicated the playing duration of actual content middle corresponding content in the normal speed file equally; The mode of the described playing duration of sign is identical with method in Fig. 1 embodiment of the method in the embodiment of the invention two;
For example:
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:4,no?desc
inlet_550000_F2.ts?start=0&end=2
#EXTINF:4,no?desc
inlet_550000_F2.ts?start=2&end=4
#EXTINF:4,no?desc
inlet_550000_F2.ts?start=4&end=6
#EXTINF:4.no?desc
inlet_550000_F2.ts?start=8&end=10
#EXTINF:4,no?desc
inlet_550000_F2.ts?start=10&end=12
(5) video server receives the m3u file download request that client sends;
(6) the m3u file of client video server transmission, whether there is the speed file identification to determine whether the speed file by judging in the described m3u file, when having the speed file, provide the fast forwarding and fast rewinding function button at player, otherwise, the fast forwarding and fast rewinding function button on the player is hidden;
When the F.F. that (7) sends to the user when client or reverse commands, client is in the m3u file that gets access to, find the playlist of corresponding speed file according to current code check, and determine the playlist corresponding with this order, go out the position of current point in time place burst by the content duration calculation of cumulative each burst;
(8) video server receives the burst download request that described client sends, and comprises the position of current play time place burst in the described request;
Described current play time place burst is offered described client.
The embodiment of the invention three:
Take Adobe http streaming as example, the technical scheme of the embodiment of the invention is described.
Need to prove, in Adobe http streaming, content inventory is the f4m file, has described the various code checks and the corresponding file url that exist in the described f4m file; The bootstrap file is mainly used in quick startup, and it has provided each segment and content duration corresponding to fragment, is the part of manifest.
(1) video server generates at least a speed file corresponding with described code check for the normal play file of at least a code check of same content; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical;
(2) set up the speed file identification for described speed file, and record the playing duration of each burst content of described speed file in described normal speed file content;
(3) with the corresponding relation between at least a speed file of described at least a code check and generation, and the playing duration of each burst content of described speed file in described normal speed file content, be recorded in the content inventory;
Specifically, by in f4m, distinguish speed file and normal play file by expansion speed file identification (modetype) for Adobe http streaming, to support the fast forwarding and fast rewinding playing function, for example:
Figure BSA00000419911100181
In the embodiment of the invention three, for the independent corresponding bootstrap file of every kind of speed, and identify the playing duration of each burst content of bootstrap file corresponding actual content in the normal speed file; The mode of the described playing duration of sign is identical with method in Fig. 1 embodiment of the method in the embodiment of the invention three;
(4) video server receives client f4m file download request;
(5) the f4m file of client video server transmission, whether there is the speed file identification to determine whether the speed file by judging in the described f4m file, when having the speed file, provide the fast forwarding and fast rewinding function button at player, otherwise, the fast forwarding and fast rewinding function button on the player is hidden;
(6) when client arrives the fast forwarding and fast rewinding order of user's transmission, client is at first determined to order the bootstrap of corresponding speed with this, and go out the position of current point in time place burst by cumulative each burst content duration calculation, and to this burst of video server request;
(7) video server offers client with this burst, so that described client plays to the user with this burst.
In sum, adopt processing method, the Apparatus and system of a kind of media file of the present invention's proposition, the realization of technical solution of the present invention, in the application scenarios based on HTTP adaptive streaming video streaming mode, realized the fast forwarding and fast rewinding function in the media play process, be effective replenishing to the fast forwarding and fast rewinding business, increased simultaneously the ease for use of HTTP adaptive streaming scheme, also improved user's experience simultaneously.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (12)

1. a media file generation method is characterized in that, comprising:
Normal play file at least a code check of same content generates at least a speed file corresponding with described code check; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical;
Record the playing duration of each burst content of described speed file in described normal speed file content;
Described media file generation method also comprises: set up the speed file identification for described speed file, be used for distinguishing described speed file and normal speed file;
Described media file generation method also comprises:
With at least a being recorded in the content inventory in the following information, described information comprises: the corresponding relation between at least a speed file of described at least a code check and generation, speed file identification and the playing duration of each burst content of described speed file in described normal speed file content of setting up for described speed file.
2. method according to claim 1 is characterized in that, described method also comprises:
The content inventory that receives the client transmission is obtained request;
Obtain request according to described content inventory, described content inventory is sent to described client, so that described client when in judging described content inventory the speed file identification being arranged, provides the fast forwarding and fast rewinding function button at player, otherwise, the fast forwarding and fast rewinding function button on the player is hidden.
3. method according to claim 2 is characterized in that, described method also comprises:
Receive the burst download request that described client sends, the position that comprises current play time place burst in the described burst download request, wherein, described client is determined the position of described current play time place burst by the cumulative playing duration of each burst content of described speed file in described normal speed file content;
Described current play time place burst is offered described client.
4. method according to claim 1 is characterized in that, described method is applicable in the application scenarios based on the video playback scheme of HTTP adaptive streaming.
5. a video server is characterized in that, comprising:
File generating module is used for the normal play file at least a code check of same content, generates at least a speed file corresponding with described code check; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical;
Document management module is used for recording each burst content of described speed file in the playing duration of described normal speed file content;
Described server also comprises:
The information recording/module is used for setting up the speed file identification for described speed file, is used for distinguishing described speed file and normal speed file; And with at least a being recorded in the content inventory in the following information, described information comprises: the corresponding relation between at least a speed file of described at least a code check and generation, speed file identification and the playing duration of each burst content of described speed file in described normal speed file content of setting up for described speed file.
6. video server according to claim 5 is characterized in that, described server also comprises:
Request processing module, the content inventory that is used for the transmission of reception client is obtained request, and obtain request according to described content inventory, described content inventory is sent to described client, so that described client is when having the speed file identification in judging described content inventory, provide the fast forwarding and fast rewinding function button at player, otherwise, the fast forwarding and fast rewinding function button on the player is hidden.
7. video server according to claim 6 is characterized in that, described server also comprises:
File provides module, be used for receiving the burst download request that described client sends, the position that comprises current play time place burst in the described burst download request, wherein, described client is determined the position of described current play time place burst by the cumulative playing duration of each burst content of described speed file in described normal speed file content;
Described current play time place burst is offered described client.
8. a method of obtaining media file is characterized in that, comprises
After the order that receives F.F. or rewind down, the content inventory of obtaining from video server, determine the speed file corresponding with described order; Record at least a in the following information in the described content inventory, described information comprises: the corresponding relation between at least a speed file of at least a code check and generation, speed file identification and the playing duration of each burst content of described speed file in the normal speed file content of setting up for described speed file;
By the cumulative playing duration of described each burst content in the normal speed file content, determine the position of current play time place burst;
Send the burst download request to described video server, comprise the position of current play time place burst in the described request.
9. method according to claim 8 is characterized in that, described method also comprises:
Obtain described content inventory to described video server, so that when in judging described content inventory, the speed file identification being arranged, provide the fast forwarding and fast rewinding function button at player, otherwise, the fast forwarding and fast rewinding function button on the player is hidden.
10. a client is characterized in that, comprises
Command execution module is used for after the order that receives F.F. or rewind down, determines the speed file corresponding with described order the content inventory of obtaining from video server; Record at least a in the following information in the described content inventory, described information comprises: the corresponding relation between at least a speed file of at least a code check and generation, speed file identification and the playing duration of each burst content of described speed file in the normal speed file content of setting up for described speed file;
The content determination module is used for determining the position of current play time place burst by the playing duration of cumulative described each burst content at the normal speed file content;
The content obtaining module is used for sending the burst download request to described video server, comprises the position of current play time place burst in the described request.
11. client according to claim 10 is characterized in that, described client also comprises:
The acquisition of information module is used for obtaining described content inventory to described video server;
Function provides module, and being used for provides the fast forwarding and fast rewinding function button at player when judging that described content inventory has the speed file identification, otherwise, the fast forwarding and fast rewinding function button on the player is hidden.
12. a media play system is characterized in that, comprising:
Video server is used for the normal play file at least a code check of same content, generates at least a speed file corresponding with described code check; Each burst reproduction time interval of the normal speed file that each burst reproduction time interval of described speed file and described code check are corresponding is identical; Record the playing duration of each burst content of described speed file in described normal speed file content;
Client is used for obtaining content inventory from video server after the order that receives F.F. or rewind down, and determines the speed file corresponding with described order in described content inventory; By the cumulative playing duration of each burst content of described speed file in the normal speed file content, determine the position of current play time place burst; Send the burst download request to described video server, comprise the position of current play time place burst in the described request.
CN201110007856.8A 2010-12-31 2010-12-31 Method, device and system for generating media file Active CN102143384B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110007856.8A CN102143384B (en) 2010-12-31 2010-12-31 Method, device and system for generating media file
PCT/CN2011/083916 WO2012089014A1 (en) 2010-12-31 2011-12-14 Method, device and system for generating media file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110007856.8A CN102143384B (en) 2010-12-31 2010-12-31 Method, device and system for generating media file

Publications (2)

Publication Number Publication Date
CN102143384A CN102143384A (en) 2011-08-03
CN102143384B true CN102143384B (en) 2013-01-16

Family

ID=44410563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110007856.8A Active CN102143384B (en) 2010-12-31 2010-12-31 Method, device and system for generating media file

Country Status (2)

Country Link
CN (1) CN102143384B (en)
WO (1) WO2012089014A1 (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143384B (en) * 2010-12-31 2013-01-16 华为技术有限公司 Method, device and system for generating media file
CN102843351B (en) * 2012-03-31 2016-01-27 华为技术有限公司 A kind of processing method of streaming media service, streaming media server and system
CN102769787B (en) * 2012-08-02 2018-10-19 中兴通讯股份有限公司 The time-shifting method and channel time-shifting equipment of mobile phone terminal channel
US9549000B2 (en) * 2013-03-15 2017-01-17 Arris Enterprises, Inc. Streaming media from a server delivering individualized content streams to clients
CN103428213A (en) * 2013-08-08 2013-12-04 深圳市同洲电子股份有限公司 Multi-media file generation method and multi-media device
CN103581711B (en) * 2013-10-31 2017-01-11 广州西维尔计算机系统有限公司 Method and device for video data playing in fast forward and fast backward mode
CN103702190A (en) * 2013-12-12 2014-04-02 乐视网信息技术(北京)股份有限公司 Intelligent terminal and method for controlling video client by same
CN105306966B (en) * 2014-07-30 2018-12-14 深圳国微技术有限公司 A kind of live video data processing method, apparatus and system
CN104284204B (en) * 2014-09-25 2019-02-15 中兴通讯股份有限公司 A kind of fast channel switching method, system and terminal, server
CN104581229B (en) 2015-01-16 2018-08-03 京东方科技集团股份有限公司 A kind of transmission of flow media data device, method and system
US10701119B2 (en) * 2015-06-16 2020-06-30 Apple Inc. Adaptive video streaming using dynamic radio access network information
CN106550263A (en) * 2015-09-16 2017-03-29 深圳市腾讯计算机系统有限公司 Media playing method and device
CN107193841B (en) * 2016-03-15 2022-07-26 北京三星通信技术研究有限公司 Method and device for accelerating playing, transmitting and storing of media file
CN106331824B (en) * 2016-08-31 2020-02-14 杭州当虹科技股份有限公司 Method for playing streaming media video file at variable rate
CN106454417B (en) * 2016-11-11 2019-08-09 青岛海信宽带多媒体技术有限公司 Streaming Media speed playback method and device
CN110446080B (en) * 2019-05-10 2022-03-25 咪咕文化科技有限公司 Video playing method and device
CN112135173B (en) * 2020-10-10 2023-03-21 Vidaa美国公司 Method for improving play-starting code rate of streaming media and display equipment
CN112770170A (en) * 2020-12-31 2021-05-07 百视通网络电视技术发展有限责任公司 Video advertisement putting method, medium and equipment in OTT television service

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018323A (en) * 2007-02-08 2007-08-15 华为技术有限公司 A method and stream media server for fast-forward and fast back of the video data
CN101600092A (en) * 2009-06-12 2009-12-09 中兴通讯股份有限公司 The generation of network video and player method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075949A (en) * 2006-05-15 2007-11-21 中兴通讯股份有限公司 Method for changing fluid-medium file broadcasting speed
KR20080020868A (en) * 2006-09-01 2008-03-06 삼성전자주식회사 Apparatus and method for simultaneously recording and replaying streaming content
JP4405523B2 (en) * 2007-03-20 2010-01-27 株式会社東芝 CONTENT DISTRIBUTION SYSTEM, SERVER DEVICE AND RECEPTION DEVICE USED IN THE CONTENT DISTRIBUTION SYSTEM
CN102143384B (en) * 2010-12-31 2013-01-16 华为技术有限公司 Method, device and system for generating media file

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018323A (en) * 2007-02-08 2007-08-15 华为技术有限公司 A method and stream media server for fast-forward and fast back of the video data
CN101600092A (en) * 2009-06-12 2009-12-09 中兴通讯股份有限公司 The generation of network video and player method and system

Also Published As

Publication number Publication date
CN102143384A (en) 2011-08-03
WO2012089014A1 (en) 2012-07-05

Similar Documents

Publication Publication Date Title
CN102143384B (en) Method, device and system for generating media file
JP6081541B2 (en) Data transmission method and apparatus
US9998775B2 (en) Enforcement of trick-play disablement in adaptive bit rate video content delivery
JP5794998B2 (en) Adaptive streaming method and apparatus
US9756364B2 (en) Streaming method and apparatus operating by inserting other content into main content
US9277252B2 (en) Method and apparatus for adaptive streaming based on plurality of elements for determining quality of content
JP7078697B2 (en) Systems and methods for providing audio content during trick play playback
CN109328384A (en) For providing the system and method for variable velocity in trickplay modes
US20120066338A1 (en) Recording variable-quality content stream
CN110073341A (en) The system and method for automatic adaptation cushion for digital video frequency flow transmission
EP3352469A1 (en) Transmission device, reception device, and data processing method
US20090037948A1 (en) Multicast television system
US20240080518A1 (en) Insertion of targeted content in real-time streaming media
WO2017029990A1 (en) Reception device, transmission device, and data processing method
JP2004159057A (en) System and method for distributing play-back information
JP2009060411A (en) Vod system, and content distributing method for vod system
CN107835180A (en) The method and system that a kind of video multiple plays
US20230144200A1 (en) Methods, Devices, and Systems for Publishing Key Pictures
CN110324700A (en) Circuit and relevant control method applied to display equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant