[FFmpeg-trac] #6006(avfilter:new): FPS filter not selecting right frames from input

FFmpeg trac at avcodec.org
Sun Dec 11 11:43:07 EET 2016


#6006: FPS filter not selecting right frames from input
------------------------------------+------------------------------------
             Reporter:  Misaki      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  fps         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by Misaki):

 {{{
  ffmpeg -filter_complex
 testsrc=rate=30,settb=1/1000,setpts=PTS+18,showinfo,fps=15,showinfo -t 0.2
 -f null -
 ffmpeg version 2.7.6-0ubuntu0.15.10.1 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 5.2.1 (Ubuntu 5.2.1-22ubuntu2) 20151010
   configuration: --prefix=/usr --extra-version=0ubuntu0.15.10.1 --build-
 suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
 --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --enable-shared
 --disable-stripping --enable-avresample --enable-avisynth --enable-frei0r
 --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
 --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-
 libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-
 libopenjpeg --enable-openal --enable-libopus --enable-libpulse --enable-
 librtmp --enable-libschroedinger --enable-libshine --enable-libspeex
 --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-libxvid --enable-libzvbi
 --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883
 --enable-libzmq --enable-libssh --enable-libsoxr --enable-libx264
 --enable-libopencv --enable-libx265
   libavutil      54. 27.100 / 54. 27.100
   libavcodec     56. 41.100 / 56. 41.100
   libavformat    56. 36.100 / 56. 36.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 16.101 /  5. 16.101
   libavresample   2.  1.  0 /  2.  1.  0
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc    53.  3.100 / 53.  3.100
 [Parsed_showinfo_3 @ 0x16878a0] config in time_base: 1/1000, frame_rate:
 30/1
 [Parsed_showinfo_3 @ 0x16878a0] config out time_base: 0/0, frame_rate: 0/0
 [Parsed_showinfo_5 @ 0x1688b40] config in time_base: 1/15, frame_rate:
 15/1
 [Parsed_showinfo_5 @ 0x1688b40] config out time_base: 0/0, frame_rate: 0/0
 Output #0, null, to 'pipe:':
   Metadata:
     encoder         : Lavf56.36.100
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 15 fps, 15 tbn, 15 tbc (default)
     Metadata:
       encoder         : Lavc56.41.100 rawvideo
 Stream mapping:
   showinfo -> Stream #0:0 (rawvideo)
 Press [q] to stop, [?] for help
 [Parsed_showinfo_3 @ 0x16878a0] n:   0 pts:     18 pts_time:0.018   pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:88C4D19A
 plane_checksum:[88C4D19A] mean:[127] stdev:[125.7]
 [Parsed_showinfo_3 @ 0x16878a0] n:   1 pts:     51 pts_time:0.051   pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:FD48FF60
 plane_checksum:[FD48FF60] mean:[127] stdev:[125.7]
 [Parsed_showinfo_3 @ 0x16878a0] n:   2 pts:     85 pts_time:0.085   pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:5BBC2F63
 plane_checksum:[5BBC2F63] mean:[127] stdev:[125.7]
 [Parsed_showinfo_5 @ 0x1688b40] n:   0 pts:      0 pts_time:0       pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:FD48FF60
 plane_checksum:[FD48FF60] mean:[127] stdev:[125.7]
 [null @ 0x1689100] Encoder did not produce proper pts, making some up.
 [Parsed_showinfo_3 @ 0x16878a0] n:   3 pts:    118 pts_time:0.118   pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:39A855A7
 plane_checksum:[39A855A7] mean:[127] stdev:[125.7]
 [Parsed_showinfo_5 @ 0x1688b40] n:   1 pts:      1 pts_time:0.0666667 pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:5BBC2F63
 plane_checksum:[5BBC2F63] mean:[127] stdev:[125.7]
 [Parsed_showinfo_3 @ 0x16878a0] n:   4 pts:    151 pts_time:0.151   pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:6B3D7C29
 plane_checksum:[6B3D7C29] mean:[128] stdev:[125.7]
 [Parsed_showinfo_3 @ 0x16878a0] n:   5 pts:    185 pts_time:0.185   pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:7E969AAD
 plane_checksum:[7E969AAD] mean:[128] stdev:[125.7]
 [Parsed_showinfo_5 @ 0x1688b40] n:   2 pts:      2 pts_time:0.133333 pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:6B3D7C29
 plane_checksum:[6B3D7C29] mean:[128] stdev:[125.7]
 [Parsed_showinfo_3 @ 0x16878a0] n:   6 pts:    218 pts_time:0.218   pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:0930B896
 plane_checksum:[0930B896] mean:[128] stdev:[125.6]
 [Parsed_showinfo_3 @ 0x16878a0] n:   7 pts:    251 pts_time:0.251   pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:CED6CEBF
 plane_checksum:[CED6CEBF] mean:[128] stdev:[125.6]
 [Parsed_showinfo_3 @ 0x16878a0] n:   8 pts:    285 pts_time:0.285   pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:3F25E3D1
 plane_checksum:[3F25E3D1] mean:[128] stdev:[125.6]
 [Parsed_showinfo_5 @ 0x1688b40] n:   3 pts:      3 pts_time:0.2     pos:
 -1 fmt:rgb24 sar:1/1 s:320x240 i:P iskey:1 type:I checksum:CED6CEBF
 plane_checksum:[CED6CEBF] mean:[128] stdev:[125.6]
 frame=    3 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.20 bitrate=N/A
 video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 }}}

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


More information about the FFmpeg-trac mailing list