From fbc0849ba924c1a4d1341d1682bded7c5d890f56 Mon Sep 17 00:00:00 2001 From: John Andrews Date: Wed, 14 Feb 2024 20:48:14 +1300 Subject: [PATCH] FF-1302 - added failure reason for subtitle codec --- VideoNodes/VideoNodes/EncodingNode.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/VideoNodes/VideoNodes/EncodingNode.cs b/VideoNodes/VideoNodes/EncodingNode.cs index 9ca3b06d..2144f91f 100644 --- a/VideoNodes/VideoNodes/EncodingNode.cs +++ b/VideoNodes/VideoNodes/EncodingNode.cs @@ -114,7 +114,10 @@ namespace FileFlows.VideoNodes } else if (HasLine(lines, "codec not currently supported in container", out line)) { - args.FailureReason = "Codec not currently supported in container"; + if (line.Contains("codec ttf")) // add more as i see them + args.FailureReason = "Subtitle codec not currently supported in container"; + else // generic + args.FailureReason = "Codec not currently supported in container"; } else if (HasLine(lines, "encoding with ProRes Proxy/LT/422/422 HQ (apco, apcs, apcn, ap4h) profile, need YUV422P10 input", out line)) {