Skip to content
jonaPublic

About

Compress videos to web-optimized MP4 (H.264) and WebM (VP9)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

vcp

Compress videos to web-optimized MP4 (H.264) and WebM (VP9).

Prerequisites

Install

npm install -g vcp

Usage

vcp <input> [output-basename]

Examples

vcp hero.mov                # → hero-compressed.mp4, hero-compressed.webm
vcp demo.mp4 output         # → output-compressed.mp4, output-compressed.webm

Output formats

Format Codec Audio CRF
MP4 H.264 AAC 128k 23
WebM VP9 Opus 96k 30

Videos are scaled down to a max of 1920x1080 while preserving aspect ratio. Videos smaller than that are left at their original resolution.

License

MIT

About

Compress videos to web-optimized MP4 (H.264) and WebM (VP9)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages