mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-19 00:26:25 +00:00
Fix warnings
This commit is contained in:
@@ -11,8 +11,6 @@ namespace Jellyfin.MediaEncoding.Keyframes.FfProbe;
|
||||
/// </summary>
|
||||
public static class FfProbeKeyframeExtractor
|
||||
{
|
||||
private const string DefaultArguments = "-fflags +genpts -v error -skip_frame nokey -show_entries format=duration -show_entries stream=duration -show_entries packet=pts_time,flags -select_streams v -of csv \"{0}\"";
|
||||
|
||||
/// <summary>
|
||||
/// Extracts the keyframes using the ffprobe executable at the specified path.
|
||||
/// </summary>
|
||||
@@ -26,7 +24,10 @@ public static class FfProbeKeyframeExtractor
|
||||
StartInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = ffProbePath,
|
||||
Arguments = string.Format(CultureInfo.InvariantCulture, DefaultArguments, filePath),
|
||||
Arguments = string.Format(
|
||||
CultureInfo.InvariantCulture,
|
||||
"-fflags +genpts -v error -skip_frame nokey -show_entries format=duration -show_entries stream=duration -show_entries packet=pts_time,flags -select_streams v -of csv \"{0}\"",
|
||||
filePath),
|
||||
|
||||
CreateNoWindow = true,
|
||||
UseShellExecute = false,
|
||||
|
||||
Reference in New Issue
Block a user