afftfilt example

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

afftfilt example

Michael Koch
Hi,

in the documentation is a new example for afftfilt:
afftfilt="real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':win_size=512:overlap=0.75"

What's the point of multiplying by sin(0) and cos(0)? Isn't this exactly
the same as
afftfilt="real=0:imag='hypot(re,im)':win_size=512"

Michael

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: afftfilt example

Paul B Mahol
On 10/10/19, Michael Koch <[hidden email]> wrote:
> Hi,
>
> in the documentation is a new example for afftfilt:
> afftfilt="real='hypot(re,im)*sin(0)':imag='hypot(re,im)*cos(0)':win_size=512:overlap=0.75"
>
> What's the point of multiplying by sin(0) and cos(0)? Isn't this exactly
> the same as
> afftfilt="real=0:imag='hypot(re,im)':win_size=512"

It is for brevity.

>
> Michael
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".