Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 962 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 962 Bytes

ffmpeg-completion

bash-completion script for FFmpeg

Requirements

  • FFmpeg
  • bash-completion

If you do not have bash-completion package installed, run following commands.

# for CentOS
$ sudo yum install epel-release
$ sudo yum install --enablerepo=epel bash-completion

# for Ubuntu
$ sudo apt-get install bash-completion

How to use

  1. Clone this repository

    $ git clone https://github.com/clerk67/ffmpeg-completion.git
  2. Source ffmpeg script.

    $ cd ffmpeg-completion
    $ source ffmpeg
  3. Enter ffmpeg -f to your terminal and hit the Tab key twice!

Automatic activation

  • Put ffmpeg script to /etc/bash_completion.d or /usr/share/bash-completion/completions . Scripts in these directories will be automatically sourced every time you start the shell.
  • Also, you can add source /path/to/ffmpeg-completion-script to your .bashrc instead of the first approach.