<p>Enclose the time argument in single quotes and escape the colons within.</p>

<p>So,</p>

<pre><code>afade=t=out:curve=hsin:st='00\:0\:30':d='00\:00\:10'
</code></pre>

CC BY-SA 4.0
2021-10-15T18:05:10.467Z
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
CC BY-SA 3.0
2016-11-13T04:56:53.193Z
2016-11-13T04:56:53.193Z
Gyan
<p>I want to make a fade out in a video, using the <a href="http://ffmpeg.org/ffmpeg-filters.html#afade" rel="nofollow noreferrer">afade</a> audio filter.</p>

<p>Here's my command:</p>

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

<p>But appearantly that's wrong, because <code>':'</code> separates the filter arguments.</p>

<p>How can I specify the time in H:M:S format (here's <a href="http://ffmpeg.org/ffmpeg-utils.html#time-duration-syntax" rel="nofollow noreferrer">ffmpeg's duration syntax</a>) within the params? Or how can I escape the colon?</p>

<ffmpeg><audio><filter>
FFmpeg: afade plugin, how to specify time 1:55 if colon separates filter parameters? Escape
Ondra Žižka
# FFmpeg: afade plugin, how to specify time 1:55 if colon separates filter parameters? Escape

(Asked by: username_0 on 2016-11-13)

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?

**Tags:** ffmpeg, audio, filter


---

## 1 answers

### Answer by username_1 on 2016-11-13. Score: 3 | Accepted answer

Enclose the time argument in single quotes and escape the colons within.
So,
afade=t=out:curve=hsin:st='00\:0\:30':d='00\:00\:10'

> **Comments:**
> **username_2**: 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`.  

---

