Re: [FFmpeg-user] question about displace filter

2017-11-19 Thread Michael Koch
Finally I found a solution how to make curved text for a fulldome video. It's awfully slow because in the geq filter the same calculations are made for each frame again and again. But it works. Below is the Windows batch file. Most probably the remap filter would make this process much faster,

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
> Yes, with geq filter. Remap filter documentation is on FFmpeg wiki. I can't find an example how to make the Xmap and Ymap files with ffmpeg. In the wiki the files are made with a C program which is difficult to understand. https://trac.ffmpeg.org/wiki/RemapFilter This example is from the

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Paul B Mahol
On 11/18/17, Michael Koch wrote: >> Perhaps you could try remap filter? > > Unfortunately the remap filter has so few documentation. > No examples at all. Is it possible to create the Xmap and Ymap files with > ffmpeg? Yes, with geq filter. Remap filter documentation

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
Perhaps you could try remap filter? Unfortunately the remap filter has so few documentation. No examples at all. Is it possible to create the Xmap and Ymap files with ffmpeg? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Paul B Mahol
On 11/18/17, Michael Koch wrote: >> One just substract each possible value with 128 and now you have [-128, >> 127]. > > The range is too small for my purpose. Is it possible to create 16 bit > displacements? Not yet. Perhaps you could try remap filter?

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
One just substract each possible value with 128 and now you have [-128, 127]. The range is too small for my purpose. Is it possible to create 16 bit displacements? Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
One just substract each possible value with 128 and now you have [-128, 127]. Thanks for your fast answer. That should be added to the documentation! Michael ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org

Re: [FFmpeg-user] question about displace filter

2017-11-18 Thread Paul B Mahol
On 11/18/17, Michael Koch wrote: > In the documentation for the displace filter is written: > "The second input specifies how much to displace pixels along the > x-axis, ..." > If I understand this right, a video input file is "misused" for storing > the displacement

[FFmpeg-user] question about displace filter

2017-11-18 Thread Michael Koch
In the documentation for the displace filter is written: "The second input specifies how much to displace pixels along the x-axis, ..." If I understand this right, a video input file is "misused" for storing the displacement (instead of brightness). Does that mean that only positive