Multimedia -- 2

Job ID: 34161396

Budget: $10 – $30 USD

This assignment is on computing motion vectors for a given video. Please follow the
following steps.
1. Capture a one-minute video. (A hallway video will give you the best result)
2. Use ffmpeg tool to extract individual frames. (Refer to the documentation on how to
do this, this is a part of the assignment)
3. Use 16x16 blocks to compute MVs. You can use sequential search.
4. Search area size can be varying, and the student must come up with a best value for
P.
5. Compute the MVs using your language of your choice. MATLAB is preferred as it will
lift most of the heavy weight.
6. Create a CSV (comma separated values) file for each pair of frames with the
following information
Block number Current frame Previous frame
X Y U V
The header is present in the above table to make it clear for you. The CSV file you
may create can have five columns without any header that will make it easy for your
to do the programming part. Such that the final file will have values as given below,
and f6
1, 0,0, 4, 3
2,16,0, 18, 4
Submit your motion vector files as a compressed file that includes all the MV CSV
files generated for each pair of the frames (name the file with the previous frame
number: ex: 1.csv, 3.csv, etc.). We may ask you to provide the video captured by you
at any time and keep it handy. You do not need to submit the video.
Create a simple word document and include one pair of frames from your video and
the first 10 entries of the MV csv file that was generated for the given pair of frames.
Include a snapshot of your MV calculation program in the word document.
Include steps on how to run the program so that we can test it locally and grade it
accordingly.