Ingen beskrivning

Daniel Hintz e39b0ce2f1 Create README.md 5 år sedan
Makefile 3f83178693 Initial push 5 år sedan
README.md e39b0ce2f1 Create README.md 5 år sedan
frames2img.c 3f83178693 Initial push 5 år sedan

README.md

frames2img

The average colour of each frame passed into the program

Use ffmpeg to extract the frames you want from whatever you want to create the image from

ffmpeg -i movie.mp4 -r 1 frames/$filename%05d.png

and then run it like

./frames2img frames/*

and it will write to "output.png" one vertical line per frame that is the average colour of that frame.