[FFmpeg-trac] #3329(avfilter:new): fps filter bug

FFmpeg trac at avcodec.org
Sun Jan 19 22:21:17 CET 2014


#3329: fps filter bug
----------------------------------+--------------------------------------
             Reporter:  Krieger   |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avfilter  |                  Version:  git-master
             Keywords:            |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+--------------------------------------
 Summary of the bug:
 Trying to make looped animation from several source images, raising
 framerate from 2 FPS to 25 FPS.
 After several loops, order of frames was wrong in some places.

 How to reproduce:
 {{{
 Take png files from attach.

  ffmpeg -f image2 -loop 1 -framerate 2 -i '/tmp/arrow_%1d.png' -frames
 1000 -vf fps=fps=25 /tmp/tmp.ts -y
 ffmpeg version N-59981-g9d13432 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Jan 19 2014 22:00:02 with gcc 4.6.3 (Gentoo 4.6.3 p1.13,
 pie-0.5.2)
   configuration: --enable-gpl --enable-libx264 --enable-encoder=libx264
 --disable-stripping --enable-debug --extra-cflags='-O0 -g -ggdb' --enable-
 libopus --enable-libvpx --enable-x11grab --enable-libfreetype --enable-
 filter=drawtext --enable-libzvbi
   libavutil      52. 63.100 / 52. 63.100
   libavcodec     55. 48.101 / 55. 48.101
   libavformat    55. 24.100 / 55. 24.100
   libavdevice    55.  5.102 / 55.  5.102
   libavfilter     4.  1.100 /  4.  1.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, image2, from '/tmp/arrow_%1d.png':
   Duration: 00:00:01.50, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: png, rgba, 44x12, 2 fps, 2 tbr, 2 tbn, 2 tbc
 Output #0, mpegts, to '/tmp/tmp.ts':
   Metadata:
     encoder         : Lavf55.24.100
     Stream #0:0: Video: mpeg2video, yuv420p, 44x12, q=2-31, 200 kb/s, 90k
 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (png -> mpeg2video)
 Press [q] to stop, [?] for help
 frame=32188 fps=25692 q=2.0 Lsize=    9816kB time=00:21:27.48 bitrate=
 62.5kbits/s}}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3329>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list