[FFmpeg-trac] #9740(avfilter:new): Problem in geq filter if height=1

FFmpeg trac at avcodec.org
Tue May 7 16:07:02 EEST 2024


#9740: Problem in geq filter if height=1
--------------------------------------+------------------------------------
             Reporter:  Michael Koch  |                    Owner:  (none)
                 Type:  defect        |                   Status:  new
             Priority:  normal        |                Component:  avfilter
              Version:  git-master    |               Resolution:
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+------------------------------------
Comment (by Michael Koch):

 Adding "filter_threads 1" or adding ":threads=1" as option to the geq
 filter doesn't fix the problem. All printed values are 0, which is
 obviously wrong. If the height of the image is changed to 2, then the
 printed values are correct.

 ffmpeg -f lavfi -i haldclutsrc=2 -vf crop=iw:1 -frames 1 -y test.png
 ffmpeg -loglevel repeat -i test.png -filter_threads 1 -vf
 geq=r='print(r(X,Y))' -f null NUL
 ffmpeg -loglevel repeat -i test.png -vf geq=r='print(r(X,Y))':threads=1 -f
 null NUL
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9740#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list