Re: [FFmpeg-user] deep zoom-in

2016-02-07 Thread Michael Koch
2. It would be nice to have an expression for a lookup table, for example lookup(x, y0, y1, y2, ... , z) Evaluate x, and if the result is 0 return y0, if the result is 1 return y1, and so on, else if the result is out of range return z. I found a workaround for a lookup table. The

Re: [FFmpeg-user] deep zoom-in

2016-02-06 Thread Michael Koch
Paul, Something like this: zoompan=zoom='if(mod(in\,40)\,zoom\,0)+0.01':d=40:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)' thank you very much for this hint. The _in_ parameter does indeed work. With this parameter it's for example possible to make a slideshow and specify different durations

[FFmpeg-user] deep zoom-in

2016-02-04 Thread Michael Koch
Hi all, I'd like to make a deep zoom-in from several images. For example, begin with image1 (which was taken with a 50mm objective) and use the zoompan filter to make a 5 seconds zoom-in from 1x to 4x, then use image2 (taken with a 200mm objective) and continue to zoom in, and so on. There

Re: [FFmpeg-user] deep zoom-in

2016-02-04 Thread Paul B Mahol
On 2/4/16, Michael Koch wrote: > Hi all, > > I'd like to make a deep zoom-in from several images. For example, begin > with image1 (which was taken with a 50mm objective) and use the zoompan > filter to make a 5 seconds zoom-in from 1x to 4x, then use image2 (taken >