fixes
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#! /usr/bin/python3
|
#! /usr/bin/python3
|
||||||
|
|
||||||
import sys, subprocess, json
|
import os, sys, subprocess, json
|
||||||
|
|
||||||
DEFAULT_QUALITY = 23
|
DEFAULT_QUALITY = 23
|
||||||
DEFAULT_AV1_PRESET = 5
|
DEFAULT_AV1_PRESET = 5
|
||||||
@@ -183,7 +183,7 @@ for quality in qualities:
|
|||||||
|
|
||||||
if targetFormat == 'vp9':
|
if targetFormat == 'vp9':
|
||||||
|
|
||||||
commandSequence1 = commandTokens + generateVP9Pass1Tokens(quality)
|
commandSequence1 = commandTokens + mappingTokens + generateVP9Pass1Tokens(quality)
|
||||||
|
|
||||||
|
|
||||||
if cropStart:
|
if cropStart:
|
||||||
@@ -193,7 +193,9 @@ for quality in qualities:
|
|||||||
|
|
||||||
|
|
||||||
print(f"Command Sequence 1: {commandSequence1}")
|
print(f"Command Sequence 1: {commandSequence1}")
|
||||||
|
|
||||||
|
os.remove("ffmpeg2pass-0.log")
|
||||||
|
|
||||||
executeProcess(commandSequence1)
|
executeProcess(commandSequence1)
|
||||||
|
|
||||||
commandSequence2 = commandTokens + mappingTokens + generateVP9Pass2Tokens(quality) + audioTokens
|
commandSequence2 = commandTokens + mappingTokens + generateVP9Pass2Tokens(quality) + audioTokens
|
||||||
|
|||||||
Reference in New Issue
Block a user