vaal, video adaptation at application layer and ...eugen.dedu.free.fr/publi/wpmc10slides.pdf · 3...
TRANSCRIPT
VAAL, Video Adaptation at Application Layer andExperiments using DCCP
Wassim Ramadan, Eugen Dedu et Julien Bourgeois
Laboratoire d’Informatique de l’Universite de Franche-Comte (LIFC)Montbeliard, France
WPMCRecife, Brazil
13 October 2010
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 1 / 14
Rate adaptive video control: optimise network usage
Dynamic bandwidth vs static bitrates
0
0.5
1
1.5
2
2.5
3
3.5
0 20 40 60 80 100 120 140 160 180
Rat
e (M
bp
s)
Time (s)
available bandwidthbitrate 512 kbps
bitrate 1 Mbps
bitrate 2 Mbpsbitrate 3 Mbps
The best bitrate
if bitrate<bw: unoptimised
if bitrate>bw: lost packets
either on network, ifno congestion controlor at the sender, ifcongestion control
bitrate=bw: the best
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 2 / 14
Rate adaptive video control: improve user experience
Small bandwidth, so small bitrate High bandwidth, so high bitrate
Demonstration(look at the change at sec. 15)
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 3 / 14
Goals of video adaptation
Improve user experience
Optimise network resource usage
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 4 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
Plan
1 State of the art
2 Our VAAL method
3 Experiments
4 Conclusions
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 5 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
State of the art
Video adaptation methods based on changed layer
Low layers changed (unchanged application)
for multi-layer encoded video
Cross-layer (application and transport/networklayers changed)
iTCP, VTP etc.
Application layer changed (our VAAL method)
TCP/IP layers
Application
Transport
Network
MAC
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 6 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
OverviewDetailsCharacteristics
Overview of VAAL
VAAL, Video Adaptation at Application Layer
At each moment:
congestion control takes care of network conditions
our VAAL algorithm adapts bitrate to network conditions
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 7 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
OverviewDetailsCharacteristics
Details of VAAL
2 phases executed regularly (each 2 sec):1 Discovery of network conditions
compute FEP (Failed ErrorPercentage)
2 Quality selection
if FEP=0, increase qualityif 0<FEP<5%, maintain qualityif 5%≤FEP, decrease quality to q′:q′ ≤ q(1− FEP)r ,where q is current quality andr = 105%
VAAL (sender side only)
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 8 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
OverviewDetailsCharacteristics
VAAL characteristics
Easy to implement, since it uses a very simple algorithm
Only the sender (server) is modified
Only the application layer is modified
Can either choose among several available qualities (video ondemand), or change the quantisation parameter(videoconference)
Needs a transport protocol with congestion control
network-friendly
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 9 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
Network and transport protocolAdaptation results
Network and transport protocols used in experiments
Network topology
Transport protocol: DCCP (Datagram Congestion ControlProtocol)
New protocol more adapted to multimedia transmissions:
unreliable, but with congestion controlcan use various congestion control algorithms, such as:
TFRCTCP-like
allow the sender to find out the received packets
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 10 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
Network and transport protocolAdaptation results
Checking if adaptation works
Quality variation for 5 flows in competition, flow 1
0
0.5
1
1.5
2
2.5
3
3.5
0 20 40 60 80 100 120 140 160 180
0
20
40
60
80
100
120
Bit
rate
of
tran
smit
ted v
ideo
(M
b/s
)
Per
centa
ge
of
wri
te b
uff
er s
ucc
ess
(%)
Time (s)
bitratewrite buffer success
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 11 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
Network and transport protocolAdaptation results
Number of sent and recv packets, 10 flows without gap
0
10000
20000
30000
40000
50000
60000
70000
1 2 3 4 5 6 7 8 9 10 Avg
Num
ber
of
sent
and
rec
eiv
ed p
acket
s
Flow number
VAAL sent pktsDCCP Q1 sent pktsDCCP Q2 sent pktsDCCP Q3 sent pktsDCCP Q4 sent pkts
VAAL recv pktsDCCP Q1 recv pktsDCCP Q2 recv pktsDCCP Q3 recv pktsDCCP Q4 recv pkts
Static bitrate leads to either low bitrate, or many network losses(or similar results in lucky cases)
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 12 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
Network and transport protocolAdaptation results
Number of sent and recv packets, 10 flows with 30 sec. gap
0
10000
20000
30000
40000
50000
60000
70000
1 2 3 4 5 6 7 8 9 10 Avg
Num
ber
of
sent
and
rec
eiv
ed p
acket
s
Flow number
VAAL sent pktsDCCP Q1 sent pktsDCCP Q2 sent pktsDCCP Q3 sent pktsDCCP Q4 sent pkts
VAAL recv pktsDCCP Q1 recv pktsDCCP Q2 recv pktsDCCP Q3 recv pktsDCCP Q4 recv pkts
VAAL (esp. flows 4 to 7) adapts bitrate to available bandwidthVAAL has the greatest received/sent packet ratio
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 13 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
Contributions
One of the rare papers which analyse video content adaptation
The first one which uses DCCP in real experiments in wireless networks
A new method, called VAAL, using buffer filling
simple to deploy (only app-level at sender is modified)works with any transport protocol with congestion control
Conclusions
By adapting the video bitrate to network bandwidth, VAAL improvesnetwork usage (reduces under/over-utilisation) compared to classicalstatic bitrate
Perspectives
Avoid zigzag quality changing (e.g. using a history)
Present video quality metrics (PSNR)
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 14 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
Network information
Parameter name Parameter valuePacket size 1024 BytesSender wired card 100Mb/sReceiver wireless card 802.11b/gOSes Ubuntu 64bits, 2.6.31DCCP Included in the kernelAccess point LINKSYS, wireless-GWireless bandwidth 54Mb/sDistance (AP ↔ receiver) 50cm
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 15 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
On the value of 5% chosen for local losses
“This refers to end-to-end IP packet-loss rate in video. Consideringthe packet loss in a terminal-jitter buffer and the packet loss innetworks is extremely important. The value should be less than10 [%].”(ITU-T, Opinion model for video-telephony applications, ITURecommendation G.1070, Apr. 2007)
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 16 / 14
State of the artOur VAAL method
ExperimentsConclusions
Supplementary slides
About the simplicity of VAAL adaptation algorithm
for each period of time
err = 0
pkts = 0
while (period not ended)
pkts++
write video packet
if (write error)
err++
sleep
errorRate = err/pkts
if (errorRate == 0)
increase bitrate
else if (errorRate < 5%)
maintain bitrate
else
decrease bitrate
Wassim Ramadan, Eugen Dedu et Julien Bourgeois Video adaptation and experiments using DCCP 17 / 14