• Stars
    star
    178
  • Rank 214,989 (Top 5 %)
  • Language
    C++
  • License
    Other
  • Created almost 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

VCEによる高速エンコードの性能実験

VCEEnc

by rigaya

Build Windows Releases Build Linux Packages

日本語版はこちら>>

This software is meant to investigate performance and image quality of HW encoder (VCE) of AMD. There are 2 types of software developed, one is command line version that runs independently, and the nother is a output plug-in of Aviutl.

VCEEncC.exe … Command line version supporting transcoding.
VCEEnc.auo … Output plugin for Aviutl.

Downloads & update history

rigayaの日記兼メモ帳>>
github releases

Install

Install instructions for Windows and Linux.

Build

Build instructions for Windows and Linux

System Requirements

Windows

Windows 10/11 (x86 / x64)
Aviutl 1.00 or later (VCEEnc.auo)
Hardware which supports VCE
AMD GPU Radeon HD 7xxx or later
AMD APU Trinity (2nd Gen) or later

Linux

Debian/Ubuntu (VCEEncC)
It may be possible to run on other distributions (not tested).

VCEEnc required graphics driver version
VCEEnc 3.00 or later AMD driver 17.1.1 (16.50.2611) or later
VCEEnc 5.00 or later AMD driver 19.7.1 or later
VCEEnc 5.01 or later AMD driver 19.12.1 or later
VCEEnc 5.02 or later AMD driver 20.2.1 or later
VCEEnc 6.09 or later AMD driver 20.11.2 or later
VCEEnc 6.13 or later AMD driver 21.6.1 or later
VCEEnc 6.17 or later AMD driver 21.12.1 or later
VCEEnc 7.00 or later AMD driver 22.3.1 or later
VCEEnc 7.03 or later AMD driver 22.7.1 or later
VCEEnc 7.15 or later AMD driver 22.12.1 or later
VCEEnc 8.07 or later AMD driver 23.1.2 or later

Usage and options of VCEEncC

Option list and details of VCEEncC

Precautions for using VCEEnc

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.

Main usable functions

Common to VCEEnc / VCEEncC

  • Encoding using VCE/VCN
    • H.264/AVC
    • HEVC
    • AV1
  • Each encode mode of VCE
    • CQP (fixed quantization)
    • CBR (Constant bitrate)
    • VBR (Variable bitrate)
  • supports setting of codec profile & level, SAR, colormatrix, maxbitrate, GOP len, etc...

VCEEncC

  • Supports hw decoding
    • H.264 / AVC
    • HEVC
    • MPEG2
    • VP9
    • VC-1
  • Supports various formats such as avs, vpy, y4m, and raw
  • Supports demux/muxing using libavformat
  • Supports decode using libavcodec
  • Calculation of ssim/psnr of the encode
  • High performance filtering (VPP, Video Pre-Processing)
    • GPU filtering by OpenCL
      • deinterlacer
        • afs (Automatic field shift)
        • nnedi
      • colorspace conversion
        • hdr2sdr
      • subburn
      • resize
        • spline16, spline36, spline64
        • lanczos2, lanczos3, lanczos4
      • transpose / rotate / flip
      • padding
      • deband
      • noise reduction
        • knn (K-nearest neighbor)
        • pmd (modified pmd method)
      • edge / detail enhancement
        • unsharp
        • edgelevel (edge ​​level adjustment)
        • warpsharp

VCEEnc.auo (Aviutl plugin)

  • Audio encoding
  • Mux audio and chapter
  • afs (Automatic field shift) support

VCEEnc.auo

Supported HW Encode Codecs

GPU Arch GPU Gen dGPU iGPU VCE/VCN Gen H.264 HEVC AV1
GCN Southern/Sea Islands HD7xxx, RX2xx VCE1, VCE2 8bit
Volcanic Islands RX3xx VCE3 8bit
Polaris RX4xx, RX5xx VCE3.4 8bit 8bit
Vega Vega VCE4 8bit 8bit
Vega RyzenAPU(2xxx-3xxx) VCN1 8bit 8bit
Vega RyzenAPU(4xxx-5xxx) VCN2 8bit 10bit
RDNA RDNA1 RX5xxx VCN2 8bit 10bit
RDNA2 RX6xxx Zen4 APU VCN3 8bit 10bit
RDNA3 RX7xxx VCN4 8bit 10bit 10bit

Auto GPU selection in multi GPU envinronment

VCEEncC will automatically select a GPU depending on the options used, when there are multiple GPUs available which support VCE/VCN. --device option can be used to specify on which GPU to run manually.

  1. Select GPU which supports...
    Items below will be checked whether the GPU supports it or not
  • Codec, Profile, Level
  • Additionally, below items will be checked if specified
    • 10bit depth encoding
    • HW decode
  1. Prefer GPU which supports...
  • B frame support
  1. If there are multiple GPUs which suports all the items checked in 1. and 2., GPU below will be prefered.
  • GPU which has low Video Engine(VE) utilization
  • GPU which has low GPU core utilization

The purpose of selecting GPU with lower VE/GPU ulitization is to assign tasks to mulitple GPUs and improve the throughput of the tasks.

Please note that VE and GPU ulitization are check at the initialization pahse of the app, and there are delays in values taken. Therefore, it is likely that the multiple tasks started at the same time to run on the same GPU, and divided into multiple GPUs, even if the options are supported in every GPUs.

VCEEnc source code

  • MIT license.
  • This program is based on samples of AMD Media Framework, and contains source code provided by AMD Media Framework. For these licenses, please see the header part of the corresponding source and VCEEnc_license.txt.
  • This software depends on ffmpeg, tinyxml2, dtl, clRNG, ttmath & Caption2Ass. For these licenses, please see the header part of the corresponding source and VCEEnc_license.txt.

About source code

Windows ... VC build

Character code: UTF-8-BOM
Line feed: CRLF
Indent: blank x4

More Repositories

1

NVEnc

NVENCによる高速エンコードの性能実験
C++
872
star
2

QSVEnc

QSVによる高速エンコードの性能実験
C++
260
star
3

x264guiEx

拡張 x264 出力(GUI) Ex
C++
161
star
4

x265guiEx

拡張 x265 出力(GUI) Ex
C++
64
star
5

ffmpegOut

Aviutlのffmpegを使用した出力プラグイン
C++
39
star
6

svtAV1guiEx

拡張 SVT-AV1 出力(GUI) Ex
C++
38
star
7

rkmppenc

Rockchip系SoCのHWエンコーダ(rkmpp)の性能実験
C++
30
star
8

tsreplace

tsの映像部分のみの置き換えを行うツールです。
C++
26
star
9

CheckBitrate

動画ファイルを分析して、ビットレート分布をcsvで出力します。
C++
17
star
10

ram_speed

スレッド数ごとにアクセス速度を測定。
JavaScript
11
star
11

aui_indexer

lwinput.auiやm2v.auiで必要なindexファイルなどを事前生成します。
C++
9
star
12

VVenCguiEx

拡張 VVenC 出力(GUI) Ex
C++
8
star
13

edgelevel_avisynth

エッジレベル調整フィルタのAvisynth移植版です。
C++
8
star
14

bandingMT_simd

Aviutl バンディング低減フィルタMT 高速化版
C++
8
star
15

AviutlColor

Aviutlの色空間変換プラグイン
C++
7
star
16

pmd_mt

Aviutl PMD_MT ノイズ除去フィルタ 高速化版
C++
7
star
17

Aviutl-clfilters

Aviutl用のOpenCLによるGPUフィルタです。
C++
7
star
18

ffmpeg5_dlls_for_hwenc

QSVEncやNVENCの画質や速度といった性能の実験を目的とするQSVEncやNVEncのサブモジュールです。
C
7
star
19

hdr10plus_gen

cmake projectの練習用
C++
5
star
20

auo_setup

Aviutlプラグイン用の簡易インストーラです。
C++
5
star
21

checkhwenc

Standalone check tool for hw encoder availability
C++
5
star
22

vq_results

画質比較結果の公開用です。
JavaScript
4
star
23

build_scripts

自分用ビルドスクリプト集
Shell
4
star
24

OpenCLTest

OpenCLの勉強用
C++
4
star
25

ChapConvert

Converts chapter file formats.
C++
3
star
26

ffmpeg_dlls_for_hwenc_old

QSVEncやNVENCの画質や速度といった性能の実験を目的とするQSVEncやNVEncのサブモジュールです。
C
3
star
27

checkclinfo

Result of GPU detection via OpenCL
C++
3
star
28

afs

自動フィールドシフト 高速化版
C++
2
star
29

fawutil

C++
2
star
30

microbench

SIMD命令の速度を測る遊び
Assembly
2
star
31

edgelevelMT

Aviutl プラグイン エッジレベル調整 MT ver 0.7
C++
1
star
32

delogo

Aviutl 透過性ロゴフィルタ SIMD版
C
1
star
33

HWEncTest

QSVEnc/NVEnc/VCEEncのデバッグ/テスト/検証用
Python
1
star
34

build_pkg

currently for test
Python
1
star
35

rkmppenc_access_override

C
1
star