VideoCodec
public enum VideoCodec
Which encoder a video export asks for.
Ask VideoExport.IsCodecAvailable(…) before choosing one: which encoders exist is a property of the FFmpeg this library was linked against and of the machine it runs on, not of this enum.
| Value | ||
|---|---|---|
H264 |
0 |
H.264/AVC. Widely compatible, good compression. |
H265 |
1 |
H.265/HEVC. Better compression than VideoCodec.H264, and the same availability caveat. |
Av1 |
2 |
AV1. The best compression here, and live-capable on hardware. |
Vp9 |
3 |
VP9. Good compression, WebM compatible. |
Ffv1 |
4 |
FFV1. Lossless, and the one that keeps 16-bit radiometry intact. |
Mjpeg |
5 |
Motion JPEG. The default, and the only lossy encoder certain to be present: it is native to FFmpeg and in every build. |