1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-25 03:33:14 +01:00
lossless-cut/expressions.md
2024-05-19 23:16:59 +02:00

361 B

Expressions

Select segments by expression

LosslessCut has support for normal JavaScript expressions. You will be given a variable segment and can create an expression that returns true or false. For example to select all segments with a duration of less than 5 seconds use this expression:

segment.duration < 5

See more examples in-app.