[FFmpeg-trac] #11211(avfilter:new): "select" filter behavior regression (4.4.2 ~)

FFmpeg trac at avcodec.org
Sat Sep 28 05:57:54 EEST 2024


#11211: "select" filter behavior regression (4.4.2 ~)
-------------------------------------+-------------------------------------
             Reporter:  John         |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  critical     |                Component:  avfilter
              Version:  7.0          |               Resolution:
             Keywords:  select       |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by MasterQuestionable):

 ͏    Try input with [https://ffmpeg.org/ffmpeg-filters.html#testsrc2
 ͏"testsrc2"]:
 ͏    `ffmpeg -y -v debug -hide_banner -nostdin -nostats -f lavfi -i
 "testsrc2=r=1:d=30" -vf "select='eq( n, 0 ) + not( mod( t, 10 ) )'"
 -compression_level 1 -pred none -pix_fmt rgb24 "%d.png"`

 ͏    The "`eq( n, 0 ) + `" part appears unnecessary.
 ͏    Removing only caused the difference for Frame !#1:
 -[Parsed_select_0] n:0.000000 pts:0.000000 t:0.000000 key:1
 interlace_type:P pict_type:I scene:nan -> select:1.000000 select_out:0
 +[Parsed_select_0] n:0.000000 pts:0.000000 t:0.000000 key:1
 interlace_type:P pict_type:I scene:nan -> select:2.000000 select_out:0
 ͏    .
 ͏    And such difference doesn't seem to matter.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11211#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list