yt_common: automation: remove scxvid arg
This commit is contained in:
parent
3d9a9fc903
commit
8305c54281
@ -67,11 +67,10 @@ class SelfRunner():
|
|||||||
parser.add_argument("-a", "--audio-only", help="Only process audio, no video.", action="store_true")
|
parser.add_argument("-a", "--audio-only", help="Only process audio, no video.", action="store_true")
|
||||||
parser.add_argument("--keyframes", nargs="?", default=None,
|
parser.add_argument("--keyframes", nargs="?", default=None,
|
||||||
help="Generate keyframes and exit.", const="keyframes.txt")
|
help="Generate keyframes and exit.", const="keyframes.txt")
|
||||||
parser.add_argument("--scxvid", help="Use scxvid for keyframes.", action="store_true")
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
if args.keyframes:
|
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:
|
with open(args.keyframes, "w", encoding="utf-8") as kfo:
|
||||||
kfo.write("# WWXD log file, using qpfile format\n\n")
|
kfo.write("# WWXD log file, using qpfile format\n\n")
|
||||||
for f in kf:
|
for f in kf:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user