This commit is contained in:
Zen 2020-12-24 21:44:39 +02:00
commit 803cc8c968

View file

@ -17,46 +17,48 @@ env:
jobs: jobs:
validate: validate:
name: ${{ matrix.name }} name: ${{ matrix.name }} ${{ matrix.enc }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: registry.gitlab.com/luigi311/encoders-docker:latest container: registry.gitlab.com/luigi311/encoders-docker:latest
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
enc: [aom, rav1e, svt_av1, vpx, x265, x264]
name: [baseline, target_quality]
include: include:
- name: baseline - name: baseline
flags: "" flags: ""
- name: scenes - name: target_quality
flags: -s scenes.json flags: --target_quality 95
- name: svt_av1 - name: chunk_hybrid
flags: -enc svt_av1 enc: aom
- name: rav1e
flags: -enc rav1e
- name: x265
flags: -enc x265
- name: x264
flags: -enc x264
- name: vpx
flags: -enc vpx
- name: workers
flags: -w 2
- name: chunk hybrid
flags: --chunk_method hybrid flags: --chunk_method hybrid
- name: chunk select - name: chunk_select
enc: aom
flags: --chunk_method select flags: --chunk_method select
- name: video flags - name: scenes
flags: -v " --threads=2 --cpu-used=6 --end-usage=q --cq-level=30 " enc: aom
- name: target quality flags: -s scenes.json
flags: -v " --threads=2 --cpu-used=6 --end-usage=q --cq-level=30 " --target_quality 95 - name: workers
enc: aom
flags: -w 2
- name: vmaf - name: vmaf
enc: aom
flags: --vmaf flags: --vmaf
- name: vmaf plot - name: vmaf_plots
enc: aom
flags: --vmaf_plots flags: --vmaf_plots
- name: extra splits - name: extra_splits
enc: aom
flags: -xs 10 flags: -xs 10
- name: split method - name: split_aom_keyframes
enc: aom
flags: --split_method aom_keyframes flags: --split_method aom_keyframes
- name: change temp - name: video_settings
enc: aom
flags: -v " --cpu-used=3 --end-usage=q --cq-level=30 --threads=8 "
- name: temp
enc: aom
flags: --temp temporary flags: --temp temporary
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -78,6 +80,6 @@ jobs:
tar xf video.tar.gz tar xf video.tar.gz
- name: Testing ${{ matrix.name }} - name: Testing ${{ matrix.name }}
run: | run: |
./av1an.py -i bus_cif.y4m -tr 20 --keep -o "bus_cif.mkv" ${{ matrix.flags }} ./av1an.py -i bus_cif.y4m -enc ${{ matrix.enc }} -tr 20 --keep -o "bus_cif.mkv" ${{ matrix.flags }}
du -h bus_cif.mkv du -h bus_cif.mkv
tree -a tree -a