Skip to content

Instantly share code, notes, and snippets.

@nico-lab
Created September 19, 2024 12:36
Show Gist options
  • Save nico-lab/2a359266d3d86b83ae4a2b7f6f1ee957 to your computer and use it in GitHub Desktop.
Save nico-lab/2a359266d3d86b83ae4a2b7f6f1ee957 to your computer and use it in GitHub Desktop.
ffmpeg -h encoder=hevc_vulkan
Encoder hevc_vulkan [H.265/HEVC (Vulkan)]:
General capabilities: dr1 delay hardware
Threading capabilities: none
Supported hardware devices: vulkan
Supported pixel formats: vulkan
hevc_vulkan AVOptions:
-idr_interval <int> E..V....... Distance (in I-frames) between key frames (from 0 to INT_MAX) (default 0)
-b_depth <int> E..V....... Maximum B-frame reference depth (from 1 to INT_MAX) (default 1)
-async_depth <int> E..V....... Maximum processing parallelism. Increase this to improve single channel performance. (from 1 to 64) (default 2)
-qp <int> E..V....... Use an explicit constant quantizer for the whole stream (from -1 to 255) (default -1)
-quality <int> E..V....... Set encode quality (trades off against speed, higher is faster) (from 0 to INT_MAX) (default 0)
-rc_mode <int> E..V....... Select rate control type (from 0 to UINT32_MAX) (default auto)
auto 4294967295 E..V....... Choose mode automatically based on parameters
driver 0 E..V....... Driver-specific rate control
cqp 1 E..V....... Constant quantizer mode
cbr 2 E..V....... Constant bitrate mode
vbr 4 E..V....... Variable bitrate mode
-tune <int> E..V....... Select tuning type (from 0 to INT_MAX) (default default)
default 0 E..V....... Default tuning
hq 1 E..V....... High quality tuning
ll 2 E..V....... Low-latency tuning
ull 3 E..V....... Ultra low-latency tuning
lossless 4 E..V....... Lossless mode tuning
-usage <flags> E..V....... Select usage type (default 0)
default E..V....... Default optimizations
transcode E..V....... Optimize for transcoding
stream E..V....... Optimize for streaming
record E..V....... Optimize for offline recording
conference E..V....... Optimize for teleconferencing
-content <flags> E..V....... Select content type (default 0)
default E..V....... Default content
camera E..V....... Camera footage
desktop E..V....... Screen recording
rendered E..V....... Game or 3D content
-profile <int> E..V....... Set profile (profile_idc and constraint_set*_flag) (from -99 to 65535) (default -99)
main 1 E..V.......
main10 2 E..V.......
rext 4 E..V.......
-tier <int> E..V....... Set tier (general_tier_flag) (from 0 to 1) (default main)
main 0 E..V.......
high 1 E..V.......
-level <int> E..V....... Set level (general_level_idc) (from -99 to 255) (default -99)
1 30 E..V.......
2 60 E..V.......
2.1 63 E..V.......
3 90 E..V.......
3.1 93 E..V.......
4 120 E..V.......
4.1 123 E..V.......
5 150 E..V.......
5.1 153 E..V.......
5.2 156 E..V.......
6 180 E..V.......
6.1 183 E..V.......
6.2 186 E..V.......
-units <flags> E..V....... Set units to include (default hdr+a53_cc)
hdr E..V....... Include HDR metadata for mastering display colour volume and content light level information
a53_cc E..V....... Include A/53 caption data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment