fix: HLS-LL
All checks were successful
continuous-integration/drone Build is passing

refactor: fMP4 (WIP)
This commit is contained in:
2025-06-17 11:48:49 +01:00
parent a046dc5801
commit e056e0427f
11 changed files with 747 additions and 205 deletions

View File

@ -85,7 +85,7 @@ impl TryInto<Encoder> for &VideoVariant {
fn try_into(self) -> Result<Encoder, Self::Error> {
unsafe {
let mut opt = HashMap::new();
if self.codec == "x264" {
if self.codec == "x264" || self.codec == "libx264" {
opt.insert("preset".to_string(), "fast".to_string());
//opt.insert("tune".to_string(), "zerolatency".to_string());
}