Browse Source

yt_common: automation: remove scxvid arg

master
louis f 3 years ago
parent
commit
8305c54281
Signed by: louis <louis@poweris.moe> GPG Key ID: 44D7E1DE4E23D6F2
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      yt_common/yt_common/automation.py

+ 1
- 2
yt_common/yt_common/automation.py View File

@@ -67,11 +67,10 @@ class SelfRunner():
parser.add_argument("-a", "--audio-only", help="Only process audio, no video.", action="store_true")
parser.add_argument("--keyframes", nargs="?", default=None,
help="Generate keyframes and exit.", const="keyframes.txt")
parser.add_argument("--scxvid", help="Use scxvid for keyframes.", action="store_true")
args = parser.parse_args()

if args.keyframes:
kf = find_scene_changes(source.source(), args.scxvid)
kf = find_scene_changes(source.source())
with open(args.keyframes, "w", encoding="utf-8") as kfo:
kfo.write("# WWXD log file, using qpfile format\n\n")
for f in kf:


Loading…
Cancel
Save