[FFmpeg-devel] [FFmpeg-cvslog] avfilter/vf_zoompan: fix specific corner case when no frame was ever requested from input

Paul B Mahol onemda at gmail.com
Thu Sep 7 18:32:58 EEST 2017

On 9/7/17, Nicolas George <george at nsup.org> wrote:
> Le primidi 21 fructidor, an CCXXV, Paul B Mahol a ecrit :
>> Take single image as input, and example as listed in documentation of
>> zoompan:
>> zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'
> I am sorry but I have better use of my time than debugging this filter.
> So please, if you want any help about it, give me a complete, exact and
> minimal command-line that I can use, and describe precisely what I am
> supposed to observe both in the case where it works and in the case
> where it does not.

ffmpeg -lavfi "testsrc2,trim=end_frame=1,zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'"
-f framecrc -

Should output 700 frames and not 1 frame.

More information about the ffmpeg-devel mailing list