[FFmpeg-user] bug in zoompan with overlay filters ?

mail list maillist35650 at gmail.com
Sun Nov 30 22:18:32 CET 2014


Hello,

It seems there is a bug in zoompan.
If we use an overlay filter on the output of zoompan, the zoom progress
stops at 2 seconds whatever the 'd' parameter of the zoompan.
If we remove the overlay fliter, it works.

Here is the command;

ffmpeg -loglevel info -y  -f lavfi -r 25 -i color=black  -loop 1 -r 25 -i
pic.png -filter_complex " \
 [0:v]scale=640x480[background];  [\
 1:v]scale=640x480,zoompan=z='zoom+0.001':x='ow/2':y='oh/2':s=640x480:d=250,setpts=PTS-STARTPTS+1/TB
[vshot2]; \
 [background][vshot2] overlay[vfinal]" \
 -strict -2 -c:v h264 -b:a 96k -aspect 640/480 -pix_fmt yuv420p -t 10 -map
[vfinal] final.mp4


Here are some logs:

ffmpeg version N-41370-gb4d8724-   http://johnvansickle.com/ffmpeg/
 Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov 24 2014 00:39:29 with gcc 4.8 (Debian 4.8.3-13)
  configuration: --enable-gpl --enable-version3 --disable-shared
--disable-debug --enable-runtime-cpudetect --enable-libmp3lame
--enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex
--enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
--enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver
--enable-libass --enable-gnutls --cc=gcc-4.8
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.100 / 56. 15.100
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
...
[swscaler @ 0x9fe99e0] Warning: data is not aligned! This can lead to a
speedloss
[Parsed_overlay_4 @ 0xa044e40] [framesync @ 0xa044ee4] Buffer queue
overflow, dropping.
    Last message repeated 184 times
[Parsed_overlay_4 @ 0xa044e40] [framesync @ 0xa044ee4] Buffer queue
overflow, dropping.
    Last message repeated 185 times

rgds
Jean


More information about the ffmpeg-user mailing list