namespace FileFlows.VideoNodes;
///
/// Special class that exposes static methods to the script executor
///
public class StaticMethods
{
///
/// Gets the video info for a file
///
/// the args
/// the name of the file to read
/// the video info
public static VideoInfo GetVideoInfo(NodeParameters args, string filename)
=> VideoInfoHelper.ReadStatic(args.Logger, args.GetToolPath("FFMpeg"), filename).ValueOrDefault;
}