displace filter

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

displace filter

Michael Koch
Is it correct that the "displace" filter allows only displacements in
the [-128 ... +127] range?

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: displace filter

Paul B Mahol
On 2/3/20, Michael Koch <[hidden email]> wrote:
> Is it correct that the "displace" filter allows only displacements in
> the [-128 ... +127] range?
>

It works only with 8bit pixel formats, so yes.

Locally I have warp filter, which works by specifying 2D warp points
for distortion, thus not needing to use slow and cumbersome geq
filter.

> 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".
Reply | Threaded
Open this post in threaded view
|

Re: displace filter

Michael Koch
Am 04.02.2020 um 11:53 schrieb Paul B Mahol:
> On 2/3/20, Michael Koch <[hidden email]> wrote:
>> Is it correct that the "displace" filter allows only displacements in
>> the [-128 ... +127] range?
>>
> It works only with 8bit pixel formats, so yes.
>
> Locally I have warp filter, which works by specifying 2D warp points
> for distortion, thus not needing to use slow and cumbersome geq
> filter.

Would be nice to add that to FFmpeg.
I've just added some examples (with geq filter) to my book.
http://www.astro-electronic.de/FFmpeg_Book.pdf

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".