XFade Video Transitions Examples Edit 0 0 The following command will apply the builtin XFade video transition filter to two example input videos yoga.mp4 and sharks.mp4 Filter Options transition: Set one of available transition effects. See xfade documentation for the full list. duration: The cross fade is applied for specified duration set by duration=1 in this example (range is 0 to 60, default is 1 second). offset: Set cross fade start relative to first input stream in seconds. Default offset is 0. Both inputs must be constant frame-rate and have the same resolution, pixel format, frame rate and timebase. The attached video showcases all the different transition effects available as of version 7.1 by Elad Gariany <elad@gariany.com> Updated on: February 17, 2025 tags: #transitions #filter #xfade ffmpeg -i yoga.mp4 -i sharks.mp4 -filter_complex "xfade=transition=fadegrays:duration=1:offset=1" -pix_fmt yuv420p -c:v libx264 -crf 23 fadegrays.mp4 Copy to clipboard Try it online 0 commentsAnonymous Markdown is supportedPreviewLogin with GitHubBe the first person to leave a comment!