I downloaded this video 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 ?
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It only takes a minute to sign up.
Sign up to join this communityI downloaded this video 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 ?
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.