18-edge-based transcoding for adaptive live video streaming · 18-edge-based transcoding for...

15
Edge-based Transcoding for Adaptive Live Video Streaming Pradeep Dogga* Sandip Chakraborty Subrata Mitra Ravi Netravali* *

Upload: others

Post on 08-Oct-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Edge-based Transcoding for Adaptive Live Video Streaming

Pradeep Dogga* Sandip Chakraborty† Subrata Mitra‡ Ravi Netravali*

* † ‡

Page 2: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Increase in live video streaming

Page 3: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Live Video Streaming Architecture

1080p

Transcoding Servers

360p

480p

720p

CDN

Viewers

Viewers

Concert

Network Contention!

Compute Contention!

Liveness lost!

720p

360p

Quality

Edge Router

Goal: Video as live as possible

Page 4: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Problem• Sharing infrastructure → Video liveness lost

• Key Question: Can we alleviate the problem by incorporating sources?

• Can we use a P2P approach for transcoding and transmitting live video?

Page 5: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Reason 1• Existing live video applications do not adapt to network conditions!

Page 6: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Reason 2• Phones are energy constrained

Codecs are energy efficient!

Page 7: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Reason 3• Transcoding with smartphones should keep up with live video time limits

Device 1080p -> 720p 720p -> 360p 1080p -> 360p

HTC U11 15ms 7ms 9ms

Pixel 2 XL 8ms 6ms 9ms

PC (FFMPEG) 6ms 2ms 2ms

Codecs are fast!

Time taken to transcode video per frame

Page 8: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Peer to peer transcoding and streaming

1080p 720p 480p

1080p → 720p 720p → 480p

Video Source

Page 9: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Balancing Trees• Balancing trees when nodes leave or enter the system to minimize latency• Restructuring trees for fairness in energy and available bandwidth

consumption• Can be modelled as an optimization problem

Page 10: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

“Contact leader 1”

Details - Registration

1080p 720p 480p

1080p → 720p 720p → 480p

Video Source

“join 1080p”

“join 1080p”

Page 11: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Details – Failure/Departure of viewer

1080p 720p 480p

1080p → 720p 720p → 480p

Video Source

Repeat registration Repeat registration

Page 12: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Details – Swapping transcoders

1080p 720p 480p

1080p → 720p 720p → 480p

Video Source

Page 13: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Open Issues • Peer Presence: Incentives for transcoding and transmitting

• Data Integrity: Overheads in verification and attestation

• Seeks and Delayed Viewing: Mechanism to store stream intermittently

• Viewer Flux: Need decentralized heuristic based optimization to closelyapproximate to optimal distribution of viewers

Page 14: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Alternate use-cases

• Real-time Video Analytics can avoid server-side computation overheads

• Private Live Video can be enabled without additional infrastructure

Page 15: 18-Edge-based Transcoding for Adaptive Live Video Streaming · 18-Edge-based Transcoding for Adaptive Live Video Streaming Created Date: 7/23/2019 2:14:03 AM

Conclusion

• Significant opportunity to better use client devices in live streaming systems

• Hardware accelerated codecs on phones are fast and energy efficient

[email protected]

Thank you!