using ffmpeg to fade a video or audio in or out

Published: 21 March 2021
on channel: A Forum
356
11

Hello,
sorry have some microphone problems. Here is a video about fading in and out video and audio. These examples are from the documentation

https://ffmpeg.org/ffmpeg-all.html#fade
https://ffmpeg.org/ffmpeg-all.html#af...

below is the commands I used
ffmpeg -i input.MOV -vf fade=in:start_time=0:duration=2 fadeindog.MOV
ffmpeg -i input.MOV -vf fade=in:start_frame=0:nb_frames=30 fadeinframesdog.MOV
ffmpeg -i input.MOV -vf fade=in:start_time=0:duration=2,fade=out:st=3:d=1 fadeinoutdog.MOV
ffmpeg -i input.MOV -vf fade=in:start_time=0:duration=2:color=yellow fadeinyellowdog.MOV
ffmpeg -i input.MOV -af afade=t=in:start_time=0:duration=2 audiofadeinydog.MOV

when I combined these video's I had problems concatenating it and ended up using the overlay command. But then I had problems with the audio which I may do a video about in the future so I actually ended up adding the audio for the audio video. I got the solution from the link:
https://stackoverflow.com/questions/3...

thank you for watching

0:00 fade in in seconds
0:10 fade in with color background (yellow)
0:20 fade in using frames
0:30 fade in and fade out command
0:40 fade audio in


Watch video using ffmpeg to fade a video or audio in or out online without registration, duration hours minute second in high quality. This video was added by user A Forum 21 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 356 once and liked it 11 people.