Skip to content
/ cropper Public

Automatically crops videos, to remove black bars. Common on videos from some internet sources.

Notifications You must be signed in to change notification settings

drkno/cropper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cropper

Automatically crops videos, to remove black bars. Common on videos from some internet sources.

Installing

yarn
# or
npm install
# or
docker pull drkno/cropper:latest

Note: there is also a system dependency on ffmpeg.

Running as a CLI Tool

To print help:

node src/main.js --help
node src/main.js detect --help
node src/main.js crop --help

Detect crop dimensions:

node src/main.js detect <file>

Crop file:

node src/main.js crop <input file> <output file>

Running as a server

Server mode allows cropper to automatically receive new files from Sonarr and Radarr for cropping.

node src/main.js serve

Connect the following webhooks to Sonarr and Radarr:

  • /api/1/webhook/sonarr
  • /api/1/webhook/radarr

About

Automatically crops videos, to remove black bars. Common on videos from some internet sources.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published