A simple C++ Linux program that demonstrates using libavutil to extract frames from a video.
$10-30 USD
Cancelled
Posted almost 6 years ago
$10-30 USD
Paid on delivery
I need a simple C++ Linux program that demonstrates using libavutil to extract frames from a video file, resize them and save them to disk.
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 libavutil , libswscale etc.
Hello,
I can modify the scaling_video.c example from FFMPEG, which uses AVUtil and SWScale, to scale a video frame by frame. Will add threads using OpenMP or Pthreads.