Makefiles and ffmpeg scene detection made easy

Опубликовано: 29 Октябрь 2024
на канале: NapoleonWils0n
829
11

We can use a Makefile to automate ffmpeg scene detection so instead of running the scene-detect, scene-time and scene-detect scripts manually ,
we can use a Makefile with the commands inside and just run make

You just need to put the Makefile in the same directory as the video and either edit the Makefile and change input.mp4 to the name of the video to process and then run make

Or you can override the input variable and run: make input=filename.mp4
where filename.mp4 is the name of the video to process

make clean
will prompt you to delete the ffmpeg scene detection text files and all the created clips except the original video file and Makefile

Makefile
https://raw.githubusercontent.com/Nap...

ffmpeg-scripts
https://github.com/NapoleonWils0n/ffm...

Make documentation
https://www.gnu.org/software/make/man...

http://makefiletutorial.com/

https://www.grymoire.com/Unix/Make.html