update recording analyze duration
This commit is contained in:
parent
48a5fa17b0
commit
c1ae3ec2ce
|
@ -177,6 +177,11 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
|
||||||
inputModifiers = "-ss " + _mediaEncoder.GetTimeParameter(startTimeTicks) + " " + inputModifiers;
|
inputModifiers = "-ss " + _mediaEncoder.GetTimeParameter(startTimeTicks) + " " + inputModifiers;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var analyzeDurationSeconds = 5;
|
||||||
|
var analyzeDuration = " -analyzeduration " +
|
||||||
|
(analyzeDurationSeconds * 1000000).ToString(CultureInfo.InvariantCulture);
|
||||||
|
inputModifiers += analyzeDuration;
|
||||||
|
|
||||||
commandLineArgs = string.Format(commandLineArgs, inputTempFile, targetFile, videoArgs, GetAudioArgs(mediaSource), durationParam);
|
commandLineArgs = string.Format(commandLineArgs, inputTempFile, targetFile, videoArgs, GetAudioArgs(mediaSource), durationParam);
|
||||||
|
|
||||||
return inputModifiers + " " + commandLineArgs;
|
return inputModifiers + " " + commandLineArgs;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user