Body: <p>I have video file (.avi) that 10 minutes long. I also have audio file (.wav) that is one minute long. I need to add the audio to the video, but the audio needs to start at one minute in to the video. How can I do this with ffmpeg?</p>
  
  <p>I've already tried this command ( with a 30 second offset instead of one minute):</p>
  
  <p><code>-i video.avi -i audio.wav -filter_complex \"[1]adelay=30000|30000[aud];[0][aud]amix\" - c:v copy out.avi"</code></p>
  
  <p>and this one also: </p>
  
  <p><code>-i video.avi -i audio.wav -filter_complex [1]adelay=30000|30000[aud];[0][aud]amix - c:v copy out.avi</code></p>
  
  <p>But neither of them worked.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-09T23:41:04.070Z
Comments.Text: What didn't work? The audio didn't start when you wanted to? The audio didn't come through at all? Please share the full output of the commands.
Comments.UserDisplayName: Michael Liebman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-10T05:02:10.090Z
Comments.Text: I get an error from the ffmpeg process. 
  the query does not work
Comments.UserDisplayName: Yanshof
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-10T13:56:09.803Z
Comments.Text: What is the error? Please share the full command output.
Comments.UserDisplayName: Michael Liebman
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-10T19:26:09.643Z
Comments.Text: Answered at Stack Overflow [crosspost](https://stackoverflow.com/questions/48169031/how-to-add-audio-to-exist-video-using-ffmpeg-at-specific-time). Please avoid asking the same question at multiple Stack Exchange sites.
Comments.UserDisplayName: llogan
Tags: <video><ffmpeg><audio>
Title: how to add audio to exist video using FFMPEG at specific time?
UserDisplayName: Yanshof
ThreadText: # how to add audio to exist video using FFMPEG at specific time?
  
  (Asked by: username_0 on 2018-01-09)
  
  I have video file (.avi) that 10 minutes long. I also have audio file (.wav) that is one minute long. I need to add the audio to the video, but the audio needs to start at one minute in to the video. How can I do this with ffmpeg?
  
  I've already tried this command ( with a 30 second offset instead of one minute):
  
  `-i video.avi -i audio.wav -filter_complex \"[1]adelay=30000|30000[aud];[0][aud]amix\" - c:v copy out.avi"`
  
  and this one also:
  
  `-i video.avi -i audio.wav -filter_complex [1]adelay=30000|30000[aud];[0][aud]amix - c:v copy out.avi`
  
  But neither of them worked.
  
  **Tags:** video, ffmpeg, audio
  
  > **Comments:**
  > **username_1**: What didn't work? The audio didn't start when you wanted to? The audio didn't come through at all? Please share the full output of the commands.  
  > **username_0**: I get an error from the ffmpeg process.  the query does not work  
  > **username_1**: What is the error? Please share the full command output.  
  > **username_2**: Answered at Stack Overflow [crosspost](https://stackoverflow.com/questions/48169031/how-to-add-audio-to-exist-video-using-ffmpeg-at-specific-time). Please avoid asking the same question at multiple Stack Exchange sites.  
  
  ---
  
  ## 0 answers
  
  