mirror of
https://github.com/revenz/FileFlowsPlugins.git
synced 2025-12-30 23:00:06 -06:00
FF-124 - added more bitrate options to add audio track
This commit is contained in:
@@ -12,6 +12,8 @@ namespace FileFlows.BasicNodes.File
|
||||
public override FlowElementType Type => FlowElementType.Process;
|
||||
public override string Icon => "far fa-copy";
|
||||
|
||||
public override string HelpUrl => "https://docs.fileflows.com/plugins/basic-nodes/copy-file";
|
||||
|
||||
private string _DestinationPath = string.Empty;
|
||||
private string _DestinationFile = string.Empty;
|
||||
|
||||
|
||||
@@ -13,6 +13,8 @@ namespace FileFlows.BasicNodes.File
|
||||
public override FlowElementType Type => FlowElementType.Process;
|
||||
public override string Icon => "fas fa-file-export";
|
||||
|
||||
public override string HelpUrl => "https://docs.fileflows.com/plugins/basic-nodes/move-file";
|
||||
|
||||
[Required]
|
||||
[Folder(1)]
|
||||
public string DestinationPath { get; set; }
|
||||
|
||||
@@ -74,16 +74,11 @@ public class FfmpegBuilderAudioAddTrack : FfmpegBuilderNode
|
||||
_BitrateOptions = new List<ListOption>
|
||||
{
|
||||
new ListOption { Label = "Automatic", Value = 0},
|
||||
new ListOption { Label = "64 Kbps", Value = 64},
|
||||
new ListOption { Label = "96 Kbps", Value = 96},
|
||||
new ListOption { Label = "128 Kbps", Value = 128},
|
||||
new ListOption { Label = "160 Kbps", Value = 160},
|
||||
new ListOption { Label = "192 Kbps", Value = 192},
|
||||
new ListOption { Label = "224 Kbps", Value = 224},
|
||||
new ListOption { Label = "256 Kbps", Value = 256},
|
||||
new ListOption { Label = "288 Kbps", Value = 288},
|
||||
new ListOption { Label = "320 Kbps", Value = 320},
|
||||
};
|
||||
for (int i = 64; i <= 2048; i += 32)
|
||||
{
|
||||
_BitrateOptions.Add(new ListOption { Label = i + " Kbps", Value = i });
|
||||
}
|
||||
}
|
||||
return _BitrateOptions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user