mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:40:09 +00:00
reduce AnalyzeDurationMs for live tv
This commit is contained in:
parent
8b77a89373
commit
ce3f2bdd20
11 changed files with 69 additions and 78 deletions
|
|
@ -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" : "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue