Skip to content

Commit

Permalink
Merge pull request #67 from lawrencecurtis/patch-6
Browse files Browse the repository at this point in the history
File sever fixes for dovi_tool
  • Loading branch information
revenz authored Nov 14, 2024
2 parents 982121a + 031cb3e commit a5c362d
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Run between encode and move/replace.
Output is always an MKV.
dovi_tool only supports HEVC when AV1 support is added I will updated this script.
* @author Lawrence Curtis
* @revision 3
* @revision 4
* @uid f5eebc75-e22d-4181-af02-5e7263e68acd
* @param {bool} RemoveHDRTenPlus Remove HDR10+, this fixes the black screen issues on FireStick
* @output Fixed
Expand Down Expand Up @@ -36,7 +36,8 @@ function Script(RemoveHDRTenPlus) {
if (!ffmpeg) return -1;

let working = Flow.WorkingFile;
let original = Variables.file.Orig.FullName;
var result = Flow.FileService.GetLocalPath(Variables.file.Orig.FullName);
let original = result.Value;

let process = Flow.Execute({
command: ffmpeg,
Expand Down Expand Up @@ -107,7 +108,7 @@ function Script(RemoveHDRTenPlus) {
);
}

if (!Flow.IsWindows) {
if (Flow.IsLinux) {
let args = executeArgs.argumentList.join(" ");
executeArgs.argumentList = ["-qefc", dovi_tool + " " + args, "/dev/null"];
executeArgs.command = "script";
Expand Down Expand Up @@ -189,7 +190,7 @@ function Script(RemoveHDRTenPlus) {
);
}

if (!Flow.IsWindows) {
if (Flow.IsLinux) {
let args = executeArgs.argumentList.join(" ");
executeArgs.argumentList = ["-qefc", dovi_tool + " " + args, "/dev/null"];
executeArgs.command = "script";
Expand Down

0 comments on commit a5c362d

Please sign in to comment.