Jklf
Jklf

Reputation: 477

videoFilter - draw text between one time and between another time

Well I know we can use drawText for a time range using

"enable=between(t, 1, 3)" (between 1 sec and 3sec)

but how can I add

"and draw text between 45 sec to 50 sec".

I can't find out how to add another between condition.

Upvotes: 1

Views: 178

Answers (1)

Gyan
Gyan

Reputation: 93058

Use arithmetic operators:

"enable=between(t,1,3)+between(t,45,60)"

+ corresponds to OR; * to AND.

Upvotes: 1

Related Questions