FlexCast: Graceful Wireless Video Streaming S. Aditya & Sachin - - PowerPoint PPT Presentation

flexcast graceful wireless video streaming
SMART_READER_LITE
LIVE PREVIEW

FlexCast: Graceful Wireless Video Streaming S. Aditya & Sachin - - PowerPoint PPT Presentation

FlexCast: Graceful Wireless Video Streaming S. Aditya & Sachin Katti Stanford University 1 Mobile Video Streaming User experience is poor/choppy Exponential Video Traffic Growth Constant buffering/stuttering, lost frames are quite


slide-1
SLIDE 1

FlexCast: Graceful Wireless Video Streaming

  • S. Aditya & Sachin Katti

Stanford University

1

slide-2
SLIDE 2

Mobile Video Streaming

2

Constant buffering/stuttering, lost frames are quite common in wireless video streaming

Exponential Video Traffic Growth User experience is poor/choppy

slide-3
SLIDE 3

Current video streaming (MPEG4..)

  • Estimate network path quality over long timescales (mins)
  • Encode video at a specific bitrate (e.g 1mbps+ for HD)
  • Expect wireless network to deliver that reliable bitrate

Wireless Networks

  • Channel strength varies rapidly (on the order of millisecs)
  • Do not guarantee a specific minimum reliable bitrate

Why is Performance Choppy?

3

If link bitrate < video bitrate, video stalls or frames skipped If link bitrate > video bitrate, video quality doesn’t improve

slide-4
SLIDE 4

This Talk

FlexCast: Novel video codec that allows a receiver to obtain a video reconstruction commensurate with instantaneous network quality

  • Rateless video codec (no adaptation needed)
  • Modular (no video specific changes to network or

PHY/MAC layers)

  • Practical (linear encoding/decoding complexity)
slide-5
SLIDE 5

How does traditional video work?

  • Output is a compressed constant bitrate stream
  • Network is expected to provide a reliable bitrate

link greater than the video bitrate to the receiver

slide-6
SLIDE 6

Wireless Channels

Channels and Load vary continuously

Varying channels  Bit errors To cope, retransmissions  Varying throughput

Why not use packets with errors in decoding video?

slide-7
SLIDE 7

Entropy Coding + Wireless Bit Errors  All or Nothing Behavior

Decoding a compressed bitstream that has a few bit errors produces a large number of errors

– Bit error rate gets amplified

Consequently, current video streaming uses a conservative approach

  • Picks low video encoding bitrates
  • Ensures some minimum video quality
  • Cannot take advantage of improved network conditions
slide-8
SLIDE 8

FlexCast

Reconstructs a video even from erroneous packets with quality commensurate with current network quality Key High Level Principle: Bit Errors in packets should translate proportionally into distortion errors in video

  • Entropy Coding does not have that property, a few bit

errors can completely distort decoded video

  • Flexcast eliminates entropy coding, uses soft reconstruction

and proportional representation to achieve proportionality

slide-9
SLIDE 9

Key Insight 1: Soft Reconstruction

  • PHYs compute soft estimates of decoded bits

 probability bit is “1” or “0”

– Soft Output Viterbi Decoder, SoftPHY

  • Leverage soft information to compute expected

value of DCT coefficient

slide-10
SLIDE 10

Soft Reconstruction: SoftPHY

Physical layer

SoftPHY interface

Packet Packet 2 Confidence

  • Cross-layer information flow from PHY up
  • Extract and use soft estimates from PHY

Link layer Network layer

  • Maintain layered architecture

(PHY-independent use)

Receiver estimates confidence Implemented for direct sequence spread spectrum, OFDM (802.11a), DQPSK [Jamieson/B, SIGCOMM 2007]

slide-11
SLIDE 11

Soft Reconstruction

Video Sender

DCT Coeff: 13 Binary: 1101

SoftPHY

Binary: 0110 Soft: 0.5,0.9,0.6,0.7

Soft Reconstruction

DCT Coeff: 0.5*8+0.9*4+0.6*2+0.3*1 = 9.1

Traditional Reconstruction

DCT Coeff = 0+4+2+0 = 6

Soft Reconstructed DCT coefficient (9.1) is much closer to the transmitted value than traditional (6)

slide-12
SLIDE 12

Key Insight 2: Proportional Representation

  • Soft Reconstruction is not sufficient since

some bits are more important than others

– MSB of the low frequency DCT coefficient, single bit error translates to large video distortion

  • Second Principle: Design a technique that

allows sender to provide unequal error protection (UEP) without modifying the PHY

slide-13
SLIDE 13

Distortion Grouping

Identify how important groups of bits are by estimating the amount of distortion they would cause if decoded in error

255 55 72 12 43 93 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 1 0 1 0 0 1 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 0 1 1 0 1 0 1 1 1 0 1

Quantization DCT Coefficients Binary Representation Distortion Group (MSBs) Distortion Group (LSBs)

slide-14
SLIDE 14

Rateless Code for UEP

To provide UEP, sender encodes each distortion group with a rateless Raptor code

Regular LDPC Code LT Code Distortion Group Intermediate Coded Bits Parity Checks Packet of Systematic Encoded Bits

slide-15
SLIDE 15

Soft Raptor Decoder

  • PHY passes demodulated bits with soft information
  • Apply Belief Propagation to decode Raptor Code and

compute soft estimate for the DCT coefficient bits

PHY Outputs with soft information LT Code constraints LDPC Code constraints Decoded bits with better soft estimates

slide-16
SLIDE 16

Rateless Raptor Code for UEP

Key Property: Soft estimate of decoded bit improves with every received rateless bit

  • Standard Belief Propagation Decoder
  • Intuitively, confidence in decoding decision improves with

every extra coded bit  By controlling the number of rateless bits allocated to each distortion group we can obtain proportional representation or UEP

slide-17
SLIDE 17

Putting it All Together: Video Sender

  • Group DCT coefficient bits into distortion groups

ranked according to importance

  • Encode each distortion group with rateless code
  • Create packets with bits from all groups

– No of coded bits allocated in each packet for each distortion group is proportional to importance

No video bitrate is ever picked and no path quality estimation is required

slide-18
SLIDE 18

Putting it All Togther: Network

Nothing to do! Network behaves exactly as before, no changes needed

slide-19
SLIDE 19

Putting it All Together: Receiver

  • PHY passes demodulated bits with soft information
  • Apply Belief Propagation to decode Raptor Code and

compute soft estimate for the DCT coefficient bits

  • Apply soft reconstruction to estimate the expected

value of the DCT coefficients

  • Compute Inverse DCT to get original pixels!
slide-20
SLIDE 20

FlexCast Architecture

DCT & Quantizer Bitgroup Partitioning Rateless Joint Coding

FlexCast Sender

Dequantize & IDCT Soft Reconstruct Rateless Soft Decoding

FlexCast Receiver

slide-21
SLIDE 21

Implementation

  • FlexCast is implemented by modifying standard

MPEG4 implementation

  • Algorithms have linear complexity and are practical

to implement

  • Microbenchmarks (on Core i7 980x) for 720p Video

Channel SNR 12dB 10dB 8dB 6dB CPU Time/Actual Video Time 0.3 0.37 0.44 0.51

slide-22
SLIDE 22

Evaluation Setup

22

  • Deployed in an 10 node indoor USRP2 testbed
  • PHY: WiFi style OFDM, 6.25 MHz channel
  • Standard WiFi convolutional coding rates
slide-23
SLIDE 23

Compared Approaches

  • Omniscient Scheme
  • Perfect advance channel knowledge
  • Picks best Wifi bitrate and video encoding bitrate that

maximizes PSNR of received video

  • SoftCast
  • Clean slate mobile video design (simpler version of

next paper!)

  • Apex (Sigcomm 2010)
  • UEP at the PHY layer
slide-24
SLIDE 24

How Graceful is FlexCast?

FlexCast performs as well as the omniscient scheme without requiring any channel state knowledge

20 25 30 35 40 45 50 3 8 13 18 23

Video Quality (PSNR) SNR (dB) Performance with Unknown SNR

Omn-MPEG FlexCast SoftCast

slide-25
SLIDE 25

Can FlexCast automatically exploit additional capacity?

FlexCast automatically provides higher video quality if link provides additional capacity

10 20 30 40 50 60

0.6 1.1 1.6 2.1 2.6

Video Quality (PSNR) Normalized Airtime Budget Impact of Channel Airtime Budget

Omn-MPEG FlexCast SoftCast

slide-26
SLIDE 26

Trace Driven Emulation

26

  • Stanford RUSK channel sounder
  • High precision channel measurement
  • Continuous channel state information
  • 2.426 GHz to 2.448 GHz
  • Each trace: 100000 measurements over 100 sec
  • 10 mobility traces at walking speed ~ 3 mph
  • Simulate mobility by playing trace at increasing

speeds

slide-27
SLIDE 27

Performance with Increasing Mobility

5 10 15 20 25 30 35 40 3 10 20 40 60 80 160 300 PSNR with Increasing Mobility Omn-MPEG FlexCast SoftCast Apex

FlexCast provides near optimal performance at high mobility

PSNR Simulated Speed (mph)

slide-28
SLIDE 28

Conclusion

FlexCast provides graceful video streaming for dynamically varying wireless networks

  • Rateless, Modular and Practical

Espouses a design philosophy that takes into account wireless channel properties to build modular robust protocols and systems