[FFmpeg-user] [FFMPEG]Mux audio video - delay issue

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Oct 28 23:00:06 EEST 2017


2017-10-28 0:24 GMT+02:00 Antonio Rolo <antonio.rolo-at-yahoo.fr at ffmpeg.org>:
> Hi,
> I would like to use the audio of video1.mp4 in video2.avi but can't manage to find the correct procedure. The 2 videos have exactly the same content but not the same duration. I tried to use "ffmpeg -i video2.avi -filter:v "setpts=0,996932336679635*PTS" -qscale:v 1 video2_a.avi" to change the duration or change the frame rate but at the end there is a delay issue when I apply the audio.
>
> Below the output requested for ffmpeg -i video1.mp4 -i video2.avi.

Why is the duration different (after a visual inspection)?
Has one file more content at the beginning? Or at the end?
Or is a scene missing from one file?
Or are they simply different?

Or are you sure that playback time / speed is the only difference?

Please avoid top-posting here, Carl Eugen


More information about the ffmpeg-user mailing list