Skip to content

Instantly share code, notes, and snippets.

@nico-lab
nico-lab / hevc_vulkan.txt
Created September 19, 2024 12:36
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)
@nico-lab
nico-lab / h264_vulkan.txt
Created September 19, 2024 12:36
ffmpeg -h encoder=h264_vulkan
Encoder h264_vulkan [H.264/AVC (Vulkan)]:
General capabilities: dr1 delay hardware
Threading capabilities: none
Supported hardware devices: vulkan
Supported pixel formats: vulkan
h264_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)
@nico-lab
nico-lab / h264_mf.txt
Created August 19, 2023 00:37
ffmpeg -h encoder=h264_mf
Encoder h264_mf [H264 via MediaFoundation]:
General capabilities: dr1 delay hybrid
Threading capabilities: none
Supported pixel formats: nv12 yuv420p
h264_mf AVOptions:
-rate_control <int> E..V....... Select rate control mode (from -1 to INT_MAX) (default default)
default -1 E..V....... Default mode
cbr 0 E..V....... CBR mode
pc_vbr 1 E..V....... Peak constrained VBR mode
u_vbr 2 E..V....... Unconstrained VBR mode
@nico-lab
nico-lab / rav1e-ch.txt
Last active April 10, 2023 12:08
rav1e-ch --help
AV1 video encoder
Usage:
Commands:
advanced
Advanced features
help
Print this message or the help of the given subcommand(s)
@nico-lab
nico-lab / librav1e.txt
Created April 10, 2023 12:03
ffmpeg -h encoder=librav1e
Encoder librav1e [librav1e AV1]:
General capabilities: dr1 delay threads
Threading capabilities: other
Supported pixel formats: yuv420p yuvj420p yuv420p10le yuv420p12le yuv422p yuvj422p yuv422p10le yuv422p12le yuv444p yuvj444p yuv444p10le yuv444p12le
librav1e AVOptions:
-qp <int> E..V....... use constant quantizer mode (from -1 to 255) (default -1)
-speed <int> E..V....... what speed preset to use (from -1 to 10) (default -1)
-tiles <int> E..V....... number of tiles encode with (from -1 to I64_MAX) (default 0)
-tile-rows <int> E..V....... number of tiles rows to encode with (from -1 to I64_MAX) (default 0)
-tile-columns <int> E..V....... number of tiles columns to encode with (from -1 to I64_MAX) (default 0)
@nico-lab
nico-lab / av1_amf.txt
Last active October 2, 2024 13:41
ffmpeg -h encoder=av1_amf
Encoder av1_amf [AMD AMF AV1 encoder]:
General capabilities: dr1 delay hardware
Threading capabilities: none
Supported hardware devices: d3d11va d3d11va dxva2 dxva2
Supported pixel formats: nv12 yuv420p d3d11 dxva2_vld p010le
av1_amf AVOptions:
-usage <int> E..V....... Set the encoding usage (from -1 to 5) (default -1)
transcoding 0 E..V....... Generic Transcoding
ultralowlatency 2 E..V....... ultra low latency trancoding
lowlatency 1 E..V....... Low latency usecase
@nico-lab
nico-lab / av1_nvenc.txt
Last active May 17, 2024 11:51
ffmpeg -h encoder=av1_nvenc
Encoder av1_nvenc [NVIDIA NVENC av1 encoder]:
General capabilities: dr1 delay hardware
Threading capabilities: none
Supported hardware devices: cuda cuda d3d11va d3d11va
Supported pixel formats: yuv420p nv12 p010le yuv444p p016le yuv444p16le bgr0 bgra rgb0 rgba x2rgb10le x2bgr10le gbrp gbrp16le cuda d3d11
av1_nvenc AVOptions:
-preset <int> E..V....... Set the encoding preset (from 0 to 18) (default p4)
default 0 E..V.......
slow 1 E..V....... hq 2 passes
medium 2 E..V....... hq 1 pass
@nico-lab
nico-lab / av1_qsv.txt
Last active May 8, 2024 11:01
ffmpeg -h encoder=av1_qsv
Encoder av1_qsv [AV1 (Intel Quick Sync Video acceleration)]:
General capabilities: delay hybrid
Threading capabilities: none
Supported hardware devices: qsv qsv qsv
Supported pixel formats: nv12 p010le qsv
av1_qsv encoder AVOptions:
-async_depth <int> E..V....... Maximum processing parallelism (from 1 to INT_MAX) (default 4)
-preset <int> E..V....... (from 0 to 7) (default 0)
veryfast 7 E..V.......
faster 6 E..V.......
@nico-lab
nico-lab / vp9_qsv.txt
Last active May 8, 2024 11:01
ffmpeg -h encoder=vp9_qsv
Encoder vp9_qsv [VP9 video (Intel Quick Sync Video acceleration)]:
General capabilities: delay hybrid
Threading capabilities: none
Supported hardware devices: qsv qsv qsv
Supported pixel formats: nv12 p010le vuyx qsv xv30le
vp9_qsv encoder AVOptions:
-async_depth <int> E..V....... Maximum processing parallelism (from 1 to INT_MAX) (default 4)
-preset <int> E..V....... (from 0 to 7) (default 0)
veryfast 7 E..V.......
faster 6 E..V.......
@nico-lab
nico-lab / format_tags.txt
Created July 18, 2022 01:07
v5.0 ffprobe -show_entries format_tags -i input
[FORMAT]
TAG:major_brand=isom
TAG:minor_version=1
TAG:compatible_brands=isom
TAG:creation_time=2016-12-06T06:06:38.000000Z
TAG:copyright=
TAG:copyright-eng=
[/FORMAT]