[FFmpeg-trac] #5493(avfilter:open): framerate filter output appears to be affected by request_frame() calls (was: framerate filter outputs an undefined number of frames with x264)

FFmpeg trac at avcodec.org
Wed Jun 22 16:40:26 CEST 2016


#5493: framerate filter output appears to be affected by request_frame() calls
------------------------------------+------------------------------------
             Reporter:  blacktrash  |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  important   |                Component:  avfilter
              Version:  git-master  |               Resolution:
             Keywords:  framerate   |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by michael):

 * keywords:  framerate libx264 => framerate


Comment:

 this can be reproduced with:
 {{{
 ./ffmpeg  -i ~/tickets/5493/issue5493.mp4 -filter:v
 framerate=30,scale=640:360,fps=30 -f framecrc A
 ./ffmpeg -threads 1 -i ~/tickets/5493/issue5493.mp4 -filter:v
 framerate=30,scale=640:360,fps=30 -f framecrc B
 diff -u A B

 --- A   2016-06-22 16:31:26.633033665 +0200
 +++ B   2016-06-22 16:31:06.057033231 +0200
 @@ -560,25 +560,25 @@
  1,     342290,     342290,     1024,     4096, 0x445206ff
  0,        214,        214,        1,   345600, 0x4017bedd
  1,     343314,     343314,     1024,     4096, 0xfdc5dcbf
 -0,        215,        215,        1,   345600, 0xfc5a89e7
 +0,        215,        215,        1,   345600, 0x4017bedd
  1,     344338,     344338,     1024,     4096, 0x21d21a3c
  1,     345362,     345362,     1024,     4096, 0x69ccf0a0
 -0,        216,        216,        1,   345600, 0x72119102
 +0,        216,        216,        1,   345600, 0xc36ba5f7
  1,     346386,     346386,     1024,     4096, 0x6b5f2c63
 -0,        217,        217,        1,   345600, 0x8888a036
 +0,        217,        217,        1,   345600, 0x9e679ff2
  1,     347410,     347410,     1024,     4096, 0xade4587c
  1,     348434,     348434,     1024,     4096, 0x1b0c0bad
  0,        218,        218,        1,   345600, 0x86672978
  1,     349458,     349458,     1024,     4096, 0x1cf0bade
 -0,        219,        219,        1,   345600, 0x6b562d5d
 +0,        219,        219,        1,   345600, 0x84e02563
  1,     350482,     350482,     1024,     4096, 0x4e14313e
  1,     351506,     351506,     1024,     4096, 0x86e5f4d4
 -0,        220,        220,        1,   345600, 0x3ed5ffa9
 +0,        220,        220,        1,   345600, 0xa763fe75
  1,     352530,     352530,     1024,     4096, 0x24c4f499
  1,     353554,     353554,     1024,     4096, 0x117d58e2
 -0,        221,        221,        1,   345600, 0x5bb5a595
 +0,        221,        221,        1,   345600, 0xeda1a607
  1,     354578,     354578,     1024,     4096, 0xd1aabc50
 -0,        222,        222,        1,   345600, 0xcc59390c
 +0,        222,        222,        1,   345600, 0xab0137cd
  1,     355602,     355602,     1024,     4096, 0x8b8939d3
  1,     356626,     356626,     1024,     4096, 0x72e51b9e
  0,        223,        223,        1,   345600, 0x128fbac6
 @@ -1027,19 +1027,19 @@
  0,        396,        396,        1,   345600, 0x10409a8c
  1,     634130,     634130,     1024,     4096, 0x57ae5401
  1,     635154,     635154,     1024,     4096, 0x260a230d
 -0,        397,        397,        1,   345600, 0x0bc7659d
 +0,        397,        397,        1,   345600, 0x42896f4f
  1,     636178,     636178,     1024,     4096, 0x5bcc5956
 -0,        398,        398,        1,   345600, 0x08f67f09
 +0,        398,        398,        1,   345600, 0xf28b6d65
  1,     637202,     637202,     1024,     4096, 0x2981fe02
  1,     638226,     638226,     1024,     4096, 0x11b60f5f
 -0,        399,        399,        1,   345600, 0xeed29026
 +0,        399,        399,        1,   345600, 0x21f58778
  1,     639250,     639250,     1024,     4096, 0xc41dffc9
 -0,        400,        400,        1,   345600, 0x278a8297
 +0,        400,        400,        1,   345600, 0xba567f15
  1,     640274,     640274,     1024,     4096, 0xc456e0c4
  1,     641298,     641298,     1024,     4096, 0xede935d4
 -0,        401,        401,        1,   345600, 0x471669b4
 +0,        401,        401,        1,   345600, 0x7e6b6746
  1,     642322,     642322,     1024,     4096, 0x556acd01
 -0,        402,        402,        1,   345600, 0x831c4a69
 +0,        402,        402,        1,   345600, 0x34ae4e6e
  1,     643346,     643346,     1024,     4096, 0x3dcc7d69
  1,     644370,     644370,     1024,     4096, 0xfa59595f
  0,        403,        403,        1,   345600, 0x9cc7b60a

 }}}
 so libx264 is not involved

 removing the filter chain single and multithreded outputs match

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


More information about the FFmpeg-trac mailing list