mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2025-01-18 20:46:43 +00:00
parent
ba67b60931
commit
dc9dfddf25
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ public class DemuxConcatArgument : IInputArgument
|
||||||
public readonly IEnumerable<string> Values;
|
public readonly IEnumerable<string> Values;
|
||||||
public DemuxConcatArgument(IEnumerable<string> values)
|
public DemuxConcatArgument(IEnumerable<string> values)
|
||||||
{
|
{
|
||||||
Values = values.Select(value => $"'file '{value}'");
|
Values = values.Select(value => $"file '{value}'");
|
||||||
}
|
}
|
||||||
private readonly string _tempFileName = Path.Combine(FFMpegOptions.Options.TempDirectory, Guid.NewGuid() + ".txt");
|
private readonly string _tempFileName = Path.Combine(FFMpegOptions.Options.TempDirectory, Guid.NewGuid() + ".txt");
|
||||||
|
|
||||||
|
@ -26,4 +26,4 @@ public DemuxConcatArgument(IEnumerable<string> values)
|
||||||
|
|
||||||
public string Text => $"-f concat -safe 0 -i \"{_tempFileName}\"";
|
public string Text => $"-f concat -safe 0 -i \"{_tempFileName}\"";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue