[FFmpeg-user] Video in video not from start
Michael Koch
astroelectronic at t-online.de
Fri Jan 5 11:03:33 EET 2024
Am 05.01.2024 um 07:51 schrieb Ferdi Scholten:
> I want to play a video in a video from a certain point. I understood I
>> could do something like:
>> ffmpeg \
>> -i input1.mp4 \
>> -i input2.mp4 \
>> -filter_complex "
>> [0:v][1:v] overlay=25:25:
>> enable='between(t,8,20)'
>> " \
>> -pix_fmt yuv420p \
>> -c:a copy \
>> output.mp4
>>
>> But this starts input2.mp4 from the start of input2.mp4 on the 8
>> second, for twelve seconds.
>> Is it possible to let input2.mp4 not start from second 0, but from
>> second 17?
>>
> Try putting -ss 17 between the two inputs.
or only before the second input.
Michael
More information about the ffmpeg-user
mailing list