using ffmpeg to create cross fade transition effects

Опубликовано: 16 Апрель 2026
на канале: A Forum
1,950
23

link: https://ffmpeg.org/ffmpeg-filters.htm...

fading 2 videos together 0:25
ffmpeg -i 1.MOV -i 2.MOV -filter_complex xfade=transition=fade:duration=2:offset=5 output.MOV

video wipes up 1:16
ffmpeg -i 1.MOV -i 2.MOV -filter_complex xfade=transition=wipeup:duration=2:offset=3 output.MOV

video transitions from the center 1:46
ffmpeg -i 1.MOV -i 2.MOV -filter_complex xfade=transition=circleclose:duration=2:offset=3 output.MOV

this command crashed when I first ran it, I cut the video up into 10 second chunks and it worked fine. my other video on how to do that    • using ffmpeg to cut video into chunks by time  

when I tried to concatenate the videos as I have done previously it came up with an error: Non-monotonous DTS in output stream 0:0

After a few different attempts I decided to use the overlay command which I have shown an example at 2:00
And heres a link to the documentaion on overlay:
https://ffmpeg.org/ffmpeg-all.html#Co...

link to xfade:
https://ffmpeg.org/ffmpeg-all.html#Ex...

00:00 intro
00:06 fading in effect
01:10 wipe up effect
01:40 circle closing effect

hope everyone is doing ok. To my kids, I love you very much