<p>Basic method is</p>

<pre><code>ffmpeg -i in.mp4 -itsoffset -0.6 -i in.mp4 -map 0:v -map 1:a -c copy new.mp4
</code></pre>

<p>FFmpeg will write an editlist in new.mp4. Players like VLC, Potplayer which parse the editlist will honor the delay whereas players like WMP, which don't, will start the streams at the same time.</p>

CC BY-SA 4.0
2018-11-23T05:40:26.857Z
2018-11-23T05:40:26.857Z
Gyan
<p>I downloaded <a href="https://www.youtube.com/watch?v=XhmQxZiUYzg" rel="nofollow noreferrer">this video</a> but its' audio has approximately a 600ms advance compared to its' audio.</p>

<p>How can I fix that in a lossless manner (i.e <code>-c copy</code>) with ffmpeg ?</p>

<ffmpeg><sync>
Lossless A/V delay with ffmpeg
SebMa
# Lossless A/V delay with ffmpeg

(Asked by: username_0 on 2018-11-22)

I downloaded [this video](https://www.youtube.com/watch?v=XhmQxZiUYzg) but its' audio has approximately a 600ms advance compared to its' audio.

How can I fix that in a lossless manner (i.e `-c copy`) with ffmpeg ?

**Tags:** ffmpeg, sync


---

## 1 answers

### Answer by username_1 on 2018-11-23. Score: 3 | Accepted answer

Basic method is
ffmpeg -i in.mp4 -itsoffset -0.6 -i in.mp4 -map 0:v -map 1:a -c copy new.mp4

FFmpeg will write an editlist in new.mp4. Players like VLC, Potplayer which parse the editlist will honor the delay whereas players like WMP, which don't, will start the streams at the same time.


---

