Skip to content
This repository was archived by the owner on Jan 26, 2025. It is now read-only.
/ rav1ator-cli Public archive

An easy-to-use CLI utility for working with Av1an, written in Bash.

License

Notifications You must be signed in to change notification settings

gianni-rosato/rav1ator-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rAV1ator CLI

An easy-to-use CLI utility for working with Av1an, written in Bash.

~ > rav1ator-cli -h
rAV1ator: CLI Edition_ v0.2.0

Usage:
	rav1ator-cli [input] [output] [--offline]

Dependencies (Arch): 
	rust ffmpeg python mkvtoolnix-cli vapoursynth gum numactl l-smash vapoursynth-plugin-lsmashsource av1an ffms2

Options: (Currently, only one option is useful at a time)
	-h, --help			Print this help section
	-l, --last-used		Print last used encode settings from history
	-f, --full-history	Print full history from ".rav1ator-cli-history" file
	-b, --binaries		Just install binaries, then exit
	-x, --offline		Don't check for updates.
	-a, --batch			Batch encode. All video files in a directory specified after this flag are encoded.

rAV1ator CLI Edition can:

  • Check if it is installed & up to date on its own without a package manager

  • Download AVX2-optimized encoder binaries compiled with -O3 -flto in most cases & allow the user to install them with detailed instructions

  • Remember encoding history and let you view your whole history or your most recent command

  • Allow you to encode an entire directory of video files with the same settings

  • Encode with x264, x265, aomenc, SVT-AV1, or rav1e, set a speed preset, CRF/quality value, FFmpeg parameters, and encoder parameters

  • Generate Av1an encoding commands with the user's chosen settings & run them to encode a provided input video to an MKV output.

  • Encode from scratch, or resume a previous rAV1ator CLI encode

  • Engage with rich interactivity features like spinners, prompts, & dropdowns

  • Automatically error check binaries with SHA256 hashes for security & convenience

Overall, it aims to provide an easy way to encode videos on the command line with helpful visual feedback. The interactive prompts help users pick encoding settings without needing deep encoding knowledge.

Installation

Installing rAV1ator CLI on its own is as simple as running the following two commands:

curl -sOJ https://raw.githubusercontent.com/gianni-rosato/rav1ator-cli/main/rav1ator-cli && chmod +x rav1ator-cli
sudo cp rav1ator-cli /usr/local/bin

rAV1ator CLI will not work properly if not installed in /usr/local/bin.

After it is properly installed, it will update itself in the future when updates become available.

Dependencies can be installed on Arch by running the following command:

yay -Syu openssl ffmpeg python mkvtoolnix-cli vapoursynth gum l-smash vapoursynth-plugin-lsmashsource av1an ffms2

Demos

rav1ator_cli-demo1

rav1ator_cli-demo2

If you want to learn more about AV1 encoding, check out AV1 Encoding for Dummies

About

An easy-to-use CLI utility for working with Av1an, written in Bash.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages