FF-1211 - added new flow element FfmpegBuilderSetOriginalLanguageAsDefault

This commit is contained in:
John Andrews
2024-01-22 13:07:14 +13:00
parent cd6f19dd85
commit c98d3ac605
2 changed files with 14 additions and 2 deletions

View File

@@ -5,12 +5,12 @@ namespace FileFlows.VideoNodes.FfmpegBuilderNodes;
/// <summary>
/// FFmpeg Builder flow element to set the original language as the default tracks
/// </summary>
public class FfmpegBuilderSetOriginalLanguageAsDefault: FfmpegBuilderNode
public class FfmpegBuilderDefaultOriginalLanguage: FfmpegBuilderNode
{
/// <summary>
/// Gets the help URL for the flow element
/// </summary>
public override string HelpUrl => "https://fileflows.com/docs/plugins/video-nodes/ffmpeg-builder/set-original-language-as-default";
public override string HelpUrl => "https://fileflows.com/docs/plugins/video-nodes/ffmpeg-builder/default-original-language";
/// <summary>
/// Gets the number of outputs of the flow element

View File

@@ -351,6 +351,18 @@
"RemoveAdditionalMetadata-Help": "If additional metadata should be removed. Additional metadata is non-standard metadata that may have been added to a video file, eg by iTunes."
}
},
"FfmpegBuilderDefaultOriginalLanguage": {
"Label": "FFMPEG Builder: Default Original Language",
"Outputs": {
"1": "Tracks have been modified",
"2": "No tracks have been changed"
},
"Description": "This flow element will attempt to set the original language tracks as default. It will try to find the first track matching the original language, and then set that as default.\n\nIf no tracks are found with the original language, then no changes are made.",
"Fields": {
"StreamType": "Type",
"StreamType-Help": "The type of tracks that should be updated"
}
},
"FfmpegBuilderSubtitleClearDefault": {
"Label": "FFMPEG Builder: Subtitle Clear Default",
"Description": "This node will clear the default flag from subtitles.",