Fade In / Fade Out Tool
Add a fade-in at the start and a fade-out at the end of your video. Black or white fades, with optional audio fade (afade).
Equivalent FFmpeg command
CLI command for your current settings. Updates live as you change controls.
ffmpeg -i input.mp4 -vf "fade=t=in:st=0:d=1:c=black,fade=t=out:st=9.000:d=1:c=black,scale=trunc(iw/2)*2:trunc(ih/2)*2" -c:v libx264 -preset fast -crf 23 -pix_fmt yuv420p -af "afade=t=in:st=0:d=1,afade=t=out:st=9.000:d=1" -c:a aac -b:a 128k -movflags +faststart output.mp4 What to do next
How to use
- Drop the videoDrag and drop an MP4, MOV, WebM or similar file, up to 500 MB. The video duration is read automatically.
- Set the fadesChoose fade-in / fade-out lengths (none / 0.5 / 1 / 2 / 3 s; both default to 1 s) and the fade color (black / white). Audio fade is on by default.
- RunClick Apply fades. When it finishes, a preview and a download button appear.
Recommended settings
When it goes wrong
Fade-out starts slightly off-position
Cause: The start is calculated from the duration the browser reads, and in some videos that differs slightly from where the picture ends.
Fix: Pick the next longer fade-out.
Audio fade has no effect
Cause: The video has no audio.
Fix: Then only the picture gets the fade.
File size changed after processing
Cause: A fade changes the picture itself, so it must be re-encoded: the video with H.264 (CRF 23) and the audio with AAC at 128 kbps.
Fix: This cannot be avoided when adding fades. To make the file smaller, compress it afterwards.
Questions
Can I apply only a fade-in, or only a fade-out?
Yes. Set the side you don't need to "None". If both are "None", the run button is disabled.
What happens with very short videos?
If the fade-out is longer than the video, it starts at 0 and the whole clip fades out. If the video is longer than the fade-in and fade-out together, the two do not overlap (6 seconds or more for 3 s each).
Does quality drop?
A little. A fade changes the picture, so the video is re-encoded with H.264 at CRF 23, the default setting of libx264. The audio is converted to AAC at 128 kbps too.
I want to crossfade between two clips
This tool fades a single video at its start and end. For crossfade joins between multiple clips, use the Transition option in the Video Merger.
Should I add BGM before or after fading?
Add music first with the BGM tool, then run this tool with the audio fade on; the picture and the music fade out together.
More detail (settings, limits, FFmpeg commands)
What each setting means
Browsers and limits
- Maximum file size: 500 MB
- Output is MP4: the video is re-encoded with H.264 (CRF 23) and the audio with AAC at 128 kbps (a fade cannot be added by stream copy)
- Files whose duration cannot be read are rejected (required to position the fade-out)
- Fade lengths are 0.5, 1, 2 or 3 s; use desktop FFmpeg for other values
The same job with the FFmpeg command line
ffmpeg -i input.mp4 -vf "fade=t=in:st=0:d=1,fade=t=out:st=59:d=1" -af "afade=t=in:st=0:d=1,afade=t=out:st=59:d=1" -c:v libx264 -preset fast -crf 23 -pix_fmt yuv420p -c:a aac -b:a 128k -movflags +faststart output.mp4 ffmpeg -i input.mp4 -vf "fade=t=in:st=0:d=2:c=white,fade=t=out:st=57:d=3:c=white" -c:v libx264 -crf 23 -pix_fmt yuv420p -c:a copy output.mp4 ffmpeg -i input.mp4 -vf "fade=t=out:st=58:d=2" -af "afade=t=out:st=58:d=2" -c:v libx264 -crf 23 -pix_fmt yuv420p -c:a aac -b:a 128k output.mp4