Skip to content

specialgee/klips

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KLIPS

klips is a collection of script utils for video manipulation.

Dependencies

FFmpeg

youtube-dl

Installation

Clone this repository

git clone https://github.com/specialgee/klips.git

Add scripts to your shell configuration file (.bashrc, .zshrc) i.e.

source "/path/to/your/script.sh"

Usage

gif

extract gif from video

uses FFmpeg filter from GIPHY: how-to-make-gifs-with-ffmpeg

gif input output start end fps width

-input        video input path
-output       gif output path
-start        start time in seconds/timestamp
-end          end time in duration/timestamp
-fps          framerate
-width        output image width

chop

chop video

chop input output start end fps width

-input        video input path
-output       video output path
-start        start time in seconds/timestamp
-end          end time in timestamp
-fps          framerate
-width        output video width

frame

extract one frame from video

frame input timestamp output

-input        video input path"
-output       video output path"
-time        frame position timestamp"

scale

scale input to specific size

scale input output width height

-input        video input path"
-output       video output path"
-width        scaled width size"
-height        scaled height size"

vx

transform a video file with 16:9 aspect ratio into 4:3

vx input output

-input        file input path
-output       file output path

cfr

transcode video to constant framerate

cfr input output fps

-input        file input path
-output       file output path
-fps          framerate

yt

download audio/video from Youtube with youtube-dl

yt [format] url

-url          youtube video url
-format       currently supported: mp3, mp4

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU GPLv3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages