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

vantage
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

Vantage

Optimizing video upload for time-shifted viewing of social live streams (SIGCOMM 2019)

Devdeep Ray, Jack Kosaian, Rashmi Vinayak, Srinivasan Seshan

1

slide-2
SLIDE 2

Social live video streaming (SLVS)

Server Record Upload R e a l

  • t

i m e d e l i v e r y Real-time delivery D e l a y e d d e l i v e r y

2

slide-3
SLIDE 3

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

3

slide-4
SLIDE 4

4

Bob Alice

Network impairments tolerated by real-time viewers

slide-5
SLIDE 5

5

Charlie (Attending SIGCOMM during concert)

slide-6
SLIDE 6

6

slide-7
SLIDE 7

7

Charlie

Delayed viewers also affected by network impairments

slide-8
SLIDE 8

Typical SLVS platforms today

Server Record Upload R e a l

  • t

i m e d e l i v e r y Real-time delivery D e l a y e d d e l i v e r y

8

slide-9
SLIDE 9

Video upload path is critical

9

Available network bandwidth

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

slide-10
SLIDE 10

Quality Broadcast

(Sports, News)

Conferencing

(Hangouts, Skype)

10

Viewing delay

Live video streaming today

"Real-time" latency constraints Video quality is secondary Delay tolerant Video quality is important

Social live streaming has both real time and delay-tolerant viewers for the same session

slide-11
SLIDE 11

Quality Broadcast

(Sports, News)

Conferencing

(Hangouts, Skype)

SLVS applications: WebRTC, RTMP

11

Viewing delay

SLVS applications use conferencing techniques

slide-12
SLIDE 12

Quality Broadcast

(Sports, News)

Conferencing

(Hangouts, Skype)

12

Viewing delay

SLVS applications

Today's solutions

SLVS today: Same video quality for all viewing delays

slide-13
SLIDE 13

Quality Broadcast

(Sports, News)

Conferencing

(Hangouts, Skype)

13

Viewing delay

Goal: Better quality for delayed viewers

G

  • a

l : S L V S a p p l i c a t i

  • n

s

slide-14
SLIDE 14

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

14

slide-15
SLIDE 15

Existing upload techniques: Real-time streaming

"Real-time" latency constraints Bitrate closely matches available bandwidth Sensitive to bandwidth variation Conferencing (Skype, Hangouts, ..)

15

Charlie (Delayed) Bob (Real-time)

slide-16
SLIDE 16

Existing upload techniques: Buffered streaming

Delay tolerant Encode at ~ average bandwidth Large sender-side buffers to absorb bandwidth variation Higher video quality, no interactivity Broadcasting (Entertainment, News, ..)

16

Charlie (Delayed) Bob (Real-time)

slide-17
SLIDE 17

Existing upload techniques

Inadequate for SLVS: Delayed + high quality video OR Interactive video

17

slide-18
SLIDE 18

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

18

slide-19
SLIDE 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

slide-20
SLIDE 20

Catering to multiple viewing delays

20

Network is impaired: Use real-time strategy When network recovers: Use less than capacity for real-time Excess bandwidth used to repair past segments

slide-21
SLIDE 21

Viewing quality for different delays

21

Bob Charlie

Real-time video bitrate Delayed video bitrate

slide-22
SLIDE 22

Viewing quality for different delays

22

Bob (Real-time) Charlie (Delayed)

Why is Bob (real-time viewer) okay with this?

slide-23
SLIDE 23

Aside: Video quality metrics

Video bitrate != video quality Vantage uses SSIM for measuring perceived video quality

23

SSIM = 1.0 SSIM = 0.66

slide-24
SLIDE 24

Observation #2: Quality vs. Frame size is concave

Video encoded multiple times at different bitrates

24

Size vs. SSIM plot for each frame

slide-25
SLIDE 25

Observation #2: Quality vs. Frame size is concave

25

slide-26
SLIDE 26

Observation #2: Quality vs. Frame size is concave

26

slide-27
SLIDE 27

Observation #2: Quality vs. Frame size is concave

Using high bandwidth to improve low quality frames very powerful!

27

slide-28
SLIDE 28

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

28

slide-29
SLIDE 29

Vantage: System architecture

Server Record Upload R e a l

  • t

i m e d e l i v e r y Real-time delivery D e l a y e d d e l i v e r y

29

slide-30
SLIDE 30

Vantage: Streamer Architecture

30

slide-31
SLIDE 31

Vantage: Key challenges

Real-time video stream bitrate Enhancement frame selection Video enhancement stream bitrate Real-time decisions that optimize video quality for all viewing delays

31

slide-32
SLIDE 32

32

slide-33
SLIDE 33

33

Input: 1. Bandwidth estimates 2. Frame encoding stats

slide-34
SLIDE 34

34

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

slide-35
SLIDE 35

Scheduling goals

35

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

slide-36
SLIDE 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

slide-37
SLIDE 37

Scheduler period trade-offs

Short time period Accurate bandwidth estimates Short sighted scheduling Long time period Stale bandwidth estimates Long term optimal scheduling

37

slide-38
SLIDE 38

Handling stale network estimates

38

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

slide-39
SLIDE 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

slide-40
SLIDE 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

40

Size vs. SSIM plot for each frame

slide-41
SLIDE 41

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

41

slide-42
SLIDE 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

slide-43
SLIDE 43

Baseline: Real-time (conference style) streaming

All viewers affected by network variations

43

slide-44
SLIDE 44

Baseline: Buffered streaming

High quality for delayed viewing Real-time viewing infeasible

44

slide-45
SLIDE 45

Vantage: Quality enhancing retransmissions

Real-time quality almost as good as real-time baseline

Real-time baseline Vantage

45

slide-46
SLIDE 46

Vantage: Quality enhancing retransmissions

Real-time quality almost as good as real-time baseline

Real-time baseline Vantage

46

Delayed viewing quality significantly better!

slide-47
SLIDE 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

slide-48
SLIDE 48

Results summary

48

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)

slide-49
SLIDE 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

slide-50
SLIDE 50

50

Jack Kosaian

jkosaian@cs.cmu.edu

Rashmi Vinayak

rvinayak@cs.cmu.edu

Srinivasan Seshan

srini@cs.cmu.edu

Devdeep Ray

devdeepr@cs.cmu.edu

Our research group