This is more for my personal pursuit just a place to back up and info so I don't lose it.
Commands to extract frames, crop, then resize (adjust commands accordingly).
Command to extract frames from video(from terminal) ffmpeg -i Video.mpg image-%05d.png
Or use the below command to control how many frames you want per second (example below produces 2 frames per second [Given by Rich2005 in post #2 below]) ffmpeg -y -r 25 -i <filename.ext> -r 2 image.%06d.jpg
Crop multiple files to the cropped folder after making cropped directory mkdir cropped mogrify -crop 360x360+80+0 +repage -path ./cropped *.png
Resizes after making resized directory cd cropped mkdir resized mogrify -resize 100x100 -path ./resized *.png
Optional grayscale cd resized mkdir gray mogrify -grayscale Average -path ./gray *.png
will read images from a folder, figure out average color of frames and outputs to code.py (which has data.appends()) which will be read by later script. Will be available under Python-Fu>A Read Colors...
this will read info from code.py from the selected folder, specifying width and height. then runs on a pixelized (scaled down image) to generate the final mosaic. Will be available under Python-Fu>A Generate Image...
version 2. Random scatter while generating image so if you have a lot of one color and the matching colors are a bit off it's scattered so it's not noticable (well at least that's the goal. experimental)
Your mpg video file might have a frame rate of 25 (PAL) or 29.97 (NTSC) frames per second. That is a lot of pictures and not much colour variation between adjacent images on the timeline. You can thin them down afterwards or use ffmpeg something like this
ffmpeg -y -r 25 -i <filename.ext> -r 2 image.%06d.jpg which gives about 2 frames per second. Plenty to get some variation.
I knew a person who made copies of copyrighted movies and sold them at truck stops, flea markets and events.
One day the polices searched his house and confiscated his computers and dvd duplicators and related materials.
It was less than a year later I moved to a different state; his property had not yet been returned and he had not yet faced trial. I never learned what the outcome was though I doubt it was good.
If I were you I would not display in public or sell online. The better your success in selling, the worse the penalty.
From Legal Zoom
Copyright law does not contain any caveat that allows unauthorized parties to make personal copies of copyrighted products. However, under the doctrine of "fair use," individuals may be permitted to make backup copies or archival copies of some materials as long as certain conditions are met. Creating a copy of a copyrighted work for your own ease of use is likely to be considered copyright infringement. But if you are making a copy so that you may use a copyrighted product in case the original is stolen, damaged or destroyed, your conduct may fall within the doctrine of fair use.
Generally, copyright infringement occurs when an unauthorized party reproduces, distributes, performs, publicly displays, or makes a derivative work from a copyrighted work without the permission of the copyright owner. Although the practice commonly occurs, making a copy of a protected work for a friend or for personal ease of access is prohibited and may subject the person making copies to personal liability. Additionally, making a personal copy of copyrighted material so that you can use it in a different manner may be prohibited under copyright law.
Within copyright law there is a doctrine of law known as fair use. Although fair use does not actually give permission to make copies of a work or otherwise use a work without consent, the doctrine provides a defense to copyright infringement. The factors considered when applying the doctrine of fair use include: the purpose and character of the use, the nature of the copyrighted work, the amount of the work used, and the effect the use has upon the market for the copyrighted work.