<p>The timestamps of the overlay have to be shifted and overlay filter has to be told to delay start of overlay.</p>
<p>Basic form of command is</p>
<pre><code>ffmpeg -i base -itsoffset X -i overlay -filter_complex &quot;[0][1]overlay=enable='gt(t\,X)'&quot; output
</code></pre>
<p>Audio processing and encoding will use default parameters.</p>

CC BY-SA 4.0
2020-10-11T04:48:20.770Z
2020-10-11T04:48:20.770Z
Gyan
<p>I have a video clip that I use as a background, then another clip that contains some text, is there a way to make this second clip start
playing after <code>x</code> seconds?</p>
<pre><code>background: 00:00:00|-------------------|00:00:05
foreground: 00:00:02|         &gt;---------|00:00:05
                              ^it starts
</code></pre>

<ffmpeg>
FFmpeg: Make video appear after x seconds
Davide Vitiello
# FFmpeg: Make video appear after x seconds

(Asked by: username_0 on 2020-10-10)

I have a video clip that I use as a background, then another clip that contains some text, is there a way to make this second clip start
playing after x seconds?
background: 00:00:00|-------------------|00:00:05
foreground: 00:00:02|         >---------|00:00:05
                              ^it starts

**Tags:** ffmpeg


---

## 1 answers

### Answer by username_1 on 2020-10-11. Score: 0 | Accepted answer

The timestamps of the overlay have to be shifted and overlay filter has to be told to delay start of overlay.
Basic form of command is
ffmpeg -i base -itsoffset X -i overlay -filter_complex "[0][1]overlay=enable='gt(t\,X)'" output

Audio processing and encoding will use default parameters.


---

