diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-04 10:32:22 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-04 10:32:22 +0200 |
commit | b68ad41289dbbf4dac6b56f8b0a9a49ee7f47417 (patch) | |
tree | 19635bf7ae869903f59dff1402f7dc045d10bc5b /common/src/config.rs | |
parent | 8d3faa3d3d765441a0753748c92079db08fb8374 (diff) | |
download | jellything-b68ad41289dbbf4dac6b56f8b0a9a49ee7f47417.tar jellything-b68ad41289dbbf4dac6b56f8b0a9a49ee7f47417.tar.bz2 jellything-b68ad41289dbbf4dac6b56f8b0a9a49ee7f47417.tar.zst |
add more params to transcoding profile
Diffstat (limited to 'common/src/config.rs')
-rw-r--r-- | common/src/config.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/common/src/config.rs b/common/src/config.rs index 65d7326..399e96a 100644 --- a/common/src/config.rs +++ b/common/src/config.rs @@ -62,31 +62,33 @@ mod default { vec![ EncodingProfile::Video { codec: "libsvtav1".to_string(), - preset: 8, + preset: Some(8), bitrate: 2_000_000, - width: 1920, + width: Some(1920), }, EncodingProfile::Video { codec: "libsvtav1".to_string(), - preset: 8, + preset: Some(8), bitrate: 1_200_000, - width: 1280, + width: Some(1280), }, EncodingProfile::Video { codec: "libsvtav1".to_string(), - preset: 8, + preset: Some(8), bitrate: 300_000, - width: 640, + width: Some(640), }, EncodingProfile::Audio { codec: "libopus".to_string(), bitrate: 128_000, sample_rate: None, + channels: Some(2), }, EncodingProfile::Audio { codec: "libopus".to_string(), bitrate: 64_000, sample_rate: None, + channels: Some(2), }, EncodingProfile::Subtitles { codec: "webvtt".to_string(), |