[FFmpeg-user] removing audio from section of video

Lou lou at lrcd.com
Tue Jan 22 02:11:54 CET 2013

On Mon, 21 Jan 2013 16:33:35 -0800
johnd <john at jjdev.com> wrote:

> this looks great but I can't figure out how to set more
> than one event
> How do I pass more stuff like 'turn back on at a time'
> I tried this: 
> ffmpeg -y  -i withsound.mp4  -c:v copy -af "afade=t=out:st=2,afade=t=in:st=5"   done.mp4
> but my end video was all silent
> I'd like to be able to tell it to turn off audio then back, then repeat
> that process...

My mistake. I assumed that it would allow you to fade out and then in,
but since the first filter mutes the audio the second filter in the
filterchain has no audio to fade in with; however it would be possible
to do the opposite with this method.

More information about the ffmpeg-user mailing list