Matlab code for determine frames from my bin video file ( assignment help )

 

 

First of all , i need to determine frames from my bin video file .And i need to write a code for stop and wait automatic repeat request for the determined video frames.in this transmission policy , frames bit are transmitted with awgn noise and if receiver doesnot obtain exact bit as transmitted then retransmit the same frame bit. The maximum loop can be iterated 3 times .If in the fourth time also if reciever doesnot receives exact fram bit then leave and go for next frame. Video bin file data are arranged in the sequential order. So it will be easy to determine video frame from the bin file.

 

First of all ..need to bring this file to matlab ..and video bit are arranged in sequential order ..VPS,SPS,PPS ,Slice . These slice 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

 

Automatic repeat request is a transmission techinque where sender sends the data or packet and receiver receives the sent data . If reciever doesnot receive the sent data then it sends acknowledgment to resend the data or packet . In this project individual frames data is separated into individual packet or block and sent with addition of awgn and at reciever it should recieve same packet sent by sender. XOR can be used at the reciever for comparing sent and recieved 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. Simple stop and wait ARQ transmission can be used .