I want to make a fade out in a video, using the afade audio filter.

Here's my command:

ffmpeg -i VIDEO06.mp4 -c:v copy -af afade=t=out:curve=hsin:st=00:0:30:duration=00:00:10 VIDEO06-faded.mp4

But appearantly that's wrong, because ':' separates the filter arguments.

How can I specify the time in H:M:S format (here's ffmpeg's duration syntax) within the params? Or how can I escape the colon?

1 Answer 1


Enclose the time argument in single quotes and escape the colons within.


  • For me it needed two backslashes: afade=t=out:curve=hsin:st='00\\:0\\:30':d='00\\:00\\:10', or, if you want to do it without quotes: afade=t=out:curve=hsin:st=00\\\\:0\\\\:30:d=00\\\\:00\\\\:10.
    – awvalenti
    Commented Oct 15, 2021 at 18:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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