@designsystemsinternational/optimize
v0.1.4
Published
Opinionated asset optimizer using ffmpeg
Downloads
4
Keywords
Readme
Optimize
This is a opinionated video optimizer using ffmpeg with sensible settings for the web.
First, you need to have ffmpeg installed.
$ brew install ffmpeg
Make sure to globally install the command line tool.
$ npm i -g @designsystemsinternational/optimize
Video optimizing tool
A tool that automatically creates .jpg thumb, .mp4 and .webm optimized in heights 360px, 720px and 1080px preserving the aspect ratio of the original file.
Usage: optimize [options][command]
Commands:
help
Display help
version
Display version
Options:
-h, --help
Output usage information
-q, --quick
Don't have time? (disabled by default)
-s, --sizes <list>
The sizes to be optimized to (defaults to [360,720,1080])
-t, --target [value]
Where the optimized files will be saved (defaults to "optimized")
-v, --version
Output the version number