# Matlab Code To Determine Frames From My Bin Video File ( Assignment Help )

One can use the Matlab code for determining the frames in the video. First of all, I need to determine the frames from my bin video file.

And I need to write Matlab code for stop and wait for automatic repeat request for the determined video frames.

Likewise, in this transmission policy, frames bit are transmitted with awgn noise.

And if the receiver does not obtain an exact bit as transmitted then retransmit the same frame bit.

Similarly, The maximum loop can be iterated 3 times. If in the fourth time also if the receiver doesn’t receive the exact frame bit then leave and go for the next frame.

So, the Video bin file data are arranged in the sequential order. So it will be easy to determine the video frame from the bin file. The use of Matlab code is difficult.

First of all there is a need to bring this file to Matlab code ..and video bit are arranged in sequential order ..VPS,SPS,PPS , Slice . These slices are frames which are I ,B, and P frame. The length of VPS is 29 , length of PPS is 52 , Length of SPS is 11. Need to implement Automatic repeat request transmission technique for the slice i.e frames.

Your The structure of video is VPS SPS PPS SLICE SLICE SLICE There is one vps pps sps and one I slice then sequence will be 3B slice followed by 1P slice . This continues till the end . VPS – 0001-next 0001 length is 29 SPS – 0001-0001 length is 52 PPS – 0001-001 length is 11 I slice – 001 to 0001 B slice-0001 to next 0001 P slice 0001-0001 After I slice there are 3 B slice and 1 P slice in sequence till the end

## The methodology of using Matlab code:

Prosdere of using the Matlab code is also simple but time-consuming.

So an automatic repeat request is a transmission technique where the sender sends the data or packet and the receiver receives the sent data.

So If the receiver does not receive the sent data then it sends an acknowledgment to resend the data or packet. In this project, individual frames data is separated into individual packet or block and sent with the addition of awgn and at the receiver, it should receive the same packet sent by the sender. XOR can be used at the receiver for comparing sent and received packet. AWGN should be addeAWGN should be added to the input frame packet or block. An AWGN channel adds white Gaussian noise to the signal that passes through it.

You can create an AWGN channel in a model using the comm. AWGNChannel System object, the AWGN Channel block, or the awgn function.d to the input frame packet or block. An AWGN channel adds white Gaussian noise to the signal that passes through it. You can create an AWGN channel in a model using the comm. AWGNChannel System object, the AWGN Channel block, or the awgn function. One can use the simple stop and wait for ARQ transmission.