1.9 KiB
1.9 KiB
SystemConfigFFmpegDto
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| accel | TranscodeHWAccel | ||
| accel_decode | bool | ||
| accepted_audio_codecs | List[AudioCodec] | ||
| accepted_containers | List[VideoContainer] | ||
| accepted_video_codecs | List[VideoCodec] | ||
| bframes | int | ||
| cq_mode | CQMode | ||
| crf | int | ||
| gop_size | int | ||
| max_bitrate | str | ||
| preferred_hw_device | str | ||
| preset | str | ||
| refs | int | ||
| target_audio_codec | AudioCodec | ||
| target_resolution | str | ||
| target_video_codec | VideoCodec | ||
| temporal_aq | bool | ||
| threads | int | ||
| tonemap | ToneMapping | ||
| transcode | TranscodePolicy | ||
| two_pass | bool |
Example
from generated.immich.openapi_client.models.system_config_f_fmpeg_dto import SystemConfigFFmpegDto
# TODO update the JSON string below
json = "{}"
# create an instance of SystemConfigFFmpegDto from a JSON string
system_config_f_fmpeg_dto_instance = SystemConfigFFmpegDto.from_json(json)
# print the JSON string representation of the object
print(SystemConfigFFmpegDto.to_json())
# convert the object into a dict
system_config_f_fmpeg_dto_dict = system_config_f_fmpeg_dto_instance.to_dict()
# create an instance of SystemConfigFFmpegDto from a dict
system_config_f_fmpeg_dto_from_dict = SystemConfigFFmpegDto.from_dict(system_config_f_fmpeg_dto_dict)