softcast + scalable robust mobile video szymon jakubczak and dina katabi

44
SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Upload: katy-dowey

Post on 30-Mar-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

SoftCast+

Scalable Robust Mobile Video

Szymon Jakubczak and Dina Katabi

Page 2: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

All TV programs to your handheld device

Live broadcast of sports and concerts

Mobile video calls

Mobile video is the future …

Page 3: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Cisco Visual Networking Index predicts

66x increase in mobile traffic

mainly mobile video

the incoming 5 years will show

Can WiFi, WiMax, or LTE deal with such growth?

Page 4: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Today’s Wireless Video Is Unscalable

Page 5: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Today’s Wireless Video Is Unscalable

Different receivers have different channel qualities

6 Mb/s

1 Mb/s

In current wireless, sender has to pick one bitrate

Broadcast one stream to all receiver Reduce all to the performance of worst receiver

Today, sender transmits one video per receiver

Unscalable

Page 6: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Mobility Makes Things Worse

200ms

Time [ms]

Rece

ived

Sig

nal Le

vel

[dB

m]

Causes fast unpredictable variations in channel quality

Current wireless can’t transmit one video that works at all channel qualities

Mobile video experiences glitches and stalls

Page 7: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 18Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Performance Cliff

Page 8: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 18Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Performance Cliff

Channel is better than critical point Video doesn’t improveChannel is worse than critical point Video is unwatchable

Critical quality

Page 9: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 18Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Performance Cliff

Channel is better than critical point Video doesn’t improveChannel is worse than critical point Video is unwatchable

Critical quality

Page 10: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 6Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Performance Cliff

Channel is better than critical point Video doesn’t improveChannel is worse than critical point Video is unwatchable

H.264; BPSK ½ rate

Page 11: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 12Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Performance Cliff

Channel is better than critical point Video doesn’t improveChannel is worse than critical point Video is unwatchable

H.264; BPSK ¾ rate

Page 12: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 18Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Performance Cliff

Channel is better than critical point Video doesn’t improveChannel is worse than critical point Video is unwatchable

H.264; QPSK ½ rate

Page 13: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 36Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Performance Cliff

Channel is better than critical point Video doesn’t improveChannel is worse than critical point Video is unwatchable

H.264; 16QAM ½ rate

Page 14: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 48Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Performance Cliff

Channel is better than critical point Video doesn’t improveChannel is worse than critical point Video is unwatchable

H.264; 16QAM ¾ rate

Page 15: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 6Mbps

MPEG 12Mbps

MPEG 18Mbps

MPEG 24Mbps

MPEG 36Mbps

MPEG 48Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Performance Cliff

Channel is better than critical point Video doesn’t improveChannel is worse than critical point Video is unwatchable

H.264; BPSK ½ rate H.264; BPSK ¾ rate H.264; QPSK ½ rate

H.264; 16QAM ½ rate H.264; 16QAM ¾ rate

H.264; QPSK ¾ rate

Page 16: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 6Mbps

MPEG 12Mbps

MPEG 18Mbps

MPEG 24Mbps

MPEG 36Mbps

MPEG 48Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]

H.264; BPSK ½ rate

H.264; BPSK ¾ rate

H.264; QPSK ½ rate

H.264; QPSK ¾ rate

H.264; 16QAM ½ rate Ideal

Ideally: One-Video for All Channel Qualities

• Transmitter broadcasts one video• Each receiver decodes a video quality

commensurate with its channel quality

Large Bandwidth SavingNo glitches or stalls with mobility

Page 17: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Why Does Today’s Video Suffer a Cliff?

Video Codec(Compression)

PHY Code(Error Protection)

Bits

• Compression and error protection convert real-valued pixels to bits

• Bits destroy the numerical properties of original pixels11110 and 11111 could refer to pixels as different as 5 and 149

• If all bit errors can be corrected all pixels are correct• Even one residual bit error arbitrary errors in pixels

Pixels

Page 18: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Analog TV Did not Suffer a Cliff

Real-Valued Pixels2, 153, …

Transmitted Values2α, 153α, …

Transmitted values are linearly related to pixels

But Analog TV was not efficient:• No compression• No error protection

α

Small perturbation on channel

Small perturbation in pixel values

It did not convert pixels to bits

Page 19: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

SoftCast +• SoftCast combines the best of both worlds

• Is as efficient as digital video

• Has no cliff effect, like analog video

Page 20: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

SoftCast +

Page 21: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Linear

Video Codec(Compression)

PHY Code(Error Protection)

BitsPixels Joint code to compress and protect from error

Signal samples

SoftCast +

Small perturbation on channel

Small perturbation in pixel values

No Cliff EffectNeed to compress and protect from errors, while staying linear!

Page 22: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Existing compression is not linear

Challenge 1

Page 23: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Pixel values change slowly in space and timeIn the frequency domain, most temporal and spatial frequencies are zeros

SoftCast+ transforms to freq. domain using 3D-DCT

3D DCT

Black Regions are Zeros

Compress by dropping 3D frequencies

Solution 1

Page 24: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Compression: Send only non-zero frequencies More aggressive compression: Send only frequencies above a threshold value

3D DCT

Black Regions are Zeros

Compress by dropping 3D frequencies

Solution 1

Page 25: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Compression: Send only non-zero frequencies More aggressive compression: Send only frequencies above a threshold value

3D DCT

Black Regions are Zeros

Compress by dropping 3D frequencies

Solution 1

3D DCT compresses within and across frames

DCT is a linear operator Linear Compression

Page 26: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Existing error protection codes operate on bits not reals

Challenge 2

Page 27: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

2.5

Protect transmitted values using magnitude-scaling

Compressed value

Transmitted Received Decoded

24.9

25.1±0.1

2.492.51

±0.01

Channel Noise±0.1

25

x10

Before Tx Scale up

/10

After Rx Scale down

Scaling the transmitted values up, scales down the error by the same factor

Solution 2

Page 28: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

How much to scale up?

Scaled-up values are larger take more power to transmitBut hardware has limited power

Theorem • Let λi be the variance of a set of frequencies i• The linear encoder that minimizes video errors scales

the values xi in the set i as follows:

yi = gi xi where gi ~ λi-1/4 Magnitude Scaling is Linear

Linear Error Protection

Formulate it as an optimization that finds the scaling factors that minimize received video errorsIdea: Scale DCT frequencies based on their information content, i.e., their variance

Page 29: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

How Does the PHY Transmit?

Traditional PHY maps bits to reals (I,Q) using modulation

SoftCast PHY sends the real-valued codewords as I and Q

Recall: Channel transmits pairs of real values (I and Q)

QAM modulation IQ

…0011001

…y[5]y[4]y[3]y[2]y[1]

I

Q

SoftCast+ achieves its goal of ensuring that the transmitted signal is linearly related to the

pixels

…y[5]y[4]y[3]

y[1]

y[2]

…y[5]

y[3]y[1]

y[4]y[2]

Page 30: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Performance

Page 31: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Implementation

• USRP2 Hardware• GNURadio software• Carrier Freq: 2.4 GHz• OFDM-Based Physical Layer

Page 32: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Testbed

• In each run, we pick a transmitter at random and let the other nodes be receivers

Page 33: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Compared Schemes

• SoftCast +

• H.264/MPEG4 over 802.11-like OFDM physical layer

• Layered video (i.e., SCV) over Hierarchical Modulation

Page 34: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Video Quality as Function of Channel Quality

0 5 10 15 20 25 3020

25

30

35

40

45

50

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]

Page 35: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 6Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Video Quality as Function of Channel

Quality

H.264; BPSK ½ rate

Page 36: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 12Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Video Quality as Function of Channel

Quality

H.264; BPSK ¾ rate

Page 37: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 18Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Video Quality as Function of Channel

Quality

H.264; QPSK ½ rate

Page 38: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 6Mbps

MPEG 12Mbps

MPEG 18Mbps

MPEG 24Mbps

MPEG 36Mbps

MPEG 48Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]Video Quality as Function of Channel

Quality

H.264; BPSK ½ rate H.264; BPSK ¾ rate H.264; QPSK ½ rate

H.264; 16QAM ½ rate H.264; 16QAM ¾ rate

H.264; QPSK ¾ rate

Current approach cannot deliver a single video that works well for all channel qualities

Page 39: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Video Quality as Function of Channel Quality

SoftCast+ delivers one-video that satisfies all channels qualities

0 5 10 15 20 25 3020

25

30

35

40

45

50

MPEG 6Mbps

MPEG 12Mbps

MPEG 18Mbps

MPEG 24Mbps

MPEG 36Mbps

MPEG 48Mbps

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]

H.264; BPSK ½ rate H.264; BPSK ¾ rate H.264; QPSK ½ rate

H.264; 16QAM ½ rate H.264; 16QAM ¾ rate

H.264; QPSK ¾ rate SoftCast

+

Page 40: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Video Quality as Function of Channel Quality

SoftCast

0 5 10 15 20 25 3020

25

30

35

40

45

50

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]

2-layer video+

Page 41: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Video Quality as Function of Channel Quality

Alternatives, simply replace one cliff with a few smaller cliffs

SoftCast

0 5 10 15 20 25 3020

25

30

35

40

45

50

Channel Quality [SNR in dB]

Vid

eo

Qu

alit

y [P

SN

R in

dB

]

2-layer video3-layer video

+

Page 42: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Mobility Demo

SoftCast+ is beneficial even with a single mobile receiver

http://people.csail.mit.edu/szym/softcast/single.swf?config=data/tennis.xml&chart=0

Page 43: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Related Work• Rate distortion theory

• Past work on joint source channel coding

• Analog and hybrid systems– But has compression & error protection

over real values

Page 44: SoftCast + Scalable Robust Mobile Video Szymon Jakubczak and Dina Katabi

Conclusion• SoftCast+ : one video to satisfy all channel

qualities

• Key idea: Linear JSCC over the reals•

• Is implemented and evaluated in a wireless testbed

• Increases scalability and robustness to mobility