[FFmpeg-user] overlay with video offset not starting audio with same offset
Paul B Mahol
onemda at gmail.com
Fri Aug 28 23:58:13 CEST 2015
Dana 28. 8. 2015. 23:15 osoba "Chad Horton" <chorton at hotsalsainteractive.com>
> I have a video with audio (overlayvideo.mov) that I'm overlaying over
another video (basefilem.mp4) and I'm starting the overlay at 20 seconds.
The output (finalvideo.mp4) looks great, but the audio from the overlay is
still starting at 00:00:00.000 instead of when I need it to start, which is
00:00:20.000 (which I set with itoffset).
> I understand that itoffset only deals with video. So, how do I go about
specifying in my command below to start the audio in the overlay at the
same time as itoffset?
Try adelay filter.
> ffmpeg -y -i basefilem.mp4 -itoffset 00:00:20.000 -i overlayvide.mov -
-map [outv] -map [outa] -c:v mpeg4 -strict experimental -ascale:v 10
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user