#!/bin/bash exec vpxenc \ --passes=2 \ --threads=1 \ --best \ --end-usage=0 \ --auto-alt-ref=1 \ --minsection-pct=5 \ --maxsection-pct=800 \ --lag-in-frames=16 \ --kf-min-dist=0 \ --kf-max-dist=360 \ --token-parts=0 \ --static-thresh=0 \ --drop-frame=0 \ --min-q=0 \ --max-q=60 \ \ "$@"