This is the way I'm trying to apply fade in inside a filtercomplex of FFmpeg command.


This command doesn't return error but the result is a video without fade in effect. What's the problem?

  • What's the value of startCut.ToString() – Gyan Feb 3 at 5:06
  • Gyan thanks for the reply. It is 00:00:34.2210000 – Eftekhari Feb 3 at 10:52
  • 1
    So your fade happens in the first 30 frames, but you only encode output from 34 seconds. Add a trim filter before the fade, trim='00:00:34.221000'. – Gyan Feb 3 at 10:59
  • and duration is 00:00:06.1600000. – Eftekhari Feb 3 at 10:59
  • Gyan I've added this line to the command but the output is only audio no video ,[finalv]trim="+startCut.ToString()+ "[finalvtrimmed]"+ – Eftekhari Feb 3 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.