Merge pull request #2036 from alicevision/dev/noKeyframeExport

KeyframeSelection: Add new parameter value to disable the export of keyframes
This commit is contained in:
Loïc Vital 2023-06-09 12:27:04 +02:00 committed by GitHub
commit 349f488fbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View file

@ -259,14 +259,17 @@ You can extract frames at regular interval by configuring only the min/maxFrameS
"If the selected keyframes are at index [15, 294, 825], they will be written as [00000.exr, 00001.exr, 00002.exr] with this\n"
"option enabled instead of [00015.exr, 00294.exr, 00825.exr].",
value=False,
enabled=lambda node: node.outputExtension.value != "none",
uid=[0]
),
desc.ChoiceParam(
name="outputExtension",
label="Keyframes File Extension",
description="File extension of the written keyframes.",
value="jpg",
values=["exr", "jpg", "png"],
description="File extension of the written keyframes.\n"
"If 'none' is selected, no keyframe will be written on disk.\n"
"For input videos, 'none' should not be used since the written keyframes are used to generate the output SfMData file.",
value="none",
values=["none", "exr", "jpg", "png"],
exclusive=True,
uid=[0],
),