KeyframeSelection: Add new parameter value to disable the export of keyframes #1454
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Related Meshroom pull request: alicevision/Meshroom#2036
This PR adds a new supported value to the
outputExtension
parameter,none
, that disables the export of selected keyframes on disk when it is set.Up until now, the selected keyframes were always written on disk at the same time as the SfMData files, and there was no way to avoid this. By setting
outputExtension
tonone
, only the two SfMData files (one containing the selected keyframes, one containing the frames that were not selected) will be written.Not writing the selected keyframes on disk results in a slight performance improvement as less I/O operations are performed.
Note:
outputExtension
should not be set tonone
when the input is a video: since the frames from the video are not available on disk, the process expects the keyframes to be written in the output folder to be able to write at least the SfMData file containing the selected keyframes.Features list
outputExtension
that disables the export of keyframes;