[FFmpeg-trac] #4298(avfilter:new): zoompan filter creates shaky image

FFmpeg trac at avcodec.org
Thu Feb 5 12:30:22 CET 2015


#4298: zoompan filter creates shaky image
------------------------------------+------------------------------------
             Reporter:  slhck       |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  zoompan     |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by slhck):

 Correct output:


 {{{
 ffmpeg -framerate 25 -loop 1 -i in.jpg -vf
 "zoompan=z='min(zoom+0.0015,1.4)':d=150" -t 6 -s 640x360 out-correct.mp4
 ffmpeg version N-69568-g21051af Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.9.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
 --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
 libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
 libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma
 --enable-decklink --enable-zlib
   libavutil      54. 18.100 / 54. 18.100
   libavcodec     56. 21.102 / 56. 21.102
   libavformat    56. 19.100 / 56. 19.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5.  9.103 /  5.  9.103
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [mjpeg @ 000000000306c540] ignoring invalid SAR: 540/409
 Input #0, image2, from 'in.jpg':
   Duration: 00:00:00.04, start: 0.000000, bitrate: 3236 kb/s
     Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown),
 640x360, 25 fps, 25 tbr, 25 tbn, 25 tbc
 File 'out-correct.mp4' already exists. Overwrite ? [y/N] y
 [swscaler @ 00000000002f7fe0] deprecated pixel format used, make sure you
 did set range correctly
 No pixel format specified, yuvj420p for H.264 encoding chosen.
 Use -pix_fmt yuv420p for compatibility with outdated media players.
 [libx264 @ 000000000306d920] using cpu capabilities: MMX2 SSE2Fast SSSE3
 SSE4.2 AVX
 [libx264 @ 000000000306d920] profile High, level 3.0
 [libx264 @ 000000000306d920] 264 - core 144 r2525 40bb568 - H.264/MPEG-4
 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html -
 options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6
 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0
 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25
 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
 Output #0, mp4, to 'out-correct.mp4':
   Metadata:
     encoder         : Lavf56.19.100
     Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021),
 yuvj420p(pc), 640x360, q=-1--1, 25 fps, 12800 tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.21.102 libx264
 Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg (native) -> h264 (libx264))
 Press [q] to stop, [?] for help
 [swscaler @ 00000000061b5080] deprecated pixel format used, make sure you
 did set range correctly
     Last message repeated 11 times
 [swscaler @ 000000000805ca60] deprecated pixel format used, make sure you
 did set range correctly
     Last message repeated 87 times
 [output stream 0:0 @ 000000000306b140] 100 buffers queued in output stream
 0:0, something may be wrong.
 [swscaler @ 000000000805ca60] deprecated pixel format used, make sure you
 did set range correctly
     Last message repeated 49 times
 [swscaler @ 00000000082d5420] deprecated pixel format used, make sure you
 did set range correctly
     Last message repeated 1 times
 frame=  150 fps=104 q=-1.0 Lsize=     121kB time=00:00:05.92 bitrate=
 167.7kbits/s
 video:119kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 2.164677%
 [libx264 @ 000000000306d920] frame I:1     Avg QP:18.51  size: 13940
 [libx264 @ 000000000306d920] frame P:39    Avg QP:18.97  size:  1900
 [libx264 @ 000000000306d920] frame B:110   Avg QP:23.87  size:   297
 [libx264 @ 000000000306d920] consecutive B-frames:  2.0%  0.0%  2.0% 96.0%
 [libx264 @ 000000000306d920] mb I  I16..4: 12.9% 67.3% 19.8%
 [libx264 @ 000000000306d920] mb P  I16..4:  0.5%  1.5%  0.2%  P16..4:
 37.3% 10.1%  5.3%  0.0%  0.0%    skip:45.0%
 [libx264 @ 000000000306d920] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:
 34.0%  0.4%  0.0%  direct: 0.1%  skip:65.5%  L0:45.6% L1:53.3% BI: 1.1%
 [libx264 @ 000000000306d920] 8x8 transform intra:67.8% inter:76.0%
 [libx264 @ 000000000306d920] coded y,uvDC,uvAC intra: 51.0% 30.4% 6.3%
 inter: 2.8% 1.2% 0.0%
 [libx264 @ 000000000306d920] i16 v,h,dc,p: 19% 35%  9% 36%
 [libx264 @ 000000000306d920] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 26% 28%
 3%  3%  3%  4%  4%  4%
 [libx264 @ 000000000306d920] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 26% 14%
 4%  7%  6%  6%  4%  4%
 [libx264 @ 000000000306d920] i8c dc,h,v,p: 61% 21% 16%  3%
 [libx264 @ 000000000306d920] Weighted P-Frames: Y:0.0% UV:0.0%
 [libx264 @ 000000000306d920] ref P L0: 67.0%  6.3% 17.2%  9.4%
 [libx264 @ 000000000306d920] ref B L0: 93.9%  5.0%  1.1%
 [libx264 @ 000000000306d920] ref B L1: 96.8%  3.2%
 [libx264 @ 000000000306d920] kb/s:161.01
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4298#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list