a hybrid model of adaptive video streaming control systems
play

A Hybrid Model of Adaptive Video Streaming Control Systems G. - PowerPoint PPT Presentation

A Hybrid Model of Adaptive Video Streaming Control Systems G. Cofano, Luca De Cicco , S. Mascolo Politecnico di Bari, Italy 55th IEEE Conference on Decision and Control - Las Vegas, USA 12-14 December 2016 Introduction Video will represent


  1. A Hybrid Model of Adaptive Video Streaming Control Systems G. Cofano, Luca De Cicco , S. Mascolo Politecnico di Bari, Italy 55th IEEE Conference on Decision and Control - Las Vegas, USA 12-14 December 2016

  2. Introduction Video will represent ∼ 80% of Internet global traffic by 2018, up from ∼ 60% in 2013 (source Cisco) Users are moving from traditional TV broadcasting to Internet based video services (Source statista.com) L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 1 / 16

  3. The Challenge Provide an experience at least as good as traditional TVs on a heterogeneous set of devices (tablets, smartphones, smart TVs) Playback interruptions due to buffer depletion must be avoided (highly detrimental for QoE) Video bitrate should be as high as possible to increase visual quality Legacy systems (until ∼ 2010) encoded video at fixed bitrate Modern video streaming systems can vary the video bitrate and resolution to adapt to: ◮ Time-varying Internet available bandwidth ◮ Device resolution L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 2 / 16

  4. The mainstream Multi-Bitrate Approach nominal bitrate bitrate l 1 S 1 , 1 S 1 , 2 S 1 , s S 1 , 3 video time ˆ τ nominal bitrate bitrate Encoder Video l i S i , 1 S i , 2 S i , 3 S i , s video time ˆ τ The video is encoded into a number of versions, the video levels , at different (nominal) bitrates l i Each video level is temporally divided into segments of fixed duration ˆ τ S i , s is the actual size produced by the encoder for segment s and level i . Actual bitrate is S i , s / ˆ τ L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 3 / 16

  5. A video streaming control streaming in a nutshell Client ( l , w ) GET ( l i , s ) Controller Downloader HTTP s q r Internet Server d r f r Playout r ( l i , s ) Player buffer L The client fetches video segments at a video bitrate l i decided by the controller from an HTTP server L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 4 / 16

  6. The Controller Client ( i , w ) GET ( l i , s ) Controller Downloader HTTP s q r Internet Server d r f r Playout r ( l i , s ) Player buffer L The controller’s output has two components: The index i ∈ { 1 , . . . , N } of the video level to be downloaded 1 The idle time w to be waited between two consecutive segments 2 download Control actions can be actuated only when a new segment download is triggered (event driven) L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 5 / 16

  7. The Downloader download time idle time of segment s of segm. s w s τ s ON OFF t s + 1 = t s t s + τ s + w s download of segm. download downl. of segm. s is started ends s + 1 is started The downloader serves as the actuator and fetches video segments from the HTTP server It pushed video segments as soon as they are downloaded (at time t s + τ s ) L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 6 / 16

  8. The Player Buffer gets empty Play Pause d r = 1 d r = 0 Buffer gets above q min Two possible states: Pause : video playback is paused (drain rate d r = 0) to allow the buffer to be filled Play : the player drains the buffer at rate d r = 1 and plays the video L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 7 / 16

  9. The playout buffer q [ s ] ˆ τ t It is drained continuously by the player at a rate d r It is impulsively filled by a fixed amount ˆ τ (segm. duration) on completion of a segment download Net increment (decrement) of queue length due to the download of a segment: ˆ t s + τ s q ( t s + τ s ) − q ( t s ) = ˆ τ − d r ( ξ ) d ξ t s L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 8 / 16

  10. Hybrid Dynamical Systems modeling framework A hybrid system can be described by four elements [HDS]: � ˙ x = f ( x , u , r ) ( x , u , r ) ∈ C , H : x + = g ( x , u , r ) ( x , u , r ) ∈ D Flow set : C where the state x “flows” (evolves continuously) Jump set : D where the state x “jumps” (time discrete evolution) Flow map : f modelling time-continuous evolution Jump map : g modelling time-discrete evolution [HDS] R. Goebel, R.G. Sanfelice, A.R. Teel, “Hybrid Dynamical, Systems: modeling, stability, and robustness”, Princeton University Press, 2012 L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 9 / 16

  11. State, input, disturbance Playout buffer length (s) [PB]  q  d r Draining rate [P]     ∆ Segment downloaded bytes [D]   x = State   τ Idle timer (s) [D]     σ Downloader state (1=ON,0=Idle) [D]   Segment index [D] s � i � Video level i ∈ { 1 , . . . , N } Input u = w Idle duration (s) Disturbance r available bandwidth (bytes/s) r C u H y x c x L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 10 / 16

  12. Jump set D D is the union of the sets: D feed = { ( x , u , r ) ∈ X × U × R ≥ 0 : ∆ = S i , s } D dwnl = { ( x , u , r ) ∈ X × U × R ≥ 0 : τ = w ∧ σ = 0 } D empty = { ( x , u , r ) ∈ X × U × R ≥ 0 : q = 0 ∧ d r = 1 } D play = { ( x , u , r ) ∈ X × U × R ≥ 0 : q ≥ q min ∧ d r = 0 } D feed End of download of segment s of level l i ⇒ The segment is fed to the buffer D dwnl End of an idle period ⇒ Triggers the download of the next segment ( s + 1) D empty Queue gets empty ⇒ Playback is stopped ( d r = 0) D play Queue gets filled ⇒ Playback is started ( d r = 1) L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 11 / 16

  13. Continuous and discrete dynamics ( f and g ) ˙ Continuous q = − d r ˙ dynamics ∆ = σ r ( x , u , r ) ∈ C τ = 1 ˙ (other variables’ derivatives are 0) � 1 , ( x , u , r ) ∈ D play d + r = 0 , ( x , u , r ) ∈ D empty q + = q + ˆ Discrete τ ( x , u , r ) ∈ D feed ∆ + = 0 ( x , u , r ) ∈ D feed dynamics ( x , u , r ) ∈ D � 0 ( x , u , r ) ∈ D feed σ + = 1 ( x , u , r ) ∈ D dwnl τ + = 0 ( x , u , r ) ∈ D feed ∪ D dwnl s + = s + 1 ( x , u , r ) ∈ D feed L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 12 / 16

  14. Experimental Validation The model is implemented in Matlab through the Hybrid Equations (HyEq) Toolbox by Sanfelice Experimental data: gathered through tests on a controlled testbed in lab Video storage Apache NetShaper TAPAS HTTP L Internet Video Server Emulation Player Server Host Client Host An Internet bottleneck link is emulated by a tool we developed allowing the bandwidth r to be set An adaptive video streaming client is implemented using TAPAS ( https://github.com/ldecicco/tapas ) L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 13 / 16

  15. Experimental Validation Employed controller [ACC15]: a controller keeping the queue length within [ q L , q H ] by throttling the video level between the closest ones ( l i , l i + 1 ) to the available bandwidth r We compare the dynamics of: ◮ A fluid flow model of the queue length [ACC15] ◮ The proposed Hybrid system model ◮ The real system The video is the popular benchmark “Sintel” encoded at five nominal bitrates: L = { 240 , 500 , 900 , 1400 , 2600 } kb/s [ACC15] G. Cofano, L. De Cicco, S. Mascolo, “Characterizing Adaptive Video Streaming Control Systems”, in Proc. of ACC, July 2015 L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 14 / 16

  16. Results: step response Fluid Model Proposed Model Real System 30 30 30 20 20 20 q(t) [s] q(t) [s] q(t) [s] 10 10 10 0 0 0 0 100 200 300 400 0 100 200 300 400 0 100 200 300 400 2000 2000 2000 l(t) [kbps] l(t) [kbps] l(t) [kbps] 1000 1000 1000 0 0 0 0 100 200 300 400 0 100 200 300 400 0 100 200 300 400 t [s] t [s] t [s] Fluid Model Proposed Model Real System 30 30 30 20 20 20 q(t) [s] q(t) [s] q(t) [s] 10 10 10 0 0 0 0 100 200 300 400 0 100 200 300 400 0 100 200 300 400 2000 2000 2000 l(t) [kbps] l(t) [kbps] l(t) [kbps] 1000 1000 1000 0 0 0 0 100 200 300 400 0 100 200 300 400 0 100 200 300 400 t [s] t [s] t [s] L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 15 / 16

  17. Conclusions We have proposed a hybrid system modeling adaptive video streaming control systems The model accurately predicts the dynamics of real video streaming systems The model can be used to: ◮ Design control laws and prove properties of the closed loop system (future work) ◮ Perform simulations of video streaming systems to aid the design phase of controllers L. De Cicco (luca.decicco@poliba.it) A Hybrid Model of AVS Control Systems IEEE CDC 2016 16 / 16

  18. Thank you! Luca De Cicco luca.decicco@poliba.it

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend