Nav apraksta

Dan Hintz - Arch dd1baf79f5 Put the output height to 1080 5 gadi atpakaļ
examples 77811b3219 Switched to using the Heap because of a stack overflow from doing long inputs 5 gadi atpakaļ
Makefile 77811b3219 Switched to using the Heap because of a stack overflow from doing long inputs 5 gadi atpakaļ
README.md 98b3079152 updated readme 5 gadi atpakaļ
frames2img.c dd1baf79f5 Put the output height to 1080 5 gadi atpakaļ

README.md

frames2img

The average colour of each frame passed into the program

Compiling

Needs libpng to process the frames and openmp to speed stuff up.

Usage

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

This takes one frame per second, but you can change that to whatever you want.

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.

Contributing

Come up with a better name/description because this one is bad