Repository navigation
Added
- AMD hardware encoders on Windows.
h264_amf,hevc_amf, andav1_amfencode on an AMD GPU through AMF, using its best-quality presets.av1_amfneeds an RX 7000-series card or newer. Thanks to @Cwooper for building and testing these. (#153) - VA-API hardware encoders on Linux.
h264_vaapiandav1_vaapiencode on an AMD or Intel GPU through VA-API.vainfolists what your driver can encode. There's nohevc_vaapi, because Mesa's AMD driver writes HEVC that doesn't decode cleanly in MP4. Also from @Cwooper. (#153) av1_nvenc. Hardware AV1 on an NVIDIA RTX 40-series card or newer, with ffmpeg 6.0 or newer. (#152)
Changed
- NVENC uses its best-quality preset (
p7). On a 30-second 1080p60 clip, this adds 1–3 seconds toh264_nvencandav1_nvenc, and about 7 seconds tohevc_nvenc, in exchange for better quality at the same file size. ffmpeg 4.x builds keep the old default. (#155)
Each OS only lists its own hardware codecs: AMF on Windows, VA-API on Linux, and VideoToolbox on macOS. NVENC is listed everywhere.
New user?
pip install ffmpeg4discord
Updating an existing install?
pip install --upgrade ffmpeg4discord
What's Changed
- Add the av1_nvenc hardware encoder by @zfleeman in #152
- Add VA-API and AMF hardware encoders by @zfleeman in #153
- Use NVENC's p7 preset and list AMF and VA-API in the --codec help by @zfleeman in #155
- Bump version to 0.5.0 by @zfleeman in #156
Full Changelog: v0.4.4...v0.5.0