I need a simple C++ Linux program that demonstrates extracting frames from a video file.
$20-30 USD
キャンセル
投稿日: 6年近く前
$20-30 USD
完了時にお支払い
The Input of the program:
1. A folder name – a folder in which there will be M video files.
2. N – The number of worker threads that will run on the system.
Note: N could be different then M
The program needs to:
1. Go over the folder and for each video file in the folder:
a. Send the video to one of the N workers
b. Each worker will:
i. Split the video file into image frames
ii. Resize each of the frames
iii. Write the resized frame to disk
iv. Return the worker process time
2. Print the total processing time of all the workers
-The program needs to be written in C++ Linux, needs to run on Ubuntu 16.04 , needs to use openCV or libavutil or any other lib of your choise.
-You need to find few video files for the program to tun on them for the demonstration.
-The app should be a simple demo. So don't use some large .cpp file you wrote before. I might later post this code into github. Use simple and standard C++ STL components. I would like this code to be simple and readable, and written pretty.
-Please write a makefile.
-I need it to be completed in 1 day.