CN102204272A - A processing method after a playing timepoint in streaming media jumps and a device thereof - Google Patents
A processing method after a playing timepoint in streaming media jumps and a device thereof Download PDFInfo
- Publication number
- CN102204272A CN102204272A CN201080003687.4A CN201080003687A CN102204272A CN 102204272 A CN102204272 A CN 102204272A CN 201080003687 A CN201080003687 A CN 201080003687A CN 102204272 A CN102204272 A CN 102204272A
- Authority
- CN
- China
- Prior art keywords
- video
- code check
- condition
- network condition
- broadcast
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2402—Monitoring of the downstream path of the transmission network, e.g. bandwidth available
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a processing method after a playing time point in a streaming media jumps and a device thereof. The method includes acquiring playing state and network condition; determining a start code rate of a video slice after time point jumps according to the playing state and the network condition, wherein the start code rate includes code rate of video slice in playing. The method and the device in the invention can improve the watching experience of users through guaranteeing quick play and good image quality.
Description
Technical field
The present invention relates to the network communications technology, relate in particular to processing method after the play time redirect and device in a kind of Streaming Media.
Background technology
More existing stream media technologys, for example, dynamic flow (dynamic streaming) mechanism of the smooth flow of Microsoft (smooth streaming) mechanism or adobe, be based on HTML (Hypertext Markup Language) (HyperText Transfer Protocol, HTTP), can be according to network condition adaptively modifying transmission code rate, to reach the purpose that makes the terminal smooth playing.In these technology, (Group of Picture GOP) is the border to video content, and a GOP or a plurality of GOP are encapsulated as a fragment, is encapsulated as a segment with a kind of fragment of encoder bit rate with the complete picture group.Packaged audio-video document leaves on the HTTP web server, and client uses HTTP by the corresponding audio frequency and video burst of fragment request, and plays.
Smooth streaming mechanism with Microsoft is example, the some videos of user's program request the startup stage, client is resolved the description document of receiving (manifest), according to the burst URL(uniform resource locator) that provides in the manifest file (Uniform Resource Location, URL) template, the URL of each burst request of generation audio-video frequency content.The lowest bit rate of supposing acquisition video from manifest is 300000bps.In video display process, player decides the file of asking which bit rate according to detected real network bandwidth and client process ability.If current network condition is better, the video burst of client-requested high code rate, otherwise the video burst of the low code check of request.In video display process, arbitrarily drag playing progress bar to any position, client will begin to send the burst request from new time point, in order to reduce the start delay after dragging, the video burst of client-requested lowest bit rate (300000bps).In addition, the decoding buffer memory (buffer) that client is set is a smaller value.
Though can reduce start delay with low code check as starting code check,, video quality is descended after reducing code check, can not keep the video burst drag before and after the continuity of picture quality, reduce user experience.
Summary of the invention
The embodiment of the invention provides processing method after the play time redirect and device in a kind of Streaming Media, in order to improve user experience.
The embodiment of the invention provides the processing method after the play time redirect in a kind of Streaming Media, comprising:
Obtain broadcast state and obtain network condition;
According to described broadcast state and network condition, determine the startup code check of time point redirect rear video burst, described startup code check comprises the code check of the video burst of current broadcast.
The embodiment of the invention provides the processing unit after the redirect of a kind of streaming media playing time point, comprising:
Acquisition module is used to obtain broadcast state and obtains network condition;
Determination module is used for according to described broadcast state and network condition, determines the startup code check of time point redirect rear video burst, and described startup code check comprises the code check of the video burst of current broadcast.
As shown from the above technical solution, the embodiment of the invention is by determining to start code check according to broadcast state and network condition, rather than the code check that request directly is set is lowest bit rate, can guarantee the continuity of video quality before and after the time redirect as far as possible, improves user experience.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done an introduction simply in will describing embodiment below, apparently, accompanying drawing in describing below is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow schematic diagram of first embodiment of the invention;
Fig. 2 is the method flow schematic diagram of second embodiment of the invention;
Fig. 3 is the structural representation of the device of third embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment 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 is obtained under the creative work prerequisite.
Fig. 1 is the method flow schematic diagram of first embodiment of the invention, comprising:
Step 11: obtain broadcast state and network condition;
For example, broadcast state can be played in full screen or non-played in full screen; Perhaps, broadcast state also can be the resolution of current displaying video.
Network condition can be according to the code check of the video burst of current broadcast and the code check of last video burst, and the downloading duration of the playing duration of the video burst of current broadcast and last video burst is determined; Perhaps, the network condition of the video burst correspondence of the setting number back of averaging is determined, wherein, the network condition of each video burst correspondence is determined in the following way: according to the code check of the video burst of current broadcast and the code check of last video burst, and the downloading duration of the playing duration of the video burst of current broadcast and last video burst is determined; Perhaps, determine according to the code check of the video in the setting-up time before the time point redirect, the downloading duration and the described setting-up time of video in the described setting-up time; Perhaps, it is back definite that the network condition of the video correspondence in a plurality of setting-up times before the time point redirect is averaged, wherein, the network condition of the video correspondence in each setting-up time is determined in the following way: determine according to the code check of the video in the setting-up time, the downloading duration and the described setting-up time of video in the described setting-up time.
Step 12: according to described broadcast state and network condition, determine the startup code check of time point redirect rear video burst, described startup code check comprises the code check of the video burst of current broadcast.
Present embodiment is by determining to start code check according to broadcast state and network state, this starts code check can be the code check of the video burst of current broadcast, rather than directly code check is set to lowest bit rate, can be so that the video quality basically identical of seeing before video quality that the user sees after redirect and the redirect improves user experience.
Fig. 2 is the method flow schematic diagram of second embodiment of the invention, and the play time redirect of present embodiment is an example to drag, and referring to Fig. 2, present embodiment comprises:
Step 201: normal play.
Step 202: judge whether to drag, if, execution in step 203, otherwise execution in step 207.
Step 203: judge whether to exceed and downloaded scope, if, execution in step 204, otherwise execution in step 207.
Step 204: the lower threshold of determining buffer memory.
For example, initial value that can this lower threshold is set to buf_thrd=1.Can upgrade this lower threshold when client downloads to new video burst from server end after, the particular content of renewal can be referring to following step.
Step 205: the startup code check of the video burst after determining to drag.
Wherein, can determine to start code check according to broadcast state and network condition, specific as follows:
Situation one, broadcast state are full frame state or non-full frame state
When if the user drags at full frame state, to lay particular stress on the picture quality continuity during startup speed after select switching; Otherwise,, can lay particular stress on toggle speed during startup speed after select switching if the user is when non-full frame state drags.Concrete scheme is as follows:
Definition LastDownLoadRatio=Dur/DL_dur, LastDownLoadRatio represents the relation of broadcasting speed and speed of download,
Dur represents the duration of current broadcast burst,
DL_dur represents the downloading duration of last burst,
Br_dl represents last burst corresponding code rate,
Br_disp represents current broadcast burst corresponding code rate,
Code check after br_start represents to drag,
Br_min represents minimum available code check,
Can adopt the current network condition of following formula (1) expression:
Formula (1)=LastDownLoadRatio*br_dl/br_disp,
Formula (1) can simply be interpreted as: (last burst corresponding code rate multiply by the duration of current broadcast burst) promptly downloads total amount of byte and the ratio of playing total amount of byte divided by (current broadcast burst corresponding code rate multiply by the downloading duration of last burst).
Formula (1) is the method for byte number before and after a simple computation drags, but be subjected to all multifactor influences (as network jitter), the result that formula (1) result calculated may obtain with the real network environment is difference to some extent, so can take statistical method to come the estimation network state.
The size of supposing a sliding window is the N burst, and formula (1) can be deformed into formula (2):
Wherein, the broadcasting speed of LastDownLoadRatio (i) expression i burst and the relation of speed of download, the last burst corresponding code rate of br_dl (i) expression i burst, the current corresponding code rate of br_disp (i) expression i burst.
Further, can handle again, utilize weighted average rejecting abnormalities data formula (2).For example, a filter is set, the abnormal data in the network is carried out filtering, utilize formula (2) to obtain the information of current network conditions afterwards again.
In addition, formula (1) is to be the current network condition of estimated by unit with the burst, also can be the current network condition of estimated by unit with time, promptly with each burst information in the information replacement formula (1) in the time period of setting.
The embodiment of the invention will be that example describes with formula (1).
Play the continuity of quality before and after needing to guarantee to drag with full frame if 1 user is current
1) if LastDownLoadRatio*br_dl/br_disp>=2 illustrate that speed of download is fast than broadcasting speed, current network condition is fine, then br_start=br_disp;
2) if 1<LastDownLoadRatio*br_dl/br_disp<2 illustrate that speed of download and broadcasting speed are suitable, current network condition is better, then br_start=max{[br_disp/2], br_min};
3) if LastDownLoadRatio*br_dl/br_disp<=1 illustrates that speed of download is slow than broadcasting speed, current network condition is bad, then br_start=br_min;
Wherein, in the embodiment of the invention, LastDownLoadRatio*br_dl/br_disp>=2 can be called first condition, 1<LastDownLoadRatio*br_dl/br_disp<2 can be called second condition, and LastDownLoadRatio*br_dl/br_disp<=1 can be called the 3rd condition.
If 2 is current with non-played in full screen, the quality that can weaken continuity
1) if LastDownLoadRatio*br_dl/br_disp>=2, and the broadcast window size is not less than and plays resolution, br_start=br_disp before dragging;
The broadcast window size of correspondence when wherein, broadcast window is meant current non-played in full screen.Play the resolution that resolution is meant the image that server end sends.
2) if LastDownLoadRatio*br_dl/br_disp>=2, and the broadcast window size is less than playing resolution before dragging, br_start=max{ resolution is smaller or equal to the code check of playing the video burst of resolution before dragging };
3) under other situations, br_start=br_min;
Situation two, broadcast state are the resolution of current broadcast (being that the user is current watches) video
When the user dragged video, at the different viewed status of active user, the startup speed after determining to switch laid particular stress on the continuity of picture quality or lays particular stress on toggle speed in the situation one.In addition, also can determine that the startup speed after the switching lays particular stress on the continuity of picture quality or lays particular stress on toggle speed according to the resolution of the current displaying video of user.Concrete scheme is as follows:
Definition LastDownLoadRatio=Dur/DL_dur, LastDownLoadRatio represents the relation of broadcasting speed and speed of download,
Dur represents the duration of current broadcast burst,
DL_dur represents the downloading duration of last burst,
Br_dl represents last burst corresponding code rate,
Br_disp represents current broadcast burst corresponding code rate,
Code check after br_start represents to drag
Br_min represents minimum available code check
If the resolution of 1 current displaying video is bigger, size is 1920*1080, the continuity of quality before and after at this moment needing to guarantee to drag
1) if LastDownLoadRatio*br_dl/br_disp>=2 illustrate that speed of download is fast than broadcasting speed, current network condition is fine, then br_start=br_disp;
2) if 1<LastDownLoadRatio*br_dl/br_disp<2 illustrate that speed of download and broadcasting speed are suitable, current network condition is better, then br_start=max{[br_disp/2], br_min};
3) if LastDownLoadRatio*br_dl/br_disp<=1 illustrates that speed of download is slow than broadcasting speed, current network condition is bad, then br_start=br_min;
If the resolution of 2 current displaying videos is less, size is 720*576, and the quality continuity at this moment can weaken
1) if LastDownLoadRatio*br_dl/br_disp>=2, and the broadcast window size is not less than and plays resolution, br_start=br_disp before dragging;
2) if LastDownLoadRatio*br_dl/br_disp>=2, and the broadcast window size is less than playing resolution before dragging, br_start=max{ resolution is smaller or equal to the code check of playing the video burst of resolution before dragging };
3) under other situations, br_start=br_min;
In addition, also can carry out above-mentioned code check and determine in conjunction with the above-mentioned full frame non-full frame state and the resolution of current displaying video.
Step 206: fill buffer memory fast.
For example, user end to server end request code check is the video burst of above-mentioned definite startup code check, and afterwards, the video fragment cache memory that this server end is sent is in buffer memory, until the threshold value that reaches buffer memory.
Step 207: whether the length of judging the video burst of buffer memory reaches the broadcast threshold value, if, execution in step 208, otherwise execution in step 209.
Step 208: displaying video burst.
Step 209: the foradownloaded video burst also upgrades the lower threshold of buffer memory.
Available technology adopting start and these two kinds of methods of minimum buffer (less than 0.1s) be set with lowest bit rate and realize the purpose play fast, but it has ignored the fluency in the video display process.Because it is smaller that initial buffer is provided with, and can cause video pictures desultory pause to occur, thereby influence user experience.
The embodiment of the invention proposes a kind of method of dynamic calculation buffer lower threshold, and assurance can be play fast, again can smooth playing.Wherein parameter b uff_thrd represents player buffer lower threshold, and buf_len represents to download to the length of player buffer, and all the other parameters are referring to first embodiment.
When the user dragged video, it was 1 that player buffer lower threshold initial value is set, i.e. buff_thrd=1; The initial buffer lower threshold here can determine according to the factors such as performance of the performance of current network condition, player, server, need not be confined to be provided with in the embodiment of the invention 1.
1) if Dur*br_dl/ (DL_dur*br_disp)>=2 o'clock, illustrate that current network state is better, when buf_len>=2*buff_thrd, buff_thrd=2*buff_thrd, wherein, the maximum of lower threshold buff_thrd can be the plateau threshold value, and this plateau threshold value can preestablish.Here be not limited to dynamically adjust according to linear mode (or other algorithms are adjusted the buffer algorithm as intelligence) lower threshold of buffer, what finally present to the user is a level and smooth video tastes.
2) if Dur*br_dl/ (DL_dur*br_disp)<2 o'clock, illustrate that current network state is bad, buff_thrd=buf_len is until reaching the plateau threshold value.
Network condition according to current repeats 1) and 2), the variation of dynamically adapting network, thus the user given experience with continuous smoothness.
Step 210: judge whether to finish playing, if, execution in step 211, otherwise execution in step 202.
Step 211: withdraw from.
Present embodiment can guarantee the continuity of video quality by determining to start code check according to broadcast state and network condition, and by dynamically updating the buffer memory threshold value, the variation of dynamically adapting network, thus the user given experience with continuous smoothness.
Need to prove that above-mentioned executive agent can be client, also can be server end.For example, for client, can be client determines broadcast state and network condition from the information of self side, determine to start code check by client afterwards, and should start the video burst of code check to the server end request.Perhaps, for server end, client reports server end with broadcast state and network condition, perhaps, send the state of video burst by the server end real-time statistics, determine to start code check by server end afterwards, when client-requested video burst, the video burst of the startup code check determined is sent to client.
Fig. 3 is the structural representation of the device of third embodiment of the invention, comprises acquisition module 31 and determination module 32; Acquisition module 31 is used to obtain broadcast state and obtains network condition; Determination module 32 is used for according to described broadcast state and network condition, determines the startup code check of time point redirect rear video burst, and described startup code check comprises the code check of the video burst of current broadcast.
The broadcast state that described acquisition module obtains is full frame state or non-full frame state, and/or described broadcast state is the resolution of current displaying video.
Described acquisition module 31 specifically is used for: according to the code check of the video burst of current broadcast and the code check of last video burst, and the downloading duration of the playing duration of the video burst of current broadcast and last video burst, obtain network condition; Perhaps, after the network condition of the video burst correspondence of setting number averaged, obtain described network condition, wherein, the network condition of each video burst correspondence is determined in the following way: according to the code check of the video burst of current broadcast and the code check of last video burst, and the downloading duration of the playing duration of the video burst of current broadcast and last video burst, determine the network condition of each video burst correspondence; Perhaps, according to the code check of the video in the setting-up time before the time point redirect, the downloading duration and the described setting-up time of video in the described setting-up time, obtain network state; Perhaps, after the network condition of the video correspondence in a plurality of setting-up times before the time point redirect averaged, obtain described network condition, wherein, the network condition of the video correspondence in each setting-up time is determined in the following way: according to the code check of the video in the setting-up time, the downloading duration and the described setting-up time of video in the described setting-up time, determine the network condition of the video correspondence in each setting-up time.
When described broadcast state is full frame state or non-full frame state, described determination module specifically is used for: if described broadcast state is a played in full screen, and described network condition satisfies first condition, the code check of the video burst that then described startup code check is described current broadcast; Perhaps, if described broadcast state is a played in full screen, and described network condition satisfies second condition, the maximum between 1/2nd and the lowest bit rate of the code check of the video burst that then described startup code check is described current broadcast; Perhaps, if described broadcast state is a played in full screen, and satisfied the 3rd condition of described network condition, then described startup code check is a lowest bit rate; Perhaps, if described broadcast state is non-played in full screen, and described network condition satisfies first condition, and the broadcast window size during described non-played in full screen is play resolution, the code check of the video burst that then described startup code check is described current broadcast before more than or equal to the time point redirect; Perhaps, if described broadcast state is non-played in full screen, and described network condition satisfies first condition, and the broadcast window size during described non-played in full screen is play resolution before less than the time point redirect, then described startup code check is the maximum of optional video burst code check, and the resolution of described optional video burst is play resolution before smaller or equal to the time point redirect; Perhaps, if described broadcast state is non-played in full screen, and described network condition do not satisfy first condition, and then described startup code check is a lowest bit rate; Wherein, the network condition that satisfies first condition is better than satisfying the network condition of second condition, and the network condition that satisfies second condition is better than satisfying the network condition of the 3rd condition.
When described broadcast state is the resolution of current displaying video, described determination module specifically is used for: if the resolution of the current displaying video of described broadcast state correspondence is more than or equal to predetermined threshold value, and described network state satisfies first condition, determines the code check of the video burst that described startup code check is described current broadcast; Perhaps, if the resolution of the current displaying video of described broadcast state correspondence is more than or equal to predetermined threshold value, and described network state satisfies second condition, determines the maximum between 1/2nd and the lowest bit rate of code check of the video burst that described startup code check is described current broadcast; Perhaps, if the resolution of the current displaying video of described broadcast state correspondence more than or equal to predetermined threshold value, and described network condition satisfies the 3rd condition, determines that described startup code check is a lowest bit rate; Perhaps, if the resolution of the current displaying video of described broadcast state correspondence is less than predetermined threshold value, and described network condition satisfies first condition, and the broadcast window size of described video resolution during less than predetermined threshold value play resolution before more than or equal to the time point redirect, determines the code check of the video burst that described startup code check is described current broadcast; Perhaps, if the resolution of the current displaying video of described broadcast state correspondence is less than predetermined threshold value, and described network condition satisfies first condition, and the broadcast window size of described video resolution during less than predetermined threshold value play resolution before less than the time point redirect, determine that described startup code check is the maximum of optional video burst code check, the resolution of described optional video burst is play resolution before smaller or equal to the time point redirect; Perhaps, if the resolution of the corresponding current displaying video of described broadcast state less than predetermined threshold value, and described network condition do not satisfy first condition, determines that described startup code check is a lowest bit rate.
Present embodiment can also comprise update module, be used for according to the initial buffer memory lower limit that is provided with, and the length that has downloaded to buffer memory, the buffer memory lower limit is upgraded, buffering lower limit after the renewal is the plateau threshold value to the maximum, so that behind the cache size after exceeding renewal, determine described startup code check.
Wherein, this device can be positioned at client or server end.
Present embodiment is by determining to start code check according to broadcast state and network condition, rather than the code check that request directly is set is lowest bit rate, can guarantee the continuity of video quality before and after the time redirect as far as possible, improves user experience.
Be understandable that the reference mutually of the correlated characteristic in said method and the equipment.In addition, " first " in the foregoing description, " second " etc. are to be used to distinguish each embodiment, and do not represent the quality of each embodiment.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (13)
1. the processing method after the play time redirect in the Streaming Media is characterized in that, comprising:
Obtain broadcast state and obtain network condition;
According to described broadcast state and network condition, determine the startup code check of time point redirect rear video burst, described startup code check comprises the code check of the video burst of current broadcast.
2. method according to claim 1 is characterized in that, described broadcast state is full frame state or non-full frame state, and/or described broadcast state is the resolution of current displaying video.
3. method according to claim 1 is characterized in that, the described network condition of obtaining comprises:
According to the code check of the video burst of current broadcast and the code check of last video burst, and the downloading duration of the playing duration of the video burst of current broadcast and last video burst, network condition obtained;
Perhaps,
After the network condition of the video burst correspondence of setting number averaged, obtain described network condition, wherein, the network condition of each video burst correspondence is determined in the following way: according to the code check of the video burst of current broadcast and the code check of last video burst, and the downloading duration of the playing duration of the video burst of current broadcast and last video burst, determine the network condition of each video burst correspondence;
Perhaps,
According to the code check of the video in the setting-up time before the time point redirect, the downloading duration and the described setting-up time of video in the described setting-up time, obtain network state;
Perhaps,
After the network condition of the video correspondence in a plurality of setting-up times before the time point redirect averaged, obtain described network condition, wherein, the network condition of the video correspondence in each setting-up time is determined in the following way: according to the code check of the video in the setting-up time, the downloading duration and the described setting-up time of video in the described setting-up time, determine the network condition of the video correspondence in each setting-up time.
4. method according to claim 2 is characterized in that, and is described according to described broadcast state and network condition when described broadcast state is full frame state or non-full frame state, determines the startup code check of time point redirect rear video burst, comprising:
If described broadcast state is a played in full screen, and described network condition satisfies first condition, the code check of the video burst that then described startup code check is described current broadcast;
Perhaps,
If described broadcast state is a played in full screen, and described network condition satisfies second condition, the maximum between 1/2nd and the lowest bit rate of the code check of the video burst that then described startup code check is described current broadcast;
Perhaps,
If described broadcast state is a played in full screen, and satisfied the 3rd condition of described network condition, then described startup code check is a lowest bit rate;
Perhaps,
If described broadcast state is non-played in full screen, and described network condition satisfies first condition, and the broadcast window size during described non-played in full screen is play resolution, the code check of the video burst that then described startup code check is described current broadcast before more than or equal to the time point redirect;
Perhaps,
If described broadcast state is non-played in full screen, and described network condition satisfies first condition, and the broadcast window size during described non-played in full screen is play resolution before less than the time point redirect, then described startup code check is the maximum of optional video burst code check, and the resolution of described optional video burst is play resolution before smaller or equal to the time point redirect;
Perhaps,
If described broadcast state is non-played in full screen, and described network condition do not satisfy first condition, and then described startup code check is a lowest bit rate;
Wherein, the network condition that satisfies first condition is better than satisfying the network condition of second condition, and the network condition that satisfies second condition is better than satisfying the network condition of the 3rd condition.
5. method according to claim 2 is characterized in that, and is described according to described broadcast state and network condition when described broadcast state is the resolution of current displaying video, determines the startup code check of time point redirect rear video burst, comprising:
If the resolution of the current displaying video of described broadcast state correspondence is more than or equal to predetermined threshold value, and described network state satisfies first condition, the code check of the video burst that then described startup code check is described current broadcast;
Perhaps,
If the resolution of the current displaying video of described broadcast state correspondence is more than or equal to predetermined threshold value, and described network state satisfies second condition, the maximum between 1/2nd and the lowest bit rate of the code check of the video burst that then described startup code check is described current broadcast;
Perhaps,
If the resolution of the current displaying video of described broadcast state correspondence is more than or equal to predetermined threshold value, and satisfied the 3rd condition of described network condition, then described startup code check is a lowest bit rate;
Perhaps,
If the resolution of the current displaying video of described broadcast state correspondence is less than predetermined threshold value, and described network condition satisfies first condition, and the broadcast window size of described video resolution during less than predetermined threshold value play resolution, the code check of the video burst that then described startup code check is described current broadcast before more than or equal to the time point redirect;
Perhaps,
If the resolution of the current displaying video of described broadcast state correspondence is less than predetermined threshold value, and described network condition satisfies first condition, and the broadcast window size of described video resolution during less than predetermined threshold value play resolution before less than the time point redirect, then described startup code check is the maximum of optional video burst code check, and the resolution of described optional video burst is play resolution before smaller or equal to the time point redirect;
Perhaps,
If the resolution of the corresponding current displaying video of described broadcast state is less than predetermined threshold value, and described network condition do not satisfy first condition, and then described startup code check is a lowest bit rate;
Wherein, the network condition that satisfies first condition is better than satisfying the network condition of second condition, and the network condition that satisfies second condition is better than satisfying the network condition of the 3rd condition; Described video resolution more than or equal to predetermined threshold value is higher than described video resolution less than predetermined threshold value.
6. method according to claim 1 is characterized in that, also comprises:
According to the initial buffer memory lower limit that is provided with, and the length that has downloaded to buffer memory, the buffer memory lower limit to be upgraded, the buffer memory lower limit after the renewal is the plateau threshold value to the maximum, so that after the buffer memory lower limit after exceeding renewal, determines described startup code check.
7. the processing unit after the play time redirect in the Streaming Media is characterized in that, comprising:
Acquisition module is used to obtain broadcast state and obtains network condition;
Determination module is used for according to described broadcast state and network condition, determines the startup code check of time point redirect rear video burst, and described startup code check comprises the code check of the video burst of current broadcast.
8. device according to claim 7 is characterized in that, the broadcast state that described acquisition module obtains is full frame state or non-full frame state, and/or described broadcast state is the resolution of current displaying video.
9. device according to claim 7 is characterized in that, described acquisition module specifically is used for:
According to the code check of the video burst of current broadcast and the code check of last video burst, and the downloading duration of the playing duration of the video burst of current broadcast and last video burst, network condition obtained;
Perhaps,
After the network condition of the video burst correspondence of setting number averaged, obtain described network condition, wherein, the network condition of each video burst correspondence is determined in the following way: according to the code check of the video burst of current broadcast and the code check of last video burst, and the downloading duration of the playing duration of the video burst of current broadcast and last video burst, determine the network condition of each video burst correspondence;
Perhaps,
According to the code check of the video in the setting-up time before the time point redirect, the downloading duration and the described setting-up time of video in the described setting-up time, obtain network state;
Perhaps,
After the network condition of the video correspondence in a plurality of setting-up times before the time point redirect averaged, obtain described network condition, wherein, the network condition of the video correspondence in each setting-up time is determined in the following way: according to the code check of the video in the setting-up time, the downloading duration and the described setting-up time of video in the described setting-up time, determine the network condition of the video correspondence in each setting-up time.
10. device according to claim 8 is characterized in that, when described broadcast state was full frame state or non-full frame state, described determination module specifically was used for:
If described broadcast state is a played in full screen, and described network condition satisfies first condition, determines the code check of the video burst that described startup code check is described current broadcast;
Perhaps,
If described broadcast state is a played in full screen, and described network condition satisfies second condition, determines the maximum between 1/2nd and the lowest bit rate of code check of the video burst that described startup code check is described current broadcast;
Perhaps,
If described broadcast state is a played in full screen, and satisfied the 3rd condition of described network condition, determine that described startup code check is a lowest bit rate;
Perhaps,
If described broadcast state is non-played in full screen, and described network condition satisfies first condition, and the broadcast window size during described non-played in full screen plays resolution before more than or equal to the time point redirect, determines the code check of the video burst that described startup code check is described current broadcast;
Perhaps,
If described broadcast state is non-played in full screen, and described network condition satisfies first condition, and the broadcast window size during described non-played in full screen is play resolution before less than the time point redirect, determine that described startup code check is the maximum of optional video burst code check, the resolution of described optional video burst is play resolution before smaller or equal to the time point redirect;
Perhaps,
If described broadcast state is non-played in full screen, and described network condition do not satisfy first condition, determines that described startup code check is a lowest bit rate;
Wherein, the network condition that satisfies first condition is better than satisfying the network condition of second condition, and the network condition that satisfies second condition is better than satisfying the network condition of the 3rd condition.
11. device according to claim 8 is characterized in that, when described broadcast state was the resolution of current displaying video, described determination module specifically was used for:
If the resolution of the current displaying video of described broadcast state correspondence is more than or equal to predetermined threshold value, and described network state satisfies first condition, determines the code check of the video burst that described startup code check is described current broadcast;
Perhaps,
If the resolution of the current displaying video of described broadcast state correspondence is more than or equal to predetermined threshold value, and described network state satisfies second condition, determines the maximum between 1/2nd and the lowest bit rate of code check of the video burst that described startup code check is described current broadcast;
Perhaps,
If the resolution of the current displaying video of described broadcast state correspondence is more than or equal to predetermined threshold value, and satisfied the 3rd condition of described network condition, determine that described startup code check is a lowest bit rate;
Perhaps,
If the resolution of the current displaying video of described broadcast state correspondence is less than predetermined threshold value, and described network condition satisfies first condition, and the broadcast window size of described video resolution during less than predetermined threshold value play resolution before more than or equal to the time point redirect, determines the code check of the video burst that described startup code check is described current broadcast;
Perhaps,
If the resolution of the current displaying video of described broadcast state correspondence is less than predetermined threshold value, and described network condition satisfies first condition, and the broadcast window size of described video resolution during less than predetermined threshold value play resolution before less than the time point redirect, determine that described startup code check is the maximum of optional video burst code check, the resolution of described optional video burst is play resolution before smaller or equal to the time point redirect;
Perhaps,
If the resolution of the corresponding current displaying video of described broadcast state is less than predetermined threshold value, and described network condition do not satisfy first condition, determines that described startup code check is a lowest bit rate;
Wherein, the network condition that satisfies first condition is better than satisfying the network condition of second condition, and the network condition that satisfies second condition is better than satisfying the network condition of the 3rd condition; Described video resolution more than or equal to predetermined threshold value is higher than described video resolution less than predetermined threshold value.
12. device according to claim 7 is characterized in that, also comprises:
Update module is used for according to the initial buffer memory lower limit that is provided with, and the length that has downloaded to buffer memory, the buffer memory lower limit is upgraded, buffering lower limit after the renewal is the plateau threshold value to the maximum, so that behind the cache size after exceeding renewal, determines described startup code check.
13., it is characterized in that described device is positioned at client or server end according to each described device of claim 7-12.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2010/080659 WO2011150657A1 (en) | 2010-12-31 | 2010-12-31 | Processing method and device after play time-point jump in streaming media |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102204272A true CN102204272A (en) | 2011-09-28 |
CN102204272B CN102204272B (en) | 2012-12-19 |
Family
ID=44662832
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201080003687.4A Active CN102204272B (en) | 2010-12-31 | 2010-12-31 | A processing method after a playing timepoint in streaming media jumps and a device thereof |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102204272B (en) |
WO (1) | WO2011150657A1 (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103745737A (en) * | 2013-12-23 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Method and apparatus for obtaining the total time of media file |
CN103870503A (en) * | 2012-12-14 | 2014-06-18 | 百度在线网络技术(北京)有限公司 | Retrieval method and device in online playing |
CN103945244A (en) * | 2013-01-17 | 2014-07-23 | 华为技术有限公司 | Video service transmission control method and device |
CN104022962A (en) * | 2014-06-27 | 2014-09-03 | 宇龙计算机通信科技(深圳)有限公司 | Flow control method and flow control device |
CN104581424A (en) * | 2013-10-25 | 2015-04-29 | 华为技术有限公司 | Method, related equipment and system for streaming media transmission |
CN104581340A (en) * | 2015-01-16 | 2015-04-29 | 京东方科技集团股份有限公司 | Client-side, streaming media data receiving method and streaming media data transmission system |
CN105263037A (en) * | 2014-07-18 | 2016-01-20 | 中国科学院声学研究所 | Self-adaptive streaming method based on client cache |
CN105357591A (en) * | 2015-11-16 | 2016-02-24 | 北京理工大学 | QoE monitoring and optimization method for adaptive code rate video direct broadcast |
CN105407107A (en) * | 2015-12-24 | 2016-03-16 | 成都信息工程大学 | Transmission method and device for streaming media data |
WO2017031692A1 (en) * | 2015-08-25 | 2017-03-02 | 华为技术有限公司 | Video downloading method, apparatus, and system |
CN108540827A (en) * | 2017-03-01 | 2018-09-14 | 杭州海康威视数字技术股份有限公司 | Data processing method and device |
CN110149299A (en) * | 2018-02-13 | 2019-08-20 | 中兴通讯股份有限公司 | A kind of method for optimizing video, device and system, terminal and the network equipment |
CN110198494A (en) * | 2019-06-28 | 2019-09-03 | 广州市百果园信息技术有限公司 | A kind of video broadcasting method, device, equipment and storage medium |
CN110366006A (en) * | 2019-07-24 | 2019-10-22 | 北京奇艺世纪科技有限公司 | Video broadcasting method, device, terminal device and computer readable storage medium |
CN110662093A (en) * | 2019-10-17 | 2020-01-07 | 北京达佳互联信息技术有限公司 | Initial code rate determination method and device, electronic equipment and storage medium |
WO2020107971A1 (en) * | 2018-11-27 | 2020-06-04 | Oppo广东移动通信有限公司 | Video enhancement control method and apparatus, electronic device, and storage medium |
CN111698536A (en) * | 2019-03-15 | 2020-09-22 | 瑞昱半导体股份有限公司 | Video processing method and system |
CN113596584A (en) * | 2021-08-11 | 2021-11-02 | 北京字节跳动网络技术有限公司 | Video playing method, video playing device, storage medium and computer program product |
CN114501084A (en) * | 2022-02-17 | 2022-05-13 | 北京百度网讯科技有限公司 | Play starting method, device, equipment and medium of player |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105916008A (en) * | 2015-12-15 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Video buffering method and device |
CN109327716B (en) * | 2018-10-31 | 2020-09-11 | 北京达佳互联信息技术有限公司 | Delay control method, delay control apparatus, and computer-readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030120793A1 (en) * | 2001-12-21 | 2003-06-26 | Pekka Marjola | Method and arrangement for sending a video presentation |
CN101534408A (en) * | 2009-04-22 | 2009-09-16 | 北京数码视讯科技股份有限公司 | Method for storing and playing dynamic code rate transport stream and media stream and for detecting exception |
US20090307368A1 (en) * | 2008-06-06 | 2009-12-10 | Siddharth Sriram | Stream complexity mapping |
US20090328124A1 (en) * | 2008-06-27 | 2009-12-31 | Microsoft Corporation | Adaptive video switching for variable network conditions |
US20100235472A1 (en) * | 2009-03-16 | 2010-09-16 | Microsoft Corporation | Smooth, stateless client media streaming |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7725557B2 (en) * | 2002-06-24 | 2010-05-25 | Microsoft Corporation | Client-side caching of streaming media content |
CN101068236B (en) * | 2007-04-13 | 2011-10-26 | 华为技术有限公司 | Streaming media bit rate control method, system and equipment |
CN101765003A (en) * | 2008-12-23 | 2010-06-30 | 上海茂碧信息科技有限公司 | Method for transmitting audio and video under environment of network with different speeds |
CN101848205A (en) * | 2010-03-16 | 2010-09-29 | 深圳市同洲电子股份有限公司 | RTSP based stream media playing method and system thereof on mobile terminal |
-
2010
- 2010-12-31 CN CN201080003687.4A patent/CN102204272B/en active Active
- 2010-12-31 WO PCT/CN2010/080659 patent/WO2011150657A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030120793A1 (en) * | 2001-12-21 | 2003-06-26 | Pekka Marjola | Method and arrangement for sending a video presentation |
US20090307368A1 (en) * | 2008-06-06 | 2009-12-10 | Siddharth Sriram | Stream complexity mapping |
US20090328124A1 (en) * | 2008-06-27 | 2009-12-31 | Microsoft Corporation | Adaptive video switching for variable network conditions |
US20100235472A1 (en) * | 2009-03-16 | 2010-09-16 | Microsoft Corporation | Smooth, stateless client media streaming |
CN101534408A (en) * | 2009-04-22 | 2009-09-16 | 北京数码视讯科技股份有限公司 | Method for storing and playing dynamic code rate transport stream and media stream and for detecting exception |
Cited By (33)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103870503B (en) * | 2012-12-14 | 2017-11-24 | 北京音之邦文化科技有限公司 | Search method and equipment in online broadcasting |
CN103870503A (en) * | 2012-12-14 | 2014-06-18 | 百度在线网络技术(北京)有限公司 | Retrieval method and device in online playing |
CN103945244A (en) * | 2013-01-17 | 2014-07-23 | 华为技术有限公司 | Video service transmission control method and device |
CN104581424A (en) * | 2013-10-25 | 2015-04-29 | 华为技术有限公司 | Method, related equipment and system for streaming media transmission |
CN104581424B (en) * | 2013-10-25 | 2018-11-30 | 华为技术有限公司 | A kind of flow-medium transmission method, relevant device and system |
CN103745737A (en) * | 2013-12-23 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Method and apparatus for obtaining the total time of media file |
CN104022962A (en) * | 2014-06-27 | 2014-09-03 | 宇龙计算机通信科技(深圳)有限公司 | Flow control method and flow control device |
CN104022962B (en) * | 2014-06-27 | 2017-12-12 | 宇龙计算机通信科技(深圳)有限公司 | Flow control methods and volume control device |
CN105263037A (en) * | 2014-07-18 | 2016-01-20 | 中国科学院声学研究所 | Self-adaptive streaming method based on client cache |
CN105263037B (en) * | 2014-07-18 | 2018-07-03 | 中国科学院声学研究所 | A kind of adaptive fluidizing method based on client-cache |
CN104581340A (en) * | 2015-01-16 | 2015-04-29 | 京东方科技集团股份有限公司 | Client-side, streaming media data receiving method and streaming media data transmission system |
WO2016112641A1 (en) * | 2015-01-16 | 2016-07-21 | 京东方科技集团股份有限公司 | Client, streaming media data receiving method and streaming media data transmission system |
CN104581340B (en) * | 2015-01-16 | 2018-02-16 | 京东方科技集团股份有限公司 | Client, stream medium data method of reseptance and stream medium data transmission system |
US10200433B2 (en) | 2015-01-16 | 2019-02-05 | Boe Technology Group Co., Ltd. | Client device, a method for receiving a streaming media data and a streaming media data transmission system |
CN106688239A (en) * | 2015-08-25 | 2017-05-17 | 华为技术有限公司 | Video downloading method, apparatus, and system |
WO2017031692A1 (en) * | 2015-08-25 | 2017-03-02 | 华为技术有限公司 | Video downloading method, apparatus, and system |
CN106688239B (en) * | 2015-08-25 | 2019-08-27 | 华为技术有限公司 | Method for downloading video, apparatus and system |
CN105357591A (en) * | 2015-11-16 | 2016-02-24 | 北京理工大学 | QoE monitoring and optimization method for adaptive code rate video direct broadcast |
CN105357591B (en) * | 2015-11-16 | 2018-10-12 | 北京理工大学 | A kind of QoE monitoring of self-adaption code rate net cast and optimization method |
CN105407107A (en) * | 2015-12-24 | 2016-03-16 | 成都信息工程大学 | Transmission method and device for streaming media data |
CN108540827A (en) * | 2017-03-01 | 2018-09-14 | 杭州海康威视数字技术股份有限公司 | Data processing method and device |
CN110149299A (en) * | 2018-02-13 | 2019-08-20 | 中兴通讯股份有限公司 | A kind of method for optimizing video, device and system, terminal and the network equipment |
WO2020107971A1 (en) * | 2018-11-27 | 2020-06-04 | Oppo广东移动通信有限公司 | Video enhancement control method and apparatus, electronic device, and storage medium |
US11627369B2 (en) | 2018-11-27 | 2023-04-11 | Guangdong Oppo Mobile Telecommunications Corp., Ltd | Video enhancement control method, device, electronic device, and storage medium |
CN111698536A (en) * | 2019-03-15 | 2020-09-22 | 瑞昱半导体股份有限公司 | Video processing method and system |
TWI715057B (en) * | 2019-03-15 | 2021-01-01 | 瑞昱半導體股份有限公司 | Method and system for processing video |
US11457287B2 (en) | 2019-03-15 | 2022-09-27 | Realtek Semiconductor Corporation | Method and system for processing video |
CN110198494A (en) * | 2019-06-28 | 2019-09-03 | 广州市百果园信息技术有限公司 | A kind of video broadcasting method, device, equipment and storage medium |
CN110366006A (en) * | 2019-07-24 | 2019-10-22 | 北京奇艺世纪科技有限公司 | Video broadcasting method, device, terminal device and computer readable storage medium |
CN110662093A (en) * | 2019-10-17 | 2020-01-07 | 北京达佳互联信息技术有限公司 | Initial code rate determination method and device, electronic equipment and storage medium |
CN113596584A (en) * | 2021-08-11 | 2021-11-02 | 北京字节跳动网络技术有限公司 | Video playing method, video playing device, storage medium and computer program product |
CN114501084A (en) * | 2022-02-17 | 2022-05-13 | 北京百度网讯科技有限公司 | Play starting method, device, equipment and medium of player |
CN114501084B (en) * | 2022-02-17 | 2023-08-01 | 北京百度网讯科技有限公司 | Play method, device, equipment and medium of player |
Also Published As
Publication number | Publication date |
---|---|
WO2011150657A1 (en) | 2011-12-08 |
CN102204272B (en) | 2012-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102204272B (en) | A processing method after a playing timepoint in streaming media jumps and a device thereof | |
US10986414B1 (en) | Resource management for video playback and chat | |
US10110650B2 (en) | Client side stream switching | |
US9167007B2 (en) | Stream complexity mapping | |
EP2547062B1 (en) | Media streaming with adaptation | |
CN110636346B (en) | Code rate self-adaptive switching method and device, electronic equipment and storage medium | |
EP2300928B1 (en) | Client side stream switching | |
CN104967884B (en) | A kind of bitstreams switching method and apparatus | |
EP2525587A1 (en) | Method for streaming video content, node in a network for monitoring video content streaming | |
CA2888218A1 (en) | Playback stall avoidance in adaptive media streaming | |
EP2633690A1 (en) | Delivery quality of experience (qoe) in a computer network | |
JP6021385B2 (en) | Streaming media playback apparatus, streaming media playback method, and program | |
US20150268808A1 (en) | Method, Device and System for Multi-Speed Playing | |
CN105025343A (en) | Caching method and device of TS video | |
Lee et al. | Quality adaptation scheme for improving QoE of MPEG DASH | |
KR102434950B1 (en) | Methods and apparatuses for streaming data | |
CN109218809B (en) | Streaming media playing method and device | |
CN115336283B (en) | Client device and method for streaming media content to client device | |
JP6099715B2 (en) | Streaming media playback apparatus, streaming media playback method, and program | |
CN105007521B (en) | A kind of player method and device of TS videos | |
CN114244843A (en) | Streaming media downloading method, electronic equipment and storage medium | |
WO2021013558A1 (en) | A media client with adaptive buffer size and the related method | |
US20230199267A1 (en) | Method and apparatus for processing adaptive multi-view streaming | |
US10051025B2 (en) | Method and apparatus for estimating packet loss | |
TR2021020846A2 (en) | A METHOD TO PLAY HIGH-QUALITY VIDEOS ON OLD DEVICES |
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 |