I was applying fx to my audio file on my ios app(using Xcode-swift app) and
also from my mac (using terminal).

I need to create ROBOT effect (similar to transformer movie Transformer's
voice). In Android, I was able to apply the FX using the following command:


ffmpeg -i inputFile.m4a -af
afftfilt="real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':win_size=512:overlap=0.75"
outputFile.m4a



But in iOS, it said, the win_size has to be between [4 - 17]. Hence I
applied win_size=4. Then my command looks like:


ffmpeg -i /Users/krishnarajs/Desktop/1/record.m4a -af
afftfilt="real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':win_size=4:overlap=0.75"
/Users/krishnarajs/Desktop/1/record1.m4a


But while applying this filter, I'm getting following error:

Unknown function in 're,im)*sin(0)'

Failed to configure input pad on Parsed_afftfilt_0

Error reinitializing filters!

Failed to inject frame into filter network: Invalid argument

Error while processing the decoded data for stream #0:0


Am I doing anything wrong? Please help me.

-- 
Krrish
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to