Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pforret/squaredforwork

Create image reveal videos with ffmpeg and primitive
https://github.com/pforret/squaredforwork

bash-script bashew cinema ffmpeg movie poster primitive

Last synced: 4 days ago
JSON representation

Create image reveal videos with ffmpeg and primitive

Awesome Lists containing this project

README

        

# squaredforwork

**create reveal movies for pictures with imagemagick, ffmpeg and primitive**

![](assets/squared.jpg)

## Usage

```
Program: squaredforwork.sh 1.3.0 by [email protected]
Updated: Aug 27 18:23:37 2023
Usage: squaredforwork.sh [-h] [-q] [-v] [-f] [-1 ] [-2 ] [-3 ] [-b ] [-c ] [-e ] [-l ] [-m ] [-o ] [-p ] [-r ] [-s ] [-t ] [-i ] [-j ] [-x ]
Flags, options and parameters:
-h|--help : [flag] show usage [default: off]
-q|--quiet : [flag] no output [default: off]
-v|--verbose : [flag] output more [default: off]
-f|--force : [flag] do not ask for confirmation (always yes) [default: off]
-1|--instagram : [optn] export folder for instagram
-2|--tiktok : [optn] export folder for tiktok
-3|--facebook : [optn] export folder for facebook
-b|--border : [optn] add border to original image [default: 0]
-c|--credits : [optn] credits to add at the end [default: < Concept: @squaredforwork >]
-e|--extension : [optn] output extension [default: mp4]
-l|--log_dir : [optn] folder for log files [default: /Users/pforret/log/squaredforwork]
-m|--method : [optn] primitive method [default: 7]
-o|--opening : [optn] opening text [default: Guess the movie?]
-p|--steps : [optn] steps done by primitive [default: 600]
-r|--resize : [optn] resize WxH [default: 120x180]
-s|--full_size : [optn] pixels longest side [default: 1200]
-t|--tmp_dir : [optn] folder for temp files [default: .tmp]
-i|--img_dir : [optn] folder for poster images [default: image]
-j|--out_dir : [optn] folder for output movies [default: output]
-x|--prefix : [optn] prefix for output files [default: sfw]
: [parameter] action to perform: image/imdb
: [parameters] input image/film name (1 or more)
: [parameters] output file or '-' for automatic filename (1 or more)
```

## Examples

These are some low-res GIF versions of the end result:

Full size (800x1200):

![Example 1](assets/trumanshow.gif)

Half size (400x600):

![Example 2](assets/thehelp.gif)

And an actual video can be viewed here: [The Help (5MB .m4v)](assets/thehelp.m4v)