fix manually specifying scenedetect threshold

This commit is contained in:
n9Mtq4 2020-02-05 22:35:16 -05:00
parent 01635ec58d
commit 9ba70b26e8

View file

@ -105,7 +105,7 @@ class Av1an:
parser.add_argument('--encoder', '-enc', type=str, default=self.encoder, help='Choosing encoder') parser.add_argument('--encoder', '-enc', type=str, default=self.encoder, help='Choosing encoder')
parser.add_argument('--workers', '-t', type=int, default=0, help='Number of workers') parser.add_argument('--workers', '-t', type=int, default=0, help='Number of workers')
parser.add_argument('--audio_params', '-a', type=str, default=self.audio, help='FFmpeg audio settings') parser.add_argument('--audio_params', '-a', type=str, default=self.audio, help='FFmpeg audio settings')
parser.add_argument('--threshold', '-tr', type=str, default=self.threshold, help='PySceneDetect Threshold') parser.add_argument('--threshold', '-tr', type=float, default=self.threshold, help='PySceneDetect Threshold')
parser.add_argument('--logging', '-log', type=str, default=self.logging, help='Enable logging') parser.add_argument('--logging', '-log', type=str, default=self.logging, help='Enable logging')
parser.add_argument('--encode_pass', '-p', type=int, default=self.encode_pass, help='Specify encoding passes') parser.add_argument('--encode_pass', '-p', type=int, default=self.encode_pass, help='Specify encoding passes')
parser.add_argument('--output_file', '-o', type=str, default='', help='Specify output file') parser.add_argument('--output_file', '-o', type=str, default='', help='Specify output file')