CN100428802C - Self adaptive multimedia playing method - Google Patents

Self adaptive multimedia playing method Download PDF

Info

Publication number
CN100428802C
CN100428802C CNB2006101655862A CN200610165586A CN100428802C CN 100428802 C CN100428802 C CN 100428802C CN B2006101655862 A CNB2006101655862 A CN B2006101655862A CN 200610165586 A CN200610165586 A CN 200610165586A CN 100428802 C CN100428802 C CN 100428802C
Authority
CN
China
Prior art keywords
sigma
data buffer
buffer zone
playback rate
time
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.)
Expired - Fee Related
Application number
CNB2006101655862A
Other languages
Chinese (zh)
Other versions
CN1988662A (en
Inventor
崔慧娟
唐昆
李航
郑华
王童
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CNB2006101655862A priority Critical patent/CN100428802C/en
Publication of CN1988662A publication Critical patent/CN1988662A/en
Application granted granted Critical
Publication of CN100428802C publication Critical patent/CN100428802C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a method for adaptive multimedia broadcasting. Its characteristics show as follow: it records the arriving time about the received multimedia data, then it pre-detects the preliminary rate for broadcasting according to described time above, then it adapts the predictive value by using the current buffer occupancy rate, and it sets a limit about the predictive value, then it broadcasts the multimedia according the restricted rate. This method effectively reduces the possibility of buffer overflow and may also real-time tracks the changes in network delay to change the rate of broadcasting.

Description

The method that a kind of adaptive multimedia is play
Technical field
The present invention relates to the multimedia adaptive player method, belong to the multimedia communication technology field.
Background technology
Multimedia communication is meant the novel communication mode that multiple media information----sound, image, figure, data, text etc. can be provided simultaneously in the call process.It is the product that the communication technology and computer technology combine.The single medium communication mode traditional with phone, telegram, fax, compunication etc. compares, utilize multimedia communication, be separated by ten thousand li user can not only acoustic image both pictures and texts are excellent ground exchange of information, be distributed in the multimedia messages of different location, can also act in agreement be presented in face of the user as a complete information, and the user has complete mutual control ability to the communication overall process." best effort " that real network provided do not guarantee the delay variation of end-to-end delay, grouping of single grouping and packet loss, needs one section buffering area to come the shake that smoothly brings thus at the receiving terminal of medium.The delay variation of network is the principal element that influences the streaming media playing quality.But less buffering area may exhaust and take place buffering very soon and overflow in relatively poor network environment; Bigger buffering area can increase broadcast time-delay end to end again and be not suitable for real time business.
Adopt fixing speed to play, the time-delay that can not adapt to network changes, and causes overflowing of buffering area simultaneously.Therefore need be according to the adaptive change playback rate of buffer performance.As shown in Figure 1, this method may further comprise the steps:
(1) preestablishes normal playback rate;
(2) change playback rate according to current buffer performance;
Above-mentioned prior art changes playback rate according to current buffer performance, but do not fully take into account the time-varying characteristics of network, can not adjust dynamically along with the variation of network delay, under the more violent situation of network change, can not well eliminate the influence that delay variation brings the streaming media playing quality.For can better tracking network the variation of time-delay, need further consider the time-delay of network.
Summary of the invention
The objective of the invention is for overcoming the weak point of prior art, the method that a kind of adaptive multimedia that proposes is play, can utilize the statistical property of network delay shake, reduce effectively buffering area overflow possible in the variation of tracking network time-delay in real time change broadcasting speed, improve the subjective vision observation effect.
The invention is characterized in that this method realizes according to the following steps successively in PC:
Step (1) is to writing down and deposit in the data buffer zone time of advent of the multi-medium data received;
Step (2), according to the multimedia time that receives as follows to multimedia playback rate
Figure C20061016558600051
Carry out tentative prediction:
1 E [ J ( i ) ] + k&sigma; [ J ( i ) ] < F ^ < n nE [ J ( i ) ] - k&sigma; [ J ( i ) ] ,
Wherein, J (i)=t (i+1)-t (i) i=1,2 ..., 9, t (i) is the time of reception, J (i) is that the time of reception of two groups of multi-medium datas is poor,
E [ J ( i ) ] = 1 M &Sigma; i = 1 M J ( i ) , E[J (i)] be the average of J (i), M is the number of the J (i) that calculates in the step (2), &sigma; [ J ( i ) ] = 1 M &Sigma; i = 1 M ( J ( i ) - E [ J ( i ) ] ) 2 , σ [J (i)] is the variance of J (i), k=3, n is a positive integer, makes nE[J (i)]-k σ [J (i)]>0;
Step (3), the playback rate that as follows step (2) is obtained with the current occupancy in data buffer zone
Figure C20061016558600055
Revise:
F ^ &prime; = O B - O s 1 - O s &times; ( n nE [ J ( i ) ] - k&sigma; [ J ( i ) ] - 1 E [ J ( i ) ] ) + 1 E [ J ( i ) ] if O B &GreaterEqual; O s , O B - O s O s &times; ( 1 E [ J ( i ) ] - 1 E [ J ( i ) ] + k&sigma; [ J ( i ) ] ) + 1 E [ J ( i ) ] if O B < O s Wherein, O BBe the current occupancy in data buffer zone, by the total B of the data buffer zone number of receiving terminal MaxNumber B with the current data buffer zone that has taken cPass through formula O B = B c B max Obtain O sBe the occupancy of data buffer zone expectation, be based on reduce the data buffer zone overflow may and propose, establish O s=0.5;
Step (4), the playback rate that step (3) is obtained by following formula
Figure C20061016558600058
Limit:
Final playback rate F FinalFor:
Figure C20061016558600059
Wherein, F LaslIt is the last playback rate that uses.
Characteristics of the present invention are to utilize the statistical property of Chebyshev inequality and delay variation, and the playback rate that prediction is suitable utilizes the current occupancy of buffering area to regulate playback rate jointly simultaneously.According to the visual characteristic of human eye playback rate is limited again afterwards.
This method can reduce the possibility that buffering area overflows effectively, and the variation of tracking network time-delay in real time changes broadcasting speed again simultaneously, has reduced the infringement to play quality that causes because of the delay variation that happens suddenly.Because unqualified concrete media business, by different parameter settings, this algorithm is applicable to multiple media application such as voice, videos.
Simulation result: under personal computer platform WindowsXP operating system, realize with the C/C++ programming, translation and compiling environment is Micosoft Visual C++6.0, and relevant parameter is referring to embodiment, and medium are selected video for use, transmitting terminal frame per second F=5 frame/second, network delay meets the even distribution at [50,100] millisecond, and has 5% probability generation to meet [150 than the network delay of length, 300] Hao Miao even distribution, computer artificial result is seen Fig. 3.Can see, method of the present invention guarantee buffering area can keep stable in, guaranteed that also broadcasting speed can be with the buffering dynamic change, the mean change amplitude of speed has reduced, the variation of adjacent speed is also compared even.
Description of drawings
Fig. 1 is the adaptive media player method FB(flow block) of prior art.
The adaptive media player method FB(flow block) that Fig. 2 proposes for the present invention.
Fig. 3 is computer artificial result figure:
(a) buffering effect, wherein solid line is the method for the present invention's proposition, dotted line is the method for prior art,
(b) playback rate effect, wherein * is the method for the present invention's proposition, o is the method for prior art
Embodiment
The method that the adaptive media that the present invention proposes is play reaches embodiment in conjunction with the accompanying drawings in personal computer platform and further specifies as follows:
Method flow of the present invention may further comprise the steps as shown in Figure 2:
(1) time of the multi-medium data that receives is carried out record;
(2) according to the time that receives media play speed is carried out tentative prediction;
(3) with the current occupancy of buffering area the predicted value of playback rate is revised;
(4) (3) being obtained playback rate limits;
(5) medium of playing with the speed after the restriction.
The specific embodiment of each step of said method of the present invention is described in detail as follows respectively:
Said method step (1) is carried out record to system's time of reception of 10 groups of multi-medium datas receiving.Be recorded as t (1)~t (10).Can obtain time of reception difference J (i)=t (i+1)-t (i) i=1 of two multi-medium datas, 2 ..., 9.Deposit data in buffer storage.
The embodiment of said method step (2) is: average and the variance method of calculating J (i) are as follows: E [ J ( i ) ] = 1 M &Sigma; i = 1 M J ( i ) , &sigma; [ J ( i ) ] = 1 M &Sigma; i = 1 M ( J ( i ) - E [ J ( i ) ] ) 2 . Wherein M is the number 9 of the J (i) that calculates in the above-mentioned steps (1).Calculate the initial predicted value of media play speed F ^ = 1 E [ J ( i ) ] With Scope 1 E [ J ( i ) ] + k&sigma; [ J ( i ) ] < F ^ < n nE [ J ( i ) ] - k&sigma; [ J ( i ) ] . Wherein parameter k is desirable 3, makes nE[J (i) by choosing positive integer n]-k σ [J (i)]>0.
The embodiment of said method step (3) is: use formula F ^ &prime; = O B - O s 1 - O s &times; ( n nE [ J ( i ) ] - k&sigma; [ J ( i ) ] - 1 E [ J ( i ) ] ) + 1 E [ J ( i ) ] if O B &GreaterEqual; O s , O B - O s O s &times; ( 1 E [ J ( i ) ] - 1 E [ J ( i ) ] + k&sigma; [ J ( i ) ] ) + 1 E [ J ( i ) ] if O B < O s Predicted value to playback rate Revise.O wherein BExpression buffering area current occupancy is by the total B of the buffering area number of receiving terminal MaxWith the current buffering area number B that has taken cPass through formula O B = B c B max . O sOccupancy for the buffering area expectation in order to reduce the possibility of buffer overflow and underflow simultaneously, generally can be made as 0.5.
The embodiment of said method step (4) is: (3) are obtained playback rate, use formula
Figure C20061016558600074
The playback rate that obtains is limited.F wherein LaslBe last playback rate, F FinalIt is this playback rate that finally obtains.
Said method step (5) the final playback rate F that obtains FinalCarry out media play.

Claims (1)

1, a kind of method of adaptive multimedia broadcast is characterized in that, this method realizes in PC according to the following steps successively:
Step (1) is to writing down and deposit in the data buffer zone time of advent of the multi-medium data received;
Step (2), according to the multimedia time that receives as follows to multimedia playback rate
Figure C2006101655860002C1
Carry out tentative prediction:
1 E [ J ( i ) ] + k&sigma; [ J ( i ) ] < F ^ < n nE [ J ( i ) ] - k&sigma; [ J ( i ) ] ,
Wherein, J (i)=t (i+1)-t (i) i=1,2 ..., 9, t (i) is the time of reception, J (i) is that the time of reception of two groups of multi-medium datas is poor,
E [ J ( i ) ] = 1 M &Sigma; i = 1 M J ( i ) , E[J (i)] be the average of J (i), M is the number of the J (i) that calculates in the step (2),
&sigma; [ J ( i ) ] = 1 M &Sigma; i = 1 M ( J ( i ) - E [ J ( i ) ] ) 2 , σ [J (i)] is the variance of J (i), k=3,
N is a positive integer, makes nE[J (i)]-k σ [J (i)]>0;
Step (3), the playback rate that as follows step (2) is obtained with the current occupancy in data buffer zone
Figure C2006101655860002C5
Revise:
F ^ &prime; = O B - O s 1 - O s &times; ( n nE [ J ( i ) ] - k&sigma; [ J ( i ) ] - 1 E [ J ( i ) ] ) + 1 E [ J ( i ) ] if O B &GreaterEqual; O s O B - O s O s &times; ( 1 E [ J ( i ) ] - 1 E [ J ( i ) ] + k&sigma; [ J ( i ) ] ) + 1 E [ J ( i ) ] if O B < O s ,
Wherein, O BBe the current occupancy in data buffer zone, by the total B of the data buffer zone number of receiving terminal MaxNumber B with the current data buffer zone that has taken cPass through formula O B = B c B max Obtain,
O sBe the occupancy of data buffer zone expectation, be based on reduce the data buffer zone overflow may and propose, establish O s=0.5;
Step (4), the playback rate that step (3) is obtained by following formula
Figure C2006101655860002C8
Limit:
Final playback rate F FinalFor:
Figure C2006101655860003C1
Wherein, F LastIt is the last playback rate that uses.
CNB2006101655862A 2006-12-22 2006-12-22 Self adaptive multimedia playing method Expired - Fee Related CN100428802C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101655862A CN100428802C (en) 2006-12-22 2006-12-22 Self adaptive multimedia playing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101655862A CN100428802C (en) 2006-12-22 2006-12-22 Self adaptive multimedia playing method

Publications (2)

Publication Number Publication Date
CN1988662A CN1988662A (en) 2007-06-27
CN100428802C true CN100428802C (en) 2008-10-22

Family

ID=38185263

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101655862A Expired - Fee Related CN100428802C (en) 2006-12-22 2006-12-22 Self adaptive multimedia playing method

Country Status (1)

Country Link
CN (1) CN100428802C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330352B (en) * 2008-05-06 2012-03-28 华中科技大学 Method for controlling self-adaption code rate for flow media transmission
CN101583025B (en) * 2009-06-11 2011-05-11 中兴通讯股份有限公司 Streaming media playing method and device
CN101753977B (en) * 2009-12-31 2012-10-03 中兴通讯股份有限公司 Method and device for adjusting network digital video play speed
CN107070805A (en) * 2017-03-22 2017-08-18 上海华为技术有限公司 The method and node of a kind of flow control
CN107205160A (en) * 2017-06-27 2017-09-26 青岛海信电器股份有限公司 A kind of player method and device of the video issued for server
CN108184065B (en) * 2018-01-04 2019-11-05 武汉斗鱼网络科技有限公司 Preview frame screen generating method, device and mobile terminal
CN109922010A (en) * 2019-02-12 2019-06-21 成都德芯数字科技股份有限公司 Data cached management method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1340971A (en) * 2000-07-19 2002-03-20 特克特朗尼克公司 Measurement for trembling, frequency shifting and drift rate of motion image engineering group program timer benchmark
CN1529501A (en) * 2003-10-17 2004-09-15 中兴通讯股份有限公司 Video data network ditter elimlating method for H.323 conference television system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1340971A (en) * 2000-07-19 2002-03-20 特克特朗尼克公司 Measurement for trembling, frequency shifting and drift rate of motion image engineering group program timer benchmark
CN1529501A (en) * 2003-10-17 2004-09-15 中兴通讯股份有限公司 Video data network ditter elimlating method for H.323 conference television system

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
Adaptive playout algorithm using packet interarrival time. Y. C. Jung, J. William Atwood.Mobile Future, 2004 and the Symposium on Trends in Communications. SympoTIC '04. Joint IST Workshop on. 2004
Adaptive playout algorithm using packet interarrival time. Y. C. Jung, J. William Atwood.Mobile Future, 2004 and the Symposium on Trends in Communications. SympoTIC '04. Joint IST Workshop on. 2004 *
Adaptive playout for low latency video streaming. Eckehard Steinbach, Niko Farber, Bernd Girod.Image Proceeding, 2001. Proceedings. 2001 International Conference on,Vol.1 . 2001
Adaptive playout for low latency video streaming. Eckehard Steinbach, Niko Farber, Bernd Girod.Image Proceeding, 2001. Proceedings. 2001 International Conference on,Vol.1 . 2001 *
Adaptive Playout for Real-time Media Streaming. Mark Kalman, Eckehard Steinbach, Bernd Girod.Circuits and Systems, 2002. ISCAS 2002. IEEE International Symposium on,Vol.1 . 2002
Adaptive Playout for Real-time Media Streaming. Mark Kalman, Eckehard Steinbach, Bernd Girod.Circuits and Systems, 2002. ISCAS 2002. IEEE International Symposium on,Vol.1 . 2002 *

Also Published As

Publication number Publication date
CN1988662A (en) 2007-06-27

Similar Documents

Publication Publication Date Title
CN100428802C (en) Self adaptive multimedia playing method
US7844002B2 (en) Method and system for multiple pass video coding
CN101656888B (en) Method, device and system for video transmission
CN104113777B (en) A kind of stream decoding method and device
Khan et al. Quality of experience-driven adaptation scheme for video applications over wireless networks
CN1941908B (en) System and method for rate transition based on multimedia program type
CN108965949B (en) Code rate self-adaption method for satisfying user personalized experience in video service
CN102450014B (en) Video optimized method and video optimizer is perceived for quality
CN105393516A (en) Quality optimization with buffer and horizon constraints in adaptive streaming
WO2001058096A1 (en) Method and apparatus for distributing compressed bit stream to user device over network
CN106385620A (en) Data smoothing and outputting method based on streaming media
CN105323604A (en) QoE (Quality of Experience) driven HTTP streaming media on demand buffer area control method
CN107454446A (en) Video frame management method and its device based on Quality of experience analysis
CN101917613A (en) Acquiring and coding service system of streaming media
Xiao et al. DeepVR: Deep reinforcement learning for predictive panoramic video streaming
CN105791735A (en) Method and system for dynamically adjusting video call code streams
Ye et al. Power control for wireless VBR video streaming: From optimization to reinforcement learning
CN100568835C (en) A kind of network state estimation method based on packet loss
CN101483542B (en) Multi-dimension access amount statistic method for network stream media such as audio and video
CN107205150A (en) Coding method and device
CN114040257A (en) Self-adaptive video stream transmission playing method, device, equipment and storage medium
Tan et al. A frame rate optimization framework for improving continuity in video streaming
Lu et al. Deep-reinforcement-learning-based user-preference-aware rate adaptation for video streaming
CN116847120A (en) Transmission coding joint code rate self-adaptive control method based on deep reinforcement learning
CN116259322A (en) Audio data compression method and related products

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081022

Termination date: 20111222