Quantcast
Channel: MediaSPIP
Viewing all articles
Browse latest Browse all 118048

How to properly apply afade filter in ffmpeg?

$
0
0

I have an audio file that I successfully clipped down to 10 seconds using the ffmpeg library. I've tried applying a fade in and a fade out using the following:

ffmpeg -i casio-intro.mp3 -af 'afade=in:st=0:d=2,afade=out:st=8:d=2' casio-fade-intro.mp3

I also tried: ffmpeg -i casio-intro.mp3 -af 'afade=t=in:ss=0:d=3,afade=t=out:st=8:d=2' casio-fade-intro.mp3

but neither of these produces an output file with fade in and fade out effects. Am I doing something wrong?


Viewing all articles
Browse latest Browse all 118048

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>