From 404dcbce2f6ef4644f8648b558b60aff8ed04d02 Mon Sep 17 00:00:00 2001 From: John Andrews Date: Fri, 24 Jun 2022 12:14:26 +1200 Subject: [PATCH] more logging --- VideoNodes/InputNodes/VideoFile.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/VideoNodes/InputNodes/VideoFile.cs b/VideoNodes/InputNodes/VideoFile.cs index 45c794d3..65f20b87 100644 --- a/VideoNodes/InputNodes/VideoFile.cs +++ b/VideoNodes/InputNodes/VideoFile.cs @@ -98,7 +98,10 @@ namespace FileFlows.VideoNodes }; if (resName != null) + { + args.Logger?.ILog("Video Resolution: " + resName); args.RecordStatistic("VIDEO_RESOLUTION", resName); + } string extension = new FileInfo(args.FileName).Extension.ToLower()[1..]; var container = extension switch @@ -117,8 +120,11 @@ namespace FileFlows.VideoNodes "wmv" => "ASF", _ => extension.ToUpper() }; - if(string.IsNullOrEmpty(container) == false) + if (string.IsNullOrEmpty(container) == false) + { + args.Logger?.ILog("Video Container: " + container); args.RecordStatistic("VIDEO_CONTAINER", container); + } foreach (var vs in videoInfo.AudioStreams)