17.2 Problem Compression - reliability tradeoff* In this question, we will exami
ID: 3883685 • Letter: 1
Question
Explanation / Answer
Given:
Probability of dropping a frame = 1% = 0.01
=> Probability of successfully transmitting a frame = 1 - (Probability of dropping a frame) = 1 - 0.01 = 0.99
Case A:
Video frame structure is IPB/IPB/IPB/IPB/IPB.
Number of GoPs in video = 5
(a) Total cost of video (in kB)
= Number of I-frames * I-frame cost + Number of P-frames * P-frame cost + Number of B-frames * B-frame cost
= 5 * 7 + 5 * 3 + 5 * 1
= 35 + 15 + 5
= 55 kB
Cost per GoP = Total cost of video / Number of GoPs in video = 55 / 5 = 11 kB
(b) Probability that an entire GoP (3 frames) is transmitted successfully
= 0.99 * 0.99 * 0.99
= 0.970299
= 97% (approx)
Expected number of GoPs that are successfull on the first transmission attempt of video
= Number of GoPs in video * Probability that an entire GoP is transmitted successfully
= 5 * 97%
= 4.85 GoPs
Expected number of GoPs in video that must be retransmitted at least once
= Number of GoPs - Expected number of GoPs that are successfull on the first transmission attempt of video
= 5 - 4.85
= 0.15 GoPs
First retransmission cost
= Cost per GoP * Expected number of GoPs that must be retransmitted at least once
= 11 * 0.15
= 1.65 kB
Case B:
Video frame structure is IPBBB/IPBBB/IPBBB.
Number of GoPs in video = 3
(c) Total cost of video (in kB)
= Number of I-frames * I-frame cost + Number of P-frames * P-frame cost + Number of B-frames * B-frame cost
= 3 * 7 + 3 * 3 + 9 * 1
= 21 + 9 + 9
= 39 kB
Cost per GoP = Total cost of video / Number of GoPs in video = 39 / 3 = 13 kB
(d) Probability that an entire GoP (5 frames) is transmitted successfully
= 0.99 * 0.99 * 0.99 * 0.99 * 0.99
= 0.95099005
= 95% (approx)
Expected number of GoPs that are successfull on the first transmission attempt of video
= Number of GoPs in video * Probability that an entire GoP is transmitted successfully
= 3 * 95%
= 2.85 GoPs
Expected number of GoPs in video that must be retransmitted at least once
= Number of GoPs - Expected number of GoPs that are successfull on the first transmission attempt of video
= 3 - 2.85
= 0.15 GoPs
First retransmission cost
= Cost per GoP * Expected number of GoPs that must be retransmitted at least once
= 13 * 0.15
= 1.95 kB
(e) Compressibility and cost of retransmission (based on results from (a), (b), (c), (d)) are summarized in table below for Case A and Case B. We can draw the inference based on these results that the greater the compressibility the greater is the cost of retransmission. However, overall cost (including retransmission cost) reduces with greater compressibility !
Type of frame Cost (kB) I 7 P 3 B 1Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.