cutcutcodec.core.compilation.export.default
Find the default settings for cutcutcodec.core.io.write_ffmpeg.ContainerOutputFFMPEG.
Functions
|
Suggest a combination of suitable parameters for ContainerOutputFFMPEG. |
Details
- cutcutcodec.core.compilation.export.default.suggest_export_params(in_streams: tuple[Stream], *, filename: Path, streams_settings: list[dict], container_settings: dict)[source]
Suggest a combination of suitable parameters for ContainerOutputFFMPEG.
Parameters
- in_streamstuple[cutcutcodec.core.classes.stream.Stream]
The ordered streams to be encoded.
- filenamepathlike, optional
The final file, relative or absolute. If the suffix is provided, it allows to find the muxer (if it is not already provided). If the muxer is provided, the associated suffix is added to the file name (if the filename has no suffix)
- streams_settings: list[dict]
As the input parameter streams_settings of the class
cutcutcodec.core.io.write_ffmpeg.ContainerOutputFFMPEGwith None values where you have to look for a suitable parameter.- container_settings: dict
As the input parameter container_settings of the class
cutcutcodec.core.io.write_ffmpeg.ContainerOutputFFMPEGwith None values where you have to look for a suitable parameter.
Returns
- filenamepathlib.Path
A default file name with the appropriate suffix.
- streams_settingslist[dict]
Same structure as the input parameter but with the None fields replaced by there final value.
- container_settingsdict
Same structure as the input parameter but with the None fields replaced by there final value.