I want to take a movie, and use a color average from one frame every minute to make a gradient. Whats the fastest way to do this?
Pic Unrelated.
You're not explaining enough. What do you mean by gradient?
If you want to get an approximate color average of a single frame you can use ffmpeg and scale to 1x1 while experimenting with scaling algos.
I'm attaching an example, but this one was scaled to 30x1 and then scaled back. 1x1 would have a single color per every frame.
I don't understand what you want to do after that.
>>246726
I'm talking about making a single gradient from a movie, using color average from one frame every minute.
>>246740
This sounds like an absolute shit idea.
there's no way to do this automatically, unless you program it yourself
>>246740
You are not explaining how do you want it all arranged. What type of gradient are you talking about? What is the result supposed to be? An image? A video?
You mean like this? https://imgur.com/a/oh3Qz
>>246665
This has been done a million times. Do you need it for something practical or is it meant to be a work of art in itself? If the latter, don't bother
You will need to write a program, Processing is probably the easiest for this sort of thing.to derive an average colour the logic would be something like:
for every pixel in the frame
add red value of this pixel to a total sum of red
add green value to a total sum of green
add blue value to ... etc etc
average red = total red / number of pixels
average green = total green / number of pixels
average blue = total blue / number of pixels
average frame colour is these averages in RGB colourspace
if you want the average colour of an entire minute, you could collect the average for a frame like this and them perform the same sort of averaging across all new saved averaged colours, creating an average of those averages. changes are it will be brown with that many frames...
you could either set up a gradient in illustrator with the RGB values inserted along it that your program spit out (manually, but one a minute isn't that bad), or you could then tell the program to render all these colours next to each other as rectangles or something, with blending or interpolation of your choice inbetween them.
tl;dr learn to program but it's been done already. pic related, it's Wall-E