mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2026-01-05 21:21:05 -06:00
added comskip remove ads node
This commit is contained in:
@@ -26,10 +26,13 @@ namespace FileFlows.VideoNodes
|
||||
this.Logger = logger;
|
||||
}
|
||||
|
||||
public bool Encode(string input, string output, string arguments)
|
||||
public bool Encode(string input, string output, string arguments, bool dontAddInputFile = false)
|
||||
{
|
||||
// -y means it will overwrite a file if output already exists
|
||||
arguments = $"-i \"{input}\" -y {arguments} \"{output}\"";
|
||||
if(dontAddInputFile == false)
|
||||
arguments = $"-i \"{input}\" -y {arguments} \"{output}\"";
|
||||
else
|
||||
arguments = $"{arguments} \"{output}\"";
|
||||
|
||||
Logger.ILog(new string('=', ("FFMpeg.Arguments: " + arguments).Length));
|
||||
Logger.ILog("FFMpeg.Arguments: " + arguments);
|
||||
|
||||
Reference in New Issue
Block a user