Prerequisites:
Semver is the only external dependency. pip install semver
Usage:
python get_enterprise_url.py -h
will display all flags and options.
consul acl auth-method create \ | |
-type=oidc \ | |
-token-locality=global \ | |
-name=azure \ | |
-max-token-ttl=24h \ | |
-display-name="Azure Active Directory" \ | |
[email protected] | |
consul acl role create \ | |
-name="oidc-admin" \ |
If you've built ffmpeg as instructed here on Linux and the ffmpeg binary is in your path, you can do fast HEVC encodes as shown below, using NVIDIA's NPP's libraries to vastly speed up the process.
Now, to do a simple NVENC encode in 1080p, (that will even work for Maxwell Gen 2 (GM200x) series), start with:
ffmpeg -i <inputfile> -pass 1 \
-filter:v hwupload_cuda,scale_npp=w=1920:h=1080:format=nv12:interp_algo=lanczos,hwdownload,format=nv12 \
-c:v hevc_nvenc -profile main -preset slow -rc vbr_2pass \
Quickly check for supported NVENC and NPP hardware acceleration capabilities in FFmpeg on your platform:
Depending on how you built ffmpeg, you may want to check the supported NVENC-based hardware acceleration capabilities in ffmpeg by running:
$ for i in encoders decoders filters; do
echo $i:; ffmpeg -hide_banner -${i} | egrep -i "npp|cuvid|nvenc|cuda|nvdec"
done
Sample output (as on my testbed):
This playbook has been removed as it is now very outdated. |