Skip to content

utility-toolbox/ffmpeg-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeQL

ffmpeg-tools

ffmpeg-tools offers helpful ffmpeg commands

Installation

sudo apt install ffmpeg python3 python3-venv git pipenv
git clone https://github.com/utility-toolbox/ffmpeg-tools  # get code
cd ffmpeg-tools
python3 -m venv .venv  # virtual-environment
pipenv install  # install dependencies
echo "export \"\$PATH:`pwd`\"" >> ~/.bashrc  # add to path
source ~/.bashrc  # or restart your shell

Usage

usage: ffmpeg-tools [-h] [-v] {chapters-split,concat,stack} ...

Shell-Completion

To get temporary shell completion (for your running shell-instance)

eval "$(ffmpeg-tools --shell-completion)"

For permanent shell completion you can add the line above to ~/.bashrc. This would increase your shell startup time by a good margin so it's not recommended. The recommended way would be to pipe the completion-script to a file and sourcing that.

mkdir -p "~/.bash_completion.d/"
ffmpeg-tools --shell-completion > "~/.bash_completion.d/ffmpeg-tools.completion.sh"
echo "source \"~/.bash_completion.d/ffmpeg-tools.completion.sh\"" >> ~/.bashrc

The middle-command has to be redone when updating this project.

About

ffmpeg-tools offers helpful ffmpeg commands

Resources

License

Stars

Watchers

Forks