ffmpeg -i input.mp4 -vf "scale=1:ih" frames_%04d.png
magick montage -mode concatenate -tile x1 frames_*.png "output.png"Show HN: Movie Iris - Visualizing Films Through Color Extraction
11–20 of 44 posts
Re: Show HN: Movie Iris - Visualizing Films Through Color Extraction
#12I have a cli tool I maintain that finds visually similar images. As a fun experiment several years ago I extracted all the frames of Skyfall and all the frames of the first Harry Potter movie. I then reconstructed Harry Potter frame by frame using the corresponding frame from Skyfall that was most visually similar. The end result was far more indecipherable than I'd ever expected. The much darker color pallet of Harr…
I spent some time earlier this year on creating mosaics of movie posters using other posters as tiles: https://joshmosier.com/posts/movie-posters/full-res.jpg (warning: 20mb file) Using this on each frame of a scene gave some good results with a fine enough grid even with no repeating tiles: https://youtu.be/GVHPi-FrDY4
Re: Show HN: Movie Iris - Visualizing Films Through Color Extraction
#13Re: Show HN: Movie Iris - Visualizing Films Through Color Extraction
#14This is quite nice. Not sure what the meaning is of a circle versus, say, a linear strip, but it’s very effective for showing the dominant colors over time. I’d love to generally see this for many movies across time; my understanding is most are color graded green/yellow now and it’d be nice to visually see this evolution.
Re: Show HN: Movie Iris - Visualizing Films Through Color Extraction
#15This is quite nice. Not sure what the meaning is of a circle versus, say, a linear strip, but it’s very effective for showing the dominant colors over time. I’d love to generally see this for many movies across time; my understanding is most are color graded green/yellow now and it’d be nice to visually see this evolution.
Re: Show HN: Movie Iris - Visualizing Films Through Color Extraction
#16Here's how to do it with ffmpeg and ImageMagick: ffmpeg -i input.mp4 -vf "scale=1:ih" frames_%04d.png magick montage -mode concatenate -tile x1 frames_*.png "output.png"
>bash: /usr/bin/montage: Argument list too long
with 114394 files for a 1h20m film.
Re: Show HN: Movie Iris - Visualizing Films Through Color Extraction
#17This is quite nice. Not sure what the meaning is of a circle versus, say, a linear strip, but it’s very effective for showing the dominant colors over time. I’d love to generally see this for many movies across time; my understanding is most are color graded green/yellow now and it’d be nice to visually see this evolution.
Iris gotta look like iris
Re: Show HN: Movie Iris - Visualizing Films Through Color Extraction
#18Here's how to do it with ffmpeg and ImageMagick: ffmpeg -i input.mp4 -vf "scale=1:ih" frames_%04d.png magick montage -mode concatenate -tile x1 frames_*.png "output.png"
does it work for you on a film? 'magick' isn't a command on my install. I can run montage but get >bash: /usr/bin/montage: Argument list too long with 114394 files for a 1h20m film.
Re: Show HN: Movie Iris - Visualizing Films Through Color Extraction
#19I have a cli tool I maintain that finds visually similar images. As a fun experiment several years ago I extracted all the frames of Skyfall and all the frames of the first Harry Potter movie. I then reconstructed Harry Potter frame by frame using the corresponding frame from Skyfall that was most visually similar. The end result was far more indecipherable than I'd ever expected. The much darker color pallet of Harr…
If you had a much bigger corpus, and used some semantics-aware similarity metrics (think embeddings), you could maybe end up with something actually coherent
Re: Show HN: Movie Iris - Visualizing Films Through Color Extraction
#20Earlier quoted context omitted.
does it work for you on a film? 'magick' isn't a command on my install. I can run montage but get >bash: /usr/bin/montage: Argument list too long with 114394 files for a 1h20m film.
You'll need to install ImageMagick: https://imagemagick.org/script/download.php
>montage
>Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25