Skip to content

Instantly share code, notes, and snippets.

@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 February 26, 2024 06:13
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
av1_amf AVOptions:
-usage <int> E..V....... Set the encoding usage (from 0 to 1) (default transcoding)
transcoding 0 E..V.......
lowlatency 1 E..V.......
-profile <int> E..V....... Set the profile (default main) (from 1 to 1) (default main)
@nico-lab
nico-lab / av1_nvenc.txt
Last active April 15, 2024 11:30
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 March 7, 2023 04:06
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
Created November 9, 2022 11:55
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]
Usage: SvtAv1EncApp <options> <-b dst_filename> -i src_filename
Examples:
Multi-pass encode (VBR):
SvtAv1EncApp <--stats svtav1_2pass.log> --passes 2 --rc 1 --tbr 1000 -b dst_filename -i src_filename
Multi-pass encode (CRF):
SvtAv1EncApp <--stats svtav1_2pass.log> --passes 2 --rc 0 --crf 43 -b dst_filename -i src_filename
Single-pass encode (VBR):
SvtAv1EncApp --passes 1 --rc 1 --tbr 1000 -b dst_filename -i src_filename
@nico-lab
nico-lab / aomenc.txt
Last active March 14, 2024 13:05
aomenc --help
Usage: aomenc <options> -o dst_filename src_filename
Options:
--help Show usage options and exit
-c <arg>, --cfg=<arg> Config file to use
-D, --debug Debug mode (makes output deterministic)
-o <arg>, --output=<arg> Output filename
--codec=<arg> Codec to use
-p <arg>, --passes=<arg> Number of passes (1/2/3)
--pass=<arg> Pass to execute (1/2/3)