https://github.com/maruyamaworks/ffmpeg-completion
Bash-completion script for FFmpeg
https://github.com/maruyamaworks/ffmpeg-completion
bash bash-completion ffmpeg
Last synced: 10 days ago
JSON representation
Bash-completion script for FFmpeg
- Host: GitHub
- URL: https://github.com/maruyamaworks/ffmpeg-completion
- Owner: maruyamaworks
- Created: 2017-07-20T16:08:35.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-23T17:16:53.000Z (almost 9 years ago)
- Last Synced: 2026-06-12T15:34:09.181Z (10 days ago)
- Topics: bash, bash-completion, ffmpeg
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 16
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ffmpeg-completion
bash-completion script for FFmpeg
### Requirements
- FFmpeg
- bash-completion
If you do not have `bash-completion` package installed, run following commands.
```bash
# 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
```bash
$ git clone https://github.com/clerk67/ffmpeg-completion.git
```
1. Source ffmpeg script.
```bash
$ cd ffmpeg-completion
$ source ffmpeg
```
1. 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.