Skip to content
/ fftok Public

Convert long, horizontal videos to short, vertical videos

License

Notifications You must be signed in to change notification settings

rtts/fftok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FFtok

Convert long, horizontal videos to short, vertical videos suitable for TikTok

If you're like me and you have to google what FFmpeg arguments to use every time you want to cut, trim, crop, concatenate, or resize a video before posting it to TikTok, then this repository contains 3 utilities to make life easier.

They are:

  1. ts - Cut video into intermediary ts files
  2. cc - Concatenate ts files
  3. ff - Convert to video suitable for TikTok

Here is an example of how to use them:

$ ts 'Jurassic Park.mp4' 00:30:42 00:31:15
$ cc 'Jurassic Park.ts' 'Family Guy.ts' combined.ts
$ ff combined.ts out.mp4

Installation

First, install FFmpeg on your system. On GNU/Linux operating systems you can use your package manager to install the ffmpeg package. For Windows and macOS follow the installation instructions at https://ffmpeg.org/download.html

After that, drop the files from this repository anywhere in your PATH and you're good to go!

Usage

Execute the commands ts, cc, or ff without arguments to see the usage instructions.

About

Convert long, horizontal videos to short, vertical videos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages