I have the code below I want it to automatically increment up like this:
(t, 30,33) and (t, 60,63), (t, 90,93) and so on it adds 30 units.

     ffmpeg -i in.mov -vcodec copy -af "volume=enable='between(t,30,33)':volume=0"out2.mov


-af "volume=enable='gte(t,30)*lt(mod(t,30),3)':volume=0"
  • 1
    Can you explain the parameters for me? Thank you so much
    – Monso
    Jun 2 '18 at 15:43
  • lt(mod(t,30),3) selects first 3 seconds of every 30 seconds, gte(t,30) starts selection from t=30s, so that the first 3 seconds (0-3) aren't selected.
    – Gyan
    Jun 2 '18 at 16:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.