Zend certified PHP/Magento developer

FFmpeg – Using Firequalizer filter based on duration

I try to use Firequalizer filter as audio equalizer in my video. I want the filter to be applied on the first 30 seconds of each minute in the video and disabled for the next 30 seconds. It will have no effect on the video for the seconds it is disabled. Is there any way to do this?

I set audio equalizer with duration on command line like this but it not work:

:enable='lt(mod(t,60),30)'

Even if the code works on its own, it doesn’t work with the duration:

 ffmpeg -y -i original.mp4 -af "firequalizer=gain_entry='entry(0,-23); entry(250,-1100.5); entry(1000,0); entry(4000,0); entry(16000,16)': enable='lt(mod(t,60),3)'" test.mp4