Frame selection#116
Merged
Merged
Conversation
This was referenced May 28, 2026
Contributor
Author
|
Released in 1.9.0. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds
--select <SELECTOR>for choosing which part of a recording agg should render.This supports both animated excerpts and discrete/slideshow-style selections:
A selector can be:
..(default),POS..,..POS,POS..POSfor time rangesPOS,POS,POS,...for discrete positionsmarkersfor all marker positionsPOScan be a time (12.5, 1m20s, 1:20), percentage (50%), marker (marker:build, marker:3), or event index (event:100). Selection is resolved on the adjusted output timeline, after idle-time limiting and speed adjustment.Range selections use the normal animated GIF path: visual dedupe, timestamp normalization, and FPS capping. Discrete selections keep every resolved selected position and assign sequential output timestamps using
--last-frame-duration.People have asked for a few versions of the same underlying capability: render only the interesting parts of a recording, or render selected moments instead of the whole timeline.
This PR handles that with one selection model:
5..30cover that directly.markersandmarker:<value>provide the marker-selection part in a way that also works for GIF output today.This avoids separate one-off options for trimming, marker snapshots, and frame picking, and instead unifies them by using one timeline selection syntax.