vantage
play

Vantage Optimizing video upload for time-shifted viewing of social - PowerPoint PPT Presentation

Vantage Optimizing video upload for time-shifted viewing of social live streams (SIGCOMM 2019) Devdeep Ray , Jack Kosaian, Rashmi Vinayak, Srinivasan Seshan 1 Social live video streaming (SLVS) e m i t - l y a r e e R v i l e


  1. Vantage Optimizing video upload for time-shifted viewing of social live streams (SIGCOMM 2019) Devdeep Ray , Jack Kosaian, Rashmi Vinayak, Srinivasan Seshan 1

  2. Social live video streaming (SLVS) e m i t - l y a r e e R v i l e d Upload Server Real-time delivery D Record e d l a e y l i e v d e r y 2

  3. Challenges in mobile social live streaming Limitations of current techniques Vantage: Key ideas Design and implementation Evaluation 3

  4. Network impairments tolerated by real-time viewers Alice Bob 4

  5. Charlie (Attending SIGCOMM during concert) 5

  6. 6

  7. Charlie Delayed viewers also affected by network impairments 7

  8. Typical SLVS platforms today e m i t - l y a r e e R v i l e d Upload Server Real-time delivery D Record e d l a e y l i e v d e r y 8

  9. Video upload path is critical Mobile streaming common Significant bandwidth variation on upload path The uploaded video is a baseline for all viewers Downstream optimizations are limited by upload quality Available network bandwidth 9

  10. Live video streaming today Delay tolerant Broadcast Video quality is important (Sports, News) Quality "Real-time" latency constraints Conferencing Video quality is secondary (Hangouts, Skype) Viewing delay Social live streaming has both real time and delay-tolerant viewers for the same session 10

  11. SLVS applications use conferencing techniques Broadcast (Sports, News) Quality Conferencing SLVS applications: WebRTC, RTMP (Hangouts, Skype) Viewing delay 11

  12. SLVS today: Same video quality for all viewing delays Broadcast (Sports, News) Quality Today's solutions Conferencing SLVS applications (Hangouts, Skype) Viewing delay 12

  13. Goal: Better quality for delayed viewers Broadcast s n (Sports, News) o i t a c i l p p Quality a S V L S : l a o Conferencing G (Hangouts, Skype) Viewing delay 13

  14. Challenges in mobile social live streaming Limitations of current techniques Vantage: Key ideas Design and implementation Evaluation 14

  15. Existing upload techniques: Real-time streaming Conferencing (Skype, Hangouts, ..) "Real-time" latency constraints Bitrate closely matches available bandwidth Sensitive to bandwidth variation Bob Charlie 15 (Real-time) (Delayed)

  16. Existing upload techniques: Buffered streaming Broadcasting (Entertainment, News, ..) Delay tolerant Encode at ~ average bandwidth Large sender-side buffers to absorb bandwidth variation Higher video quality, no interactivity Bob Charlie 16 (Real-time) (Delayed)

  17. Existing upload techniques Inadequate for SLVS: Delayed + high quality video OR Interactive video 17

  18. Challenges in mobile social live streaming Limitations of current techniques Vantage: Key ideas Design and implementation Evaluation 18

  19. Observation #1: Bandwidth is highly variable Analyzed traces from the Mahimahi ** project Significant variations observed, with extreme lows and highs ** Netravali, Ravi, et al. "Mahimahi: a lightweight toolkit for reproducible web measurement." ACM SIGCOMM Computer Communication Review 44.4 (2015): 129-130. 19

  20. Catering to multiple viewing delays Network is impaired: Use real-time strategy When network recovers: Use less than capacity for real-time Excess bandwidth used to repair past segments 20

  21. Viewing quality for different delays Real-time Delayed video video bitrate bitrate Bob Charlie 21

  22. Viewing quality for different delays Why is Bob (real-time viewer) okay with this? Bob Charlie (Real-time) (Delayed) 22

  23. Aside: Video quality metrics Video bitrate != video quality Vantage uses SSIM for measuring perceived video quality SSIM = 1.0 SSIM = 0.66 23

  24. Observation #2: Quality vs. Frame size is concave Video encoded multiple times at different bitrates Size vs. SSIM plot for each frame 24

  25. Observation #2: Quality vs. Frame size is concave 25

  26. Observation #2: Quality vs. Frame size is concave 26

  27. Observation #2: Quality vs. Frame size is concave Using high bandwidth to improve low quality frames very powerful! 27

  28. Challenges in mobile social live streaming Limitations of current techniques Vantage: Key ideas Design and implementation Evaluation 28

  29. Vantage: System architecture e m i t - l y a r e e R v i l e d Upload Server Real-time delivery D Record e d l a e y l i e v d e r y 29

  30. Vantage: Streamer Architecture 30

  31. Vantage: Key challenges Real-time decisions that optimize video quality for all viewing delays Real-time video stream bitrate Enhancement frame selection Video enhancement stream bitrate 31

  32. 32

  33. Input: 1. Bandwidth estimates 2. Frame encoding stats 33

  34. Input: 1. Bandwidth estimates 2. Frame encoding stats Output: 1. Real-time bitrate 2. Enhancement frames 3. Enhancement bitrate 34

  35. Scheduling goals 1. Constrain encoded bits to the available bandwidth 2. Optimize video quality across multiple viewing delays 35

  36. Vantage scheduler Mixed integer program (MIP) maximizes quality for multiple viewing delays Periodically generates video encoding schedule Key challenges: Handling stale bandwidth estimates Mapping frame sizes to quality 36

  37. Scheduler period trade-offs Short time period Long time period Accurate bandwidth estimates Stale bandwidth estimates Short sighted scheduling Long term optimal scheduling 37

  38. Handling stale network estimates Dual approach: Long term (MIP) + short term (Execution engine) Vantage: MIP generates schedule every 2 seconds Fallback strategy: Execution engine prioritizes real-time 38

  39. Vantage scheduler Mixed integer program (MIP) maximizes quality for multiple viewing delays Periodically generates video encoding schedule Key challenges: Handling stale bandwidth estimates Mapping frame sizes to quality 39

  40. Frame size vs SSIM estimation Frame size vs SSIM curve needed for optimization Statistics from encoders drive estimation Simple non-linear model: works well Size vs. SSIM plot for each frame 40

  41. Challenges in mobile social live streaming Limitations of current techniques Vantage: Key ideas Design and implementation Evaluation 41

  42. Vantage: Evaluation Designed to work with existing congestion control protocols for real-time video Emulated transport layer that provides network estimates from traces Evaluation performed on different combinations of videos and network traces Videos: Animated, talking head, drone footage Network traces: LTE (Verizon, ATT), UMTS (T-Mobile) ** ** Netravali, Ravi, et al. "Mahimahi: a lightweight toolkit for reproducible web measurement." ACM SIGCOMM Computer Communication Review 44.4 (2015): 129-130. 42

  43. Baseline: Real-time (conference style) streaming All viewers affected by network variations 43

  44. Baseline: Buffered streaming High quality for delayed viewing Real-time viewing infeasible 44

  45. Vantage: Quality enhancing retransmissions Real-time baseline Vantage Real-time quality almost as good as real-time baseline 45

  46. Vantage: Quality enhancing retransmissions Real-time baseline Vantage Real-time quality almost as good as real-time baseline Delayed viewing quality significantly better! 46

  47. Other results in the paper Multiple traces + videos, detailed results in paper Varying delay distributions Sensitivity analyses of optimizer period and bandwidth estimation error Ablation studies comparing Vantage with naive solutions 47

  48. Results summary Up to 42.9% (average 19.9%) higher delayed video quality (Charlie = Happy) At most 7% (average 3.3%) drop in real-time quality (Bob = Still Happy) 48

  49. Summary SLVS applications present new and unique challenges New paradigm of watching videos: Time-shifted viewing Upload path variability is important to address Vantage: Mitigates upload path variability to improve quality for time-shifted viewing Thank you for listening! 49

  50. Our research group Devdeep Jack Rashmi Srinivasan Ray Kosaian Vinayak Seshan devdeepr@cs.cmu.edu jkosaian@cs.cmu.edu rvinayak@cs.cmu.edu srini@cs.cmu.edu 50

Recommend


More recommend