GithubHelp home page GithubHelp logo

jeraldj / av1an Goto Github PK

View Code? Open in Web Editor NEW

This project forked from master-of-zen/av1an

0.0 0.0 0.0 16.1 MB

Cross-platform command-line AV1 / VP9 / HEVC / H264 / VVC encoding framework with per scene quality encoding

License: GNU General Public License v3.0

Dockerfile 0.58% Rust 99.42%

av1an's Introduction

Av1an

av1an fully utilizing a 96-core CPU for video encoding

Discord server CI tests

Buy Me A Coffee

Av1an is a video encoding framework. It can increase your encoding speed and improve cpu utilization by running multiple encoder processes in parallel. Target quality, VMAF plotting, and more, available to take advantage for video encoding.

For help with av1an, please reach out to us on Discord or file a GitHub issue.

Features

  • Hyper-scalable video encoding
  • Target Quality mode, using VMAF control encoders rate control to achieve the desired video quality
  • VapourSynth script support
  • Cancel and resume encoding without loss of progress
  • Minimal and clean CLI
  • Docker images available
  • Cross-platform application written in Rust

Usage

For complete reference, refer to CLI or run av1an --help

Encode a video file with the default parameters:

av1an -i input.mkv

Or use a VapourSynth script and custom parameters:

av1an -i input.vpy -v "--cpu-used=3 --end-usage=q --cq-level=30 --threads=8" -w 10 --target-quality 95 -a "-c:a libopus -ac 2 -b:a 192k" -l my_log -o output.mkv

Supported encoders

At least one encoder is required to use Av1an. The following encoders are supported:

Note that Av1an requires the executable encoder. If you use a package manager to install encoders, check that the installation includes an executable encoder (e.g. vpxenc, SvtAv1EncApp) from the list above. Just installing the library (e.g. libvpx, libSvtAv1Enc) is not enough.

Installation

av1an can be installed from package managers, cargo.io, or compliled manually. There are also pre-built Docker images which include all dependencies and are frequently updated.

For Windows users, prebuilt binaries are also included in every release, and a nightly build of the current master branch is also available.

Package managers

Arch Linux & Manjaro: pacman -S av1an Cargo: cargo install av1an

Manual installation

Prerequisites:

Optional:

  • L-SMASH VapourSynth plugin for better chunking (recommended)
  • DGDecNV Vapoursynth plugin for very fast and accurate chunking, dgindexnv executable needs to be present in system path and an NVIDIA GPU with CUVID
  • ffms2 VapourSynth plugin for better chunking
  • bestsource Vapoursynth plugin for slow but accurate chunking
  • mkvmerge to use mkvmerge instead of FFmpeg for file concatenation
  • VMAF to calculate VMAF scores and to use target quality mode

VapourSynth plugins on Windows

If you want to install the L-SMASH or ffms2 plugins and are on Windows, then you have two installation options. The easiest way is using the included plugin script:

  1. Open your VapourSynth installation directory
  2. Open a command prompt or PowerShell window via Shift + Right click
  3. Run python3 vsrepo.py install lsmas ffms2

av1an's People

Contributors

master-of-zen avatar redzic avatar shssoichiro avatar n9mtq4 avatar krakow10 avatar wwww-wwww avatar thomasedv avatar fuchs4 avatar natis1 avatar freezylemon avatar farid-fari avatar megapro17 avatar dependabot[bot] avatar nathanielcwm avatar adworacz avatar blueswordm avatar felixkruemel avatar luigi311 avatar nicomem avatar jeraldj avatar quantum1248 avatar iiiblueberry avatar simon-huber avatar y0ba avatar woot000 avatar sybilin avatar mxsrm avatar ishitatsuyuki avatar lastrosade avatar as-com avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.