Answers.Body: <p>You'll have to create a padded version and loop that.</p>
  <pre><code>ffmpeg -i voice.mp3 -af apad=pad_dur=2.0 padded.mp3
  </code></pre>
  <p>and then</p>
  <pre><code>ffmpeg -stream_loop X -i padded.mp3 ...
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-02-01T04:26:52.147Z
Answers.LastActivityDate: 2022-02-01T04:26:52.147Z
Answers.UserDisplayName: Gyan
Body: <p>I am trying to loop a voice.mp3 in FFmpeg. And it is looping successfully with the stram_loop X command.
  But the problem is it's looping breathless. How can I add a few seconds of silence between loops?</p>
  
Tags: <ffmpeg>
Title: How to add a few seconds of gap between looped audio in FFMPEG
UserDisplayName: Pro Bangali
ThreadText: # How to add a few seconds of gap between looped audio in FFMPEG
  
  (Asked by: username_0 on 2022-02-01)
  
  I am trying to loop a voice.mp3 in FFmpeg. And it is looping successfully with the stram\_loop X command.
  But the problem is it's looping breathless. How can I add a few seconds of silence between loops?
  
  **Tags:** ffmpeg
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-02-01. Score: 1
  
  You'll have to create a padded version and loop that.
  
  ```
  ffmpeg -i voice.mp3 -af apad=pad_dur=2.0 padded.mp3
  
  ```
  
  and then
  
  ```
  ffmpeg -stream_loop X -i padded.mp3 ...
  
  ```
  
  
  ---
  
  