Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-10-15T18:05:10.467Z
Answers.Text: 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`.
Answers.UserDisplayName: awvalenti
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-11-13T04:56:53.193Z
Answers.LastActivityDate: 2016-11-13T04:56:53.193Z
Answers.UserDisplayName: Gyan
Body: <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>
  
Tags: <ffmpeg><audio><filter>
Title: FFmpeg: afade plugin, how to specify time 1:55 if colon separates filter parameters? Escape
UserDisplayName: Ondra Žižka
ThreadText: # 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](http://ffmpeg.org/ffmpeg-filters.html#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](http://ffmpeg.org/ffmpeg-utils.html#time-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`.  
  
  ---
  
  