In this code, I have implemented a mini GUI video editing tool in whitch you can customize the input file and choose the output directory.
To run this code, you have to download ffmpeg, if you use a ubuntu machine, you can directly download with this command in the terminal
sudo apt install ffmpeg
and install sdl2 library
sudo apt install libsdl2-dev
To compile, run the following code in your terminal
make
To run the executable, directly run the command in the terminal
./ffmpeg_gui_mini