Add audio encoders pcm_s16le and pcm_s32le
This commit is contained in:
@@ -68,7 +68,7 @@ temp_frame_formats : List[ImageFormat] = [ 'bmp', 'jpeg', 'png', 'tiff' ]
|
|||||||
|
|
||||||
output_encoder_set : EncoderSet =\
|
output_encoder_set : EncoderSet =\
|
||||||
{
|
{
|
||||||
'audio': [ 'aac', 'libmp3lame', 'libopus', 'libvorbis', 'flac' ],
|
'audio': [ 'aac', 'libmp3lame', 'libopus', 'libvorbis', 'flac', 'pcm_s16le', 'pcm_s32le' ],
|
||||||
'video': [ 'libx264', 'libx265', 'libvpx-vp9', 'h264_nvenc', 'hevc_nvenc', 'h264_amf', 'hevc_amf', 'h264_qsv', 'hevc_qsv', 'h264_videotoolbox', 'hevc_videotoolbox' ]
|
'video': [ 'libx264', 'libx265', 'libvpx-vp9', 'h264_nvenc', 'hevc_nvenc', 'h264_amf', 'hevc_amf', 'h264_qsv', 'hevc_qsv', 'h264_videotoolbox', 'hevc_videotoolbox' ]
|
||||||
}
|
}
|
||||||
output_audio_encoders : List[AudioEncoder] = output_encoder_set.get('audio')
|
output_audio_encoders : List[AudioEncoder] = output_encoder_set.get('audio')
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ AudioTypeSet : TypeAlias = Dict[AudioFormat, str]
|
|||||||
ImageTypeSet : TypeAlias = Dict[ImageFormat, str]
|
ImageTypeSet : TypeAlias = Dict[ImageFormat, str]
|
||||||
VideoTypeSet : TypeAlias = Dict[VideoFormat, str]
|
VideoTypeSet : TypeAlias = Dict[VideoFormat, str]
|
||||||
|
|
||||||
AudioEncoder = Literal['aac', 'libmp3lame', 'libopus', 'libvorbis', 'flac']
|
AudioEncoder = Literal['aac', 'libmp3lame', 'libopus', 'libvorbis', 'flac', 'pcm_s16le', 'pcm_s32le']
|
||||||
VideoEncoder = Literal['libx264', 'libx265', 'libvpx-vp9', 'h264_nvenc', 'hevc_nvenc', 'h264_amf', 'hevc_amf', 'h264_qsv', 'hevc_qsv', 'h264_videotoolbox', 'hevc_videotoolbox']
|
VideoEncoder = Literal['libx264', 'libx265', 'libvpx-vp9', 'h264_nvenc', 'hevc_nvenc', 'h264_amf', 'hevc_amf', 'h264_qsv', 'hevc_qsv', 'h264_videotoolbox', 'hevc_videotoolbox']
|
||||||
EncoderSet = TypedDict('EncoderSet',
|
EncoderSet = TypedDict('EncoderSet',
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user