<p>There are a few mistakes in your math.  </p>

<p>First, you are multiplying an entire group of pictures (7 frames) by 25, that would be 7 seconds of video, not one.  </p>

<p>Second, you are not considering that the first I frame of one set is the last of the next, so it should be assumed that the sequence that would be used is IBBPBBIBBPBBIBBPBBIBBPBB...  It would make no sense at all to put two I frames together in a row, but sometimes the I is listed as an end.  </p>

<p>Third, you are not considering the fact that a B frame is bi-directional and can not be processed until the next I or P frame is reached.</p>

<p>These three things significantly complicate the problem from the simple state you initially thought it was, though as this is an academic problem, I will leave the actual solving as an exercise for you.</p>

CC BY-SA 3.0
2014-02-28T20:37:09.703Z
2014-02-28T20:37:09.703Z
AJ Henderson
<p>Hi I'm preparing for my exam tomorrow and I've come across a 17 Mark question which seems trivially easy, so I think I'm missing a key point giving the rest of this exam is fairly difficult. The question is below and my attempt is below that.</p>

<p><img src="https://i.sstatic.net/FgJFB.png" alt="enter image description here"></p>

<p><img src="https://i.sstatic.net/d9qAy.png" alt="enter image description here"></p>

<p>My attempt:</p>

<p>I looked up video capture on wikipedia and it defined it as the process of converting an analog signal to digital - so I took the point at which frames were captured as being after they were digitised. We are told to ignore the time taken for compression and decompression, so the next part is just to send the data. The total amount of data in the frame sequence is 54KB (I'm not sure why the frame sequence starts and ends with an I-frame to be honest - doesn't seem to make sense). So to transfer 1s of video will take 0.27s.</p>

<p>To be play a second of frames smoothly the the playout buffer must contain 25 frames minimum. The sequence of frames is IBBPBBI which has a total size of 54 KB. In one second the playout is 54 x 25 = 0.432 MB/s.</p>

<p>I'm pretty sure that we would need to make some estimations to solve the rest of this.</p>

<p>As always I'm open to any suggestions! Thanks for reading :D</p>

CC BY-SA 3.0
2012-05-28T15:19:50.883Z
You are not considering reordering of MPEG frames, I think.
Miguel
CC BY-SA 3.0
2012-05-30T19:15:24.057Z
You need a whole GOP before you can create any B frames.
Julian
<video><compression>
Exam Question - end-to-end delay from video capture to video playout
user1058210
# Exam Question - end-to-end delay from video capture to video playout

(Asked by: username_0 on 2012-05-28)

Hi I'm preparing for my exam tomorrow and I've come across a 17 Mark question which seems trivially easy, so I think I'm missing a key point giving the rest of this exam is fairly difficult. The question is below and my attempt is below that.

![enter image description here](https://i.sstatic.net/FgJFB.png)

![enter image description here](https://i.sstatic.net/d9qAy.png)

My attempt:

I looked up video capture on wikipedia and it defined it as the process of converting an analog signal to digital - so I took the point at which frames were captured as being after they were digitised. We are told to ignore the time taken for compression and decompression, so the next part is just to send the data. The total amount of data in the frame sequence is 54KB (I'm not sure why the frame sequence starts and ends with an I-frame to be honest - doesn't seem to make sense). So to transfer 1s of video will take 0.27s.

To be play a second of frames smoothly the the playout buffer must contain 25 frames minimum. The sequence of frames is IBBPBBI which has a total size of 54 KB. In one second the playout is 54 x 25 = 0.432 MB/s.

I'm pretty sure that we would need to make some estimations to solve the rest of this.

As always I'm open to any suggestions! Thanks for reading :D

**Tags:** video, compression

> **Comments:**
> **username_1**: You are not considering reordering of MPEG frames, I think.  
> **username_2**: You need a whole GOP before you can create any B frames.  

---

## 1 answers

### Answer by username_3 on 2014-02-28. Score: 1

There are a few mistakes in your math.

First, you are multiplying an entire group of pictures (7 frames) by 25, that would be 7 seconds of video, not one.

Second, you are not considering that the first I frame of one set is the last of the next, so it should be assumed that the sequence that would be used is IBBPBBIBBPBBIBBPBBIBBPBB... It would make no sense at all to put two I frames together in a row, but sometimes the I is listed as an end.

Third, you are not considering the fact that a B frame is bi-directional and can not be processed until the next I or P frame is reached.

These three things significantly complicate the problem from the simple state you initially thought it was, though as this is an academic problem, I will leave the actual solving as an exercise for you.


---

