vsmuxtools.video.encoders.ffmpeg
FFV1
dataclass
FFV1(settings: str | LosslessPreset = LosslessPreset.MIDDLEGROUND, *, hdr10: HDR10Metadata | bool = True, **kwargs)
Bases: FFMpegEncoder
Uses ffmpeg to encode a clip to a lossless ffv1 stream.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
settings
|
str | LosslessPreset
|
Can either be a string of your own settings or any of the 3 presets. |
MIDDLEGROUND
|
hdr10
|
HDR10Metadata | bool
|
Preserve available static HDR10 metadata, supply explicit HDR10Metadata, or disable with False. Requires FFmpeg with -mastering_display and -content_light input options. |
True
|
Source code in
vsmuxtools/video/encoders/ffmpeg.py
ProRes
dataclass
Bases: FFMpegEncoder
Uses ffmpeg's prores-ks encoder to encode a clip to a ProRes stream.
Documentation for params and additional options can be viewed at: https://ffmpeg.org/ffmpeg-codecs.html#Private-Options-for-prores_002dks
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
profile
|
ProResProfile | int | None
|
The encoder profile. Basically Quality settings. Chooses the Standard/Default profile for 422 and the '4444' profile for 444 clips if None. |
None
|
hdr10
|
HDR10Metadata | bool
|
Preserve available static HDR10 metadata, supply explicit HDR10Metadata, or disable with False. Requires FFmpeg with -mastering_display and -content_light input options. |
True
|