Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gnikyt/movie-barcode
Creates a neat image representing the colors of a movie
https://github.com/gnikyt/movie-barcode
abstract art image-processing imagemagick novelty
Last synced: 2 months ago
JSON representation
Creates a neat image representing the colors of a movie
- Host: GitHub
- URL: https://github.com/gnikyt/movie-barcode
- Owner: gnikyt
- License: mit
- Created: 2015-02-20T13:04:51.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-25T22:46:57.000Z (over 8 years ago)
- Last Synced: 2023-03-11T05:40:40.577Z (almost 2 years ago)
- Topics: abstract, art, image-processing, imagemagick, novelty
- Language: Shell
- Size: 1.41 MB
- Stars: 5
- Watchers: 0
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Movie Barcode
This is a simple script which uses ffmpeg and ImageMagick to create a simple and neat colorful image which reprecents the movie.
## Requirements
+ ffmpeg
+ ImageMagickIf you do not have these commands, [Homebrew](http://brew.sh) makes it easy to install.
## Installation
1. Clone this repository
2. Make `movie-barcode` an executable via `chmod +x movie-barcode`
3. Enjoy!## Usage
`movie-barcode.sh [PATH_TO_MOVIE] [FRAMES_TO_EXRACT=2000]`
## Sample
**Movie: Scarface (1983)**
`movie-barcode.sh "$HOME/Movies/Scarface (1983).mp4" 2000`
![Movie Barcode of Scarface](https://raw.githubusercontent.com/tyler-king/movie-barcode/master/samples/scarface.jpg)
**Music: DMX - I Don't Dance**
`movie-barcode.sh "$HOME/Downloads/DMX - I Dont Dance.mp4" 2000`
![Movie Barcode of DMX](https://raw.githubusercontent.com/tyler-king/movie-barcode/master/samples/dmx.jpg)
## Output
--- Movie Barcode Generator ---
Movie: I Don't Dance (Video) - DMX.mp4
Frames: 2000
Movie duration: 230.248333
FPS extraction: 1/.115124166500000000001. Extracting frames...
Extraction complete!2. Resizing images...
Resizing complete!3. Creating final image...
Movie barcode created (barcode.jpg)!