Media & design
FFmpeg xfade timeline
Calculate chained crossfade offsets and export a video filtergraph.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Each transition starts at accumulated output duration minus the fade duration. The next clip adds its duration minus that overlap.
Clips of 10, 8 and 6 seconds with 1-second crossfades use offsets 9 and 16, ending at 22 seconds.
Limits
Video only. Inputs need matching size, pixel format, frame rate and time base. The graph does not resample inputs or crossfade audio.