mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-08 15:16:17 +00:00
reduce AnalyzeDurationMs for live tv
This commit is contained in:
1 parent
8b77a89373
commit
ce3f2bdd20
11 files changed
+69
-78
No files matched your search
@@ -61,15 +61,5 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
// Quotes are valid path characters in linux and they need to be escaped here with a leading \
|
||||
return path.Replace("\"", "\\\"");
|
||||
}
|
||||
|
||||
public static string GetProbeSizeArgument(int numInputFiles)
|
||||
{
|
||||
return numInputFiles > 1 ? "-probesize 1G" : "";
|
||||
}
|
||||
|
||||
public static string GetAnalyzeDurationArgument(int numInputFiles)
|
||||
{
|
||||
return numInputFiles > 1 ? "-analyzeduration 200M" : "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user