CN101583025B - Streaming media playing method and device - Google Patents
Streaming media playing method and device Download PDFInfo
- Publication number
- CN101583025B CN101583025B CN2009101079359A CN200910107935A CN101583025B CN 101583025 B CN101583025 B CN 101583025B CN 2009101079359 A CN2009101079359 A CN 2009101079359A CN 200910107935 A CN200910107935 A CN 200910107935A CN 101583025 B CN101583025 B CN 101583025B
- Authority
- CN
- China
- Prior art keywords
- buffering area
- duration
- current
- multiplying power
- streaming media
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 230000005540 biological transmission Effects 0.000 claims abstract description 38
- 239000000872 buffer Substances 0.000 claims abstract description 17
- 238000001514 detection method Methods 0.000 claims abstract description 16
- 230000003139 buffering effect Effects 0.000 claims description 150
- 238000005070 sampling Methods 0.000 claims description 9
- 238000009432 framing Methods 0.000 claims description 4
- 238000005516 engineering process Methods 0.000 description 12
- 230000000694 effects Effects 0.000 description 2
- 239000012556 adjustment buffer Substances 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005429 filling process Methods 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000012464 large buffer Substances 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
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/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23406—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving management of server-side video buffer
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
- H04N21/43072—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of multiple content streams on the same device
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/432—Content retrieval operation from a local storage medium, e.g. hard-disk
- H04N21/4325—Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4392—Processing of audio elementary streams involving audio buffer management
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4398—Processing of audio elementary streams involving reformatting operations of audio signals
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44004—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
-
- 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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440281—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
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)
- Television Signal Processing For Recording (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a streaming media playing method and a device. The playing method comprises the following steps of using a client end for dynamically detecting streaming media transmission quality and leading the client end to adjust the current streaming media playing speed and the time length of a buffer region by preset principles according to the current streaming media transmission quality. The playing device comprises a streaming media transmission quality detection module and a streaming media playing media, wherein the streaming media transmission quality detection module is used for dynamically detecting the streaming media transmission quality; the streaming media playing module is used for adjusting the current streaming media playing speed and the time length of the buffer region by the preset principles according to the current streaming media transmission quality. The streaming media playing method and the device can ease the impact of network delay and further bring a better streaming media playing experience for a user.
Description
Technical field
The invention belongs to multimedia technology field, specifically, relate to a kind of flow media playing method and device.
Background technology
Along with network technology and Development of Multimedia Technology, a kind of new medium technique arises at the historic moment, stream media technology that Here it is.Streaming Media is meant the continuous time-base media that uses the stream transmission technology in network, as audio frequency, video or multimedia file.Utilize stream media technology, can provide continual audio/video flow, satisfy the online dynamically audio-visual demand of watching of user to the user.
The network digital video playback is one of important application of stream media technology.Exactly because network technology is progressively perfect, make remote live video playback, multimedia services such as video recording download etc. obtain application more and more widely.Yet, because these business are to the dependence of network condition, the quality of network environment has conspicuous influence to the long-distance video play quality, abominable network environment such as network congestion tends to make media data to wrap in the process of transmission time-delay, out of order to occur, and then causes that network video image pauses, the situation of card.
In order to tackle problems such as occur in the network environment congested, time-delay, common method is to use QOS (Quality of Service, service quality) technology.QOS is a kind of security mechanism of network, is with a kind of technology that solves problems such as network delay and obstruction.Specific to network flow-medium transmission aspect, when solving the playback problem that network congestion causes, can in player, add the QOS module usually, promptly open up the buffering area of fixed size.Network delay, big, the irregular situation of giving out a contract for a project of inter-packet gap can be improved by cushioning.When time-delay, situation such as out of order appear in network packet transmission, but player data in the normal play buffering area still.But this kind fixedly processing method of buffer size can only solve the comparatively fixing network congestion of network delay, when big fluctuation appears in network congestion, then can't avoid the situation of image card to occur.On the other hand,, bigger time-delay do not occur, keep relatively large buffer length, can cause the image time-delay to increase, influence user experience if current network conditions is better.
Summary of the invention
In view of this, the invention provides a kind of flow media playing method and device, can effectively alleviate network delay, reduce as much as possible to play time-delay, promote user experience to a greater degree.
In order to solve the problems of the technologies described above, the present invention has adopted following technical scheme:
A kind of flow media playing method comprises the steps:
Client detection of dynamic stream media transmission quality;
Client is adjusted current streaming media playing speed and buffering area duration according to current stream media transmission quality by default principle.
Above-mentioned flow media playing method, client is determined current stream media transmission quality by detecting current buffering area filling rate.
Above-mentioned flow media playing method, client are adjusted current streaming media playing speed by default principle and are carried out as follows:
The buffering area duration is set, and serves as to adjust the execution cycle, adjust execution cycle at each and carry out following adjustment with the buffering area duration of Set For Current:
Current buffering area filling rate slows to multiplying power at a slow speed less than 1/4 with current streaming media playing speed, keeps current buffering area duration constant;
Current buffering area filling rate slows to multiplying power at a slow speed in 1/4 to 1/2 interval with current streaming media playing speed, the buffering area duration is increased be big multiplying power duration;
Current buffering area filling rate is in 1/2 to 3/4 interval, and uncomfortable rectification media play speed keeps the buffering area duration of Set For Current constant;
Current buffering area filling rate speeds up streaming media playing to quick multiplying power greater than 3/4, and the buffering area duration is reduced to little multiplying power duration.
Above-mentioned flow media playing method, described multiplying power at a slow speed are 0.8 times of normal multiplying power, and described quick multiplying power is 1.2 times of positive multiplying constant, and described big multiplying power duration is 5/4 of a current buffering area duration, and described little multiplying power duration is 3/4 of a current buffering area duration; Perhaps, described multiplying power at a slow speed be current playback rate (the buffering area filling rate that 1-is current) doubly.
Above-mentioned flow media playing method, described buffering area filling rate are the mean value that the repeatedly sampling of adjusting in the execution cycle is calculated.
Above-mentioned flow media playing method, when filling buffering area first, the initial duration of buffering area at first is set, add up each framing interval in the buffering area simultaneously at the filling buffering area, if largest frames surpasses the current initial duration of buffering area at interval, then with this largest frames at interval as the initial duration of new buffering area, fill until first and to finish, the buffering area duration when finishing with filling is the original duration of buffering area.
Above-mentioned flow media playing method in filling the buffering area process first, adopts multiplying power playing stream media at a slow speed.
The invention also discloses a kind of streaming medium playing device, comprise stream media transmission quality detection module and streaming media playing module, wherein:
The stream media transmission quality detection module is used for the detection of dynamic stream media transmission quality;
The streaming media playing module is used for according to current stream media transmission quality, adjusts current streaming media playing speed by default principle.
Compared with prior art, beneficial effect of the present invention is: by detecting stream media transmission quality, and the broadcasting speed and the buffering area duration of Streaming Media are adjusted according to stream media transmission quality, like this, if network condition is better, quickening broadcasting speed that can be suitable, reduce the buffering area duration, play time-delay thereby reduce, if network condition is relatively poor, the broadcasting speed that slows down that then can be suitable, increase the buffering area duration, thereby the depletion rate of the buffered data in the reduction buffering area is alleviated the influence of network delay, thereby can bring the user better streaming media playing experience.
Description of drawings
The description that Fig. 1 is exemplary theory structure of the present invention;
The description that Fig. 2 is exemplary streaming media playing of the present invention adjust flow process.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated.
In streaming media playing, the network digital video playback is relatively large for the dependence of network quality, thereby, below, will be example with the network digital video playback, the present invention is carried out exemplary description.It will be appreciated, of course, that the present invention can be useful in the various streaming media playing.
Main inventive concept of the present invention is: use the dynamic QQS buffering area that the network digital video is play, by in player, adding a dynamic QQS module, according to current network conditions video playback speed is adjusted, the size of dynamic adjustments screen buffer, to reach under the condition that reduces the video playback time-delay as far as possible network delay is optimized, thereby when effectively alleviating network delay, can reduce as much as possible to play time-delay, promote user experience to a greater degree.
As shown in Figure 1, the exemplary description of Fig. 1 theory structure of the present invention.Can see, come the video flowing of automatic network to be transferred to client player, in client player, dynamic QQS module mentioned above mainly comprises two parts, promptly cushions output and regulates control section.Wherein:
The buffering output, the frame of the supervision player that continues deposits that (the next link of buffering area is considered as the buffer memory of decoder, and is not shown, the buffer memory of decoder is a part of decoder, can be understood as the inlet of decoder, its buffer memory one frame data are not independent parts) in, whether current have data can deliver to decoder, and keep frame and deposit not for empty, when not having data in frame is deposited, the buffering output should be exported frame data arrival frame from buffering area at once and deposit.
Regulate control section, in real time playback rate is adjusted according to current network condition, to reach the purpose of dynamic adjustment buffer size.To the adjustment of playback rate specifically is to deposit the time interval that each frame data is delivered to decoder and finish by changing frame.
In the present invention, owing to playback rate is adjusted according to network condition, thereby will be referred to different playback rates, therefore, be understandable that the buffered data playing duration that calculates with the local current playback rate of client player may be inconsistent with the buffered data playing duration that calculates with normal play speed (this speed may be different with current playback rate).In this article, the time that title is calculated with the normal play speedometer is absolute time, hereinafter, represent buffer size with the buffering area duration, this buffering area duration calculates based on absolute time, that is, if the buffering area duration is 100 milliseconds, promptly it can cushion the data with 100 milliseconds of normal play speed broadcasts.
As shown in Figure 2, the exemplary description of Fig. 2 broadcast of the present invention adjust flow process.It is by client player detection of dynamic stream media transmission quality that flow process is adjusted in this broadcast, and according to current stream media transmission quality, adjusts current streaming media playing speed by default principle and realize.
Stream media transmission quality, i.e. network quality situation is to determine by the filling rate that detects buffering area, the filling rate of buffering area is the ratio of the available buffer data duration of actual buffered data duration in the buffering area and buffering area.For example, buffering area can cushion 400 milliseconds data, and the duration of current actual buffered data of filling is 200 milliseconds, and the filling rate of then current buffering area is 1/2.
In the filling process first of buffering area, when promptly preparing to play, for the first time buffering area is filled.At first need to be provided with the initial value of buffering area duration, claim that this initial value is the initial duration of buffering area, each framing interval (frame period refers to that previous frame is accomplished to the absolute time difference that present frame is finished) in the statistics buffering area when filling buffering area, if largest frames at interval (each framing before beginning to play maximum at interval) surpasses the initial duration of buffering area, then the initial duration of buffering area is made as this largest frames at interval, continue buffering, finish until the filling first of buffering area.Especially, claim that the initial duration of buffering area of filling when finishing is the original duration of buffering area.
In example of the present invention, the playback rate adjustment is an implementation of repeatedly carrying out.We are implemented as an adjustment execution cycle with adjustment each time.This adjusts the execution cycle based on current buffering area duration, for example, setting current buffering area duration (current buffering area available buffer data duration) is t1, then adjusting the execution cycle is t1, it should be noted that, after buffering area duration is each time adjusted, adjust also dynamic change thereupon of execution cycle.
As mentioned above, the playback rate adjustment is carried out based on the filling rate of buffering area, it is more accurate for the buffering area filling rate is calculated, adopted repeatedly sampling in this example, ask for average mode, promptly adjust in the execution cycle the repeatedly current filling duration of sampling buffer (the actual buffered data duration of current buffering area) at one, the setting sampling period is t (t<t1), to repeatedly (general, sampling number is more than or equal to t1/t time, if t equals frame period just, then sampling number equals t1/t) sampling obtain each fill duration and be averaged, setting and should on average filling duration is t2, and then t2/t1 is a buffering area filling rate of adjusting in the execution cycle.For example, in certain adjusts the execution cycle, t1=400ms, t=10ms (frame period is about about 40ms), the average filling duration t2=100ms of 40 samplings, then the buffering area filling rate of this adjustment execution cycle is t2/t1=1/4.
Behind the buffering area filling rate that calculates an adjustment execution cycle,, playback rate is adjusted according to following default principle as Fig. 2:
Current buffering area filling rate shows that less than 1/4 big time-delay appears in network condition, and current streaming media playing speed is slowed to multiplying power at a slow speed, keeps current buffering area duration constant;
Current buffering area filling rate shows that in 1/4 to 1/2 interval network condition is relatively poor, and current streaming media playing speed is slowed to multiplying power at a slow speed, the buffering area duration is increased be big multiplying power duration;
Current buffering area filling rate shows that in 1/2 to 3/4 interval the size of current buffering area comparatively adapts to current network condition, and uncomfortable rectification media play speed keeps the buffering area duration of Set For Current constant;
Current buffering area filling rate shows that greater than 3/4 network condition is better, and streaming media playing is speeded up to quick multiplying power, and the buffering area duration is reduced to little multiplying power duration.
In this example, described multiplying power at a slow speed is 0.8 times of normal multiplying power, and described quick multiplying power is 1.2 times of positive multiplying constant, and described big multiplying power duration is 5/4 of a current buffering area duration, and described little multiplying power duration is 3/4 of a current buffering area duration.
Generally, video playback speed is when 0.8 times of normal speed is finely tuned between 1.2 times, and human eye comparatively is not easy to discover, so main these two numerical value that adopt of this example carry out the adjustment of playback rate.Certainly, the adjustment coefficient of playback rate also more flexible way calculate, when for example slowing down broadcasting speed, can be with described multiplying power at a slow speed current playback rate (the buffering area filling rate that 1-is current) doubly.Certainly, also can select more satisfactory broadcasting speed to adjust strategy according to practical situations.
For further improving practicality and accuracy, in the process of filling buffering area first, the mode that also can adopt slower broadcasting speed (as 0.8 times of speed) to play is filled buffering area, until reaching the original duration of buffering area.Promptly adopt 0.8 times of speed to get started broadcast, unnecessary 20% buffered data is filled to buffering area, can show picture at once like this, and needn't be in order to fill up the time-delay that represents that buffering area increases the first frame picture.
Streaming medium playing device of the present invention comprises stream media transmission quality detection module and streaming media playing module, and stream media transmission quality detection module and streaming media playing module are arranged in the client player, wherein:
The stream media transmission quality detection module is used for the detection of dynamic stream media transmission quality; It can determine current stream media transmission quality by detecting current buffering area filling rate.
The streaming media playing module is used for according to current stream media transmission quality, adjusts current streaming media playing speed by default principle.Adjusting current streaming media playing speed carries out as follows:
The buffering area duration is set, and serves as to adjust the execution cycle, adjust execution cycle at each and carry out following adjustment with the buffering area duration of Set For Current:
Current buffering area filling rate slows to multiplying power at a slow speed less than 1/4 with current streaming media playing speed, keeps current buffering area duration constant;
Current buffering area filling rate slows to multiplying power at a slow speed in 1/4 to 1/2 interval with current streaming media playing speed, the buffering area duration is increased be big multiplying power duration;
Current buffering area filling rate is in 1/2 to 3/4 interval, and uncomfortable rectification media play speed keeps the buffering area duration of Set For Current constant;
Current buffering area filling rate speeds up streaming media playing to quick multiplying power greater than 3/4, and the buffering area duration is reduced to little multiplying power duration.
The working method of streaming medium playing device is similar to aforesaid flow media playing method, repeats no more.
The present invention can be according to the network quality situation, dynamically adjust the size of video playback buffering area, effectively alleviate network delay, and reduce as far as possible and play time-delay, reach the balance of network delay disturbance and video playback time-delay, experience thereby bring the better streaming media playing of user.
The present invention adopts the mode of the filling rate of statistics buffering area in a period of time when judging the network quality situation, owing to carry out in client, so stability is better, misoperation is also less, and viewing effect is better.
When the network quality situation is better, transmission rate causes buffer overflow greater than decode rate situation easily takes place, the present invention accelerates broadcasting speed when buffering area does not also have overflow, reduce the buffering area set point.This client that is adjusted at is finished, and assists without streaming media server.
The present invention adjusts execution cycle at each and resets according to the filling rate of this time period internal buffer size to buffering area, make it to adapt to current network condition, the dynamic adjustment of QOS runs through the whole video playing process all the time, thereby has good adjustment effect.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, but this example of just lifting for ease of understanding should not think that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can make various possible being equal to and change or replacement, these changes or replacement all should belong to protection scope of the present invention.
Claims (6)
1. a flow media playing method is characterized in that, comprises the steps:
Client detection of dynamic stream media transmission quality;
Client is adjusted current streaming media playing speed and buffering area duration according to current stream media transmission quality by default principle, and described buffering area duration is represented buffer size;
Client is adjusted current streaming media playing speed and buffering area duration by default principle and is carried out as follows:
The buffering area duration is set, and serves as to adjust the execution cycle, adjust execution cycle at each and carry out following adjustment with the buffering area duration of Set For Current:
Current buffering area filling rate slows to multiplying power at a slow speed less than 1/4 with current streaming media playing speed, keeps current buffering area duration constant;
Current buffering area filling rate slows to multiplying power at a slow speed in 1/4 to 1/2 interval with current streaming media playing speed, the buffering area duration is increased be big multiplying power duration;
Current buffering area filling rate is in 1/2 to 3/4 interval, and uncomfortable rectification media play speed keeps the buffering area duration of Set For Current constant;
Current buffering area filling rate speeds up streaming media playing to quick multiplying power greater than 3/4, and the buffering area duration is reduced to little multiplying power duration; Described big multiplying power duration is 5/4 of a current buffering area duration, described little multiplying power duration is 3/4 of a current buffering area duration, described buffering area filling rate, be the ratio of the available buffer data duration of actual buffered data duration in the buffering area and buffering area, client is determined current stream media transmission quality by detecting current buffering area filling rate.
2. flow media playing method as claimed in claim 1 is characterized in that, described multiplying power at a slow speed is 0.8 times of normal multiplying power, and described quick multiplying power is 1.2 times of normal multiplying power; Perhaps, described multiplying power at a slow speed be current playback rate (the buffering area filling rate that 1-is current) doubly.
3. as the arbitrary described flow media playing method of claim 1 to 2, it is characterized in that described buffering area filling rate is the mean value that the repeatedly sampling of adjusting in the execution cycle is calculated.
4. flow media playing method as claimed in claim 3, it is characterized in that, when filling buffering area first, the initial duration of buffering area at first is set, add up each framing interval in the buffering area simultaneously at the filling buffering area, if largest frames surpasses the current initial duration of buffering area at interval, then with this largest frames at interval as the initial duration of new buffering area, finish until filling first, buffering area duration when finishing with filling is the original duration of buffering area, and the initial duration of described buffering area is meant the initial value of buffering area duration.
5. flow media playing method as claimed in claim 3 is characterized in that, in filling the buffering area process first, adopts multiplying power playing stream media at a slow speed.
6. a streaming medium playing device is characterized in that, comprises stream media transmission quality detection module and streaming media playing module, wherein:
The stream media transmission quality detection module is used for the detection of dynamic stream media transmission quality;
The streaming media playing module is used for according to current stream media transmission quality, adjusts current streaming media playing speed and buffering area duration by default principle, and described buffering area duration is represented buffer size;
The streaming media playing module is adjusted current streaming media playing speed by default principle and is carried out as follows:
The buffering area duration is set, and serves as to adjust the execution cycle, adjust execution cycle at each and carry out following adjustment with the buffering area duration of Set For Current:
Current buffering area filling rate slows to multiplying power at a slow speed less than 1/4 with current streaming media playing speed, keeps current buffering area duration constant;
Current buffering area filling rate slows to multiplying power at a slow speed in 1/4 to 1/2 interval with current streaming media playing speed, the buffering area duration is increased be big multiplying power duration;
Current buffering area filling rate is in 1/2 to 3/4 interval, and uncomfortable rectification media play speed keeps the buffering area duration of Set For Current constant;
Current buffering area filling rate is greater than 3/4, streaming media playing is speeded up to quick multiplying power, the buffering area duration is reduced to little multiplying power duration, described big multiplying power duration is 5/4 of a current buffering area duration, described little multiplying power duration is 3/4 of a current buffering area duration, described buffering area filling rate, be the ratio of the available buffer data duration of actual buffered data duration in the buffering area and buffering area, the stream media transmission quality detection module is determined current stream media transmission quality by detecting current buffering area filling rate.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101079359A CN101583025B (en) | 2009-06-11 | 2009-06-11 | Streaming media playing method and device |
PCT/CN2010/072531 WO2010142178A1 (en) | 2009-06-11 | 2010-05-07 | Method and apparatus for playing streaming media |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2009101079359A CN101583025B (en) | 2009-06-11 | 2009-06-11 | Streaming media playing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101583025A CN101583025A (en) | 2009-11-18 |
CN101583025B true CN101583025B (en) | 2011-05-11 |
Family
ID=41364939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2009101079359A Active CN101583025B (en) | 2009-06-11 | 2009-06-11 | Streaming media playing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101583025B (en) |
WO (1) | WO2010142178A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572409A (en) * | 2011-12-19 | 2012-07-11 | 中山爱科数字科技股份有限公司 | Method for preventing video interruption in sector switching process of mobile video monitoring |
US9066124B2 (en) | 2012-02-13 | 2015-06-23 | Acer Incorporated | Video/audio switching in a computing device |
Families Citing this family (40)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101583025B (en) * | 2009-06-11 | 2011-05-11 | 中兴通讯股份有限公司 | Streaming media playing method and device |
CN102082774B (en) * | 2009-12-01 | 2015-02-18 | 新奥特(北京)视频技术有限公司 | Stream media data playing method and system |
CN101753977B (en) * | 2009-12-31 | 2012-10-03 | 中兴通讯股份有限公司 | Method and device for adjusting network digital video play speed |
CN101917412A (en) * | 2010-07-28 | 2010-12-15 | 中兴通讯股份有限公司 | Method and client for improving connection buffer speed of streaming media |
CN102469356A (en) * | 2010-11-05 | 2012-05-23 | 乐金电子(中国)研究开发中心有限公司 | Internet protocol television video play method and Internet protocol television video receiver |
CN102185835A (en) * | 2011-04-14 | 2011-09-14 | 广东威创视讯科技股份有限公司 | Real-time network signal playing method and device |
CN102421034A (en) * | 2011-12-19 | 2012-04-18 | 中山爱科数字科技股份有限公司 | Video playing method formed by video live-broadcasting or video monitoring |
CN103258553B (en) * | 2012-02-17 | 2016-08-03 | 宏碁股份有限公司 | Video playing device, phonotape and videotape processing means, system and method |
CN102752665B (en) * | 2012-06-28 | 2014-12-17 | 深圳市九洲电器有限公司 | Method and device for obtaining stream media data and stream media playing terminal |
CN103051955B (en) * | 2012-12-21 | 2016-08-03 | 华为技术有限公司 | Flow media playing method and device |
CN104079955B (en) * | 2013-03-26 | 2017-12-15 | 华为技术有限公司 | More push up OTT live method, apparatus and system |
CN103763635B (en) * | 2013-05-02 | 2018-07-27 | 乐视网信息技术(北京)股份有限公司 | A kind of control method and system of video buffer |
CN103594103B (en) | 2013-11-15 | 2017-04-05 | 腾讯科技(成都)有限公司 | Audio-frequency processing method and relevant apparatus |
CN105227588A (en) * | 2014-05-28 | 2016-01-06 | ***通信集团公司 | A kind of method for down loading of files in stream media and user terminal |
CN105451075B (en) * | 2014-08-27 | 2018-07-03 | 北京大学 | video quality control method and device |
DE102014225080A1 (en) * | 2014-12-08 | 2016-06-09 | Robert Bosch Gmbh | Process for playing a media stream |
CN105376607A (en) * | 2015-10-29 | 2016-03-02 | 深圳云聚汇数码有限公司 | Live video method and device in network jittering environment |
CN105392023B (en) * | 2015-10-29 | 2019-04-26 | 北京易视云科技有限公司 | A kind of net cast method and device under network jitter environment |
CN105430475A (en) * | 2015-11-04 | 2016-03-23 | 北京奇虎科技有限公司 | Buffering method and device of video data |
CN105704554A (en) * | 2016-01-22 | 2016-06-22 | 广州视睿电子科技有限公司 | Audio play method and device |
CN105898536A (en) * | 2016-04-29 | 2016-08-24 | 乐视控股(北京)有限公司 | Video play method and device |
CN107333164B (en) * | 2016-04-29 | 2020-05-15 | 北京学而思教育科技有限公司 | Image data processing method and device |
TWI721677B (en) | 2017-04-21 | 2021-03-11 | 美商時美媒體公司 | Systems and methods for player input motion compensation by anticipating motion vectors and/or caching repetitive motion vectors |
CN107222776B (en) * | 2017-05-19 | 2019-03-01 | 腾讯科技(深圳)有限公司 | Video playing control method, browser, storage equipment and terminal |
CN108989832B (en) * | 2017-05-31 | 2021-12-10 | 腾讯科技(深圳)有限公司 | Image data processing method and equipment, storage medium and terminal thereof |
CN108282689A (en) * | 2017-12-07 | 2018-07-13 | 上海悠络客电子科技股份有限公司 | A kind of method that minimum delay and energy smooth playing are accomplished in internet monitoring under network jitter |
CN109963184B (en) * | 2017-12-14 | 2022-04-29 | 阿里巴巴集团控股有限公司 | Audio and video network playing method and device and electronic equipment |
CN108551358B (en) * | 2018-03-16 | 2021-01-19 | 恒玄科技(上海)股份有限公司 | Method for adjusting audio data of Bluetooth headset under different models |
CN108965807B (en) * | 2018-07-17 | 2020-12-18 | 深圳市共进电子股份有限公司 | Real-time video playing control method and device, terminal and storage medium |
CN109474486A (en) * | 2018-09-30 | 2019-03-15 | 深圳市网心科技有限公司 | Transmission of flow media data owes fast determination method, system and device |
CN109600676A (en) * | 2018-12-17 | 2019-04-09 | 北京金山云网络技术有限公司 | A kind of data buffering method and device |
CN109918038B (en) * | 2019-01-14 | 2022-08-12 | 珠海慧联科技有限公司 | Audio playing speed synchronization method and system |
CN109862436B (en) * | 2019-04-01 | 2023-05-09 | 广州盛识信息技术有限公司 | Streaming media signal distribution device and streaming media signal quality detection method |
US20220256236A1 (en) * | 2019-07-17 | 2022-08-11 | Dolby International Ab | Latency management for content delivery |
US11349777B2 (en) * | 2019-11-15 | 2022-05-31 | Charter Communications Operating, Llc | Network quality of service controller |
CN111372125B (en) * | 2020-03-18 | 2022-10-04 | 浩云科技股份有限公司 | Video cache processing method and device of decoder and storage medium |
CN111556361B (en) * | 2020-04-29 | 2021-08-03 | 腾讯科技(深圳)有限公司 | Buffer zone setting method, device, equipment and storage medium for Bluetooth audio playing |
CN112822502B (en) * | 2020-12-28 | 2022-06-07 | 阿里巴巴(中国)有限公司 | Live broadcast jitter removal intelligent caching and live broadcast method, equipment and storage medium |
CN114222194A (en) * | 2021-12-17 | 2022-03-22 | 浙江大华技术股份有限公司 | Video code stream adjusting method, device and system |
CN114422799B (en) * | 2022-01-24 | 2024-04-19 | 北京百度网讯科技有限公司 | Decoding method and device for video file, electronic equipment and program product |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047844A (en) * | 2006-03-30 | 2007-10-03 | 华为技术有限公司 | Method and device for controlling flow media play |
CN101277443A (en) * | 2008-04-14 | 2008-10-01 | 中国网络通信集团公司 | Method and terminal for playing flow medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6665751B1 (en) * | 1999-04-17 | 2003-12-16 | International Business Machines Corporation | Streaming media player varying a play speed from an original to a maximum allowable slowdown proportionally in accordance with a buffer state |
CN100428802C (en) * | 2006-12-22 | 2008-10-22 | 清华大学 | Self adaptive multimedia playing method |
CN101583025B (en) * | 2009-06-11 | 2011-05-11 | 中兴通讯股份有限公司 | Streaming media playing method and device |
-
2009
- 2009-06-11 CN CN2009101079359A patent/CN101583025B/en active Active
-
2010
- 2010-05-07 WO PCT/CN2010/072531 patent/WO2010142178A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101047844A (en) * | 2006-03-30 | 2007-10-03 | 华为技术有限公司 | Method and device for controlling flow media play |
CN101277443A (en) * | 2008-04-14 | 2008-10-01 | 中国网络通信集团公司 | Method and terminal for playing flow medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102572409A (en) * | 2011-12-19 | 2012-07-11 | 中山爱科数字科技股份有限公司 | Method for preventing video interruption in sector switching process of mobile video monitoring |
US9066124B2 (en) | 2012-02-13 | 2015-06-23 | Acer Incorporated | Video/audio switching in a computing device |
TWI502977B (en) * | 2012-02-13 | 2015-10-01 | Acer Inc | Audio/video playing device, audio/video processing device, systems, and method thereof |
Also Published As
Publication number | Publication date |
---|---|
WO2010142178A1 (en) | 2010-12-16 |
CN101583025A (en) | 2009-11-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101583025B (en) | Streaming media playing method and device | |
CN103916716B (en) | The code rate smoothing method of realtime video transmission under a kind of wireless network | |
CN101296184B (en) | Method, system and device for data transmission | |
EP1708506B1 (en) | Rapid media channel changing mechanism and access network node comprising same | |
US7652994B2 (en) | Accelerated media coding for robust low-delay video streaming over time-varying and bandwidth limited channels | |
CN101466034A (en) | Method and device for sending and playing stream medium data and stream medium program request system | |
CN102333089A (en) | Adaptive control method of multi-rate media stream based on hypertext transfer protocol (HTTP) streaming | |
CN106658051B (en) | A kind of control method and system of buffered play Streaming Media | |
CN101296158A (en) | Stream media data transmission method and data transmission device thereof | |
WO2002045372A3 (en) | Transmitting and receiving real-time data | |
CN108259964B (en) | Video playing rate adjusting method and system | |
JP2006115477A (en) | Method and system for presentation of media obtained from media stream | |
WO2009106015A1 (en) | Dynamic bit rate allocation method, packet-domain streaming media server | |
CN105376607A (en) | Live video method and device in network jittering environment | |
US8195829B2 (en) | Streaming media player and method | |
CN101212690B (en) | Method for testing lip synchronization for multimedia audio/video stream | |
CN103795755B (en) | Stream media transmitting rate controlling method, system and streaming media server | |
WO2009089135A2 (en) | Method of splicing encoded multimedia data streams | |
CN102185835A (en) | Real-time network signal playing method and device | |
CN109819312A (en) | Player system and its control method based on dynamic buffer | |
CN106713345A (en) | Streaming media transmission method | |
CN101753977B (en) | Method and device for adjusting network digital video play speed | |
CN101902625A (en) | Interactive-type internet protocol television video data processing method and system as well as set top box | |
CN105472404A (en) | Data processing method in video service | |
CN101090369B (en) | Method for controlling data packet sending speed in flow medium system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |