[FFmpeg-trac] #10396(avfilter:new): Fieldmatch filter does not support high bit depth?

FFmpeg trac at avcodec.org
Fri Jun 2 15:11:21 EEST 2023


#10396: Fieldmatch filter does not support high bit depth?
----------------------------------+--------------------------------------
             Reporter:  nicol     |                     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: When I check the fmt from a high bit depth video using
 the fieldmatch filter and inverse telecine using the showinfo filter, it
 drops to 8 bits. the detelecine filter does not drop in bit depth.
 The fieldmatch filter code seems to support high bit depth.

 https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_fieldmatch.c#L925

 How to reproduce:
 {{{
 % ffmpeg -f lavfi -i
 testsrc2=s=1920x1080:d=1:r=24000/1001,format=yuv422p10le,telecine,fieldmatch,showinfo
 -vframes 1 -f null -
 n:   0 pts:      0 pts_time:0       duration:      1
 duration_time:0.0333667 fmt:yuv422p sar:1/1 s:1920x1080 i:P iskey:1 type:I
 checksum:E811F934 plane_checksum:[8D4631F3 B13FDB26 00E0EC0C] mean:[127
 127 126] stdev:[56.0 79.8 84.3]
 > fmt:yuv422p

 ffmpeg -f lavfi -i
 testsrc2=s=1920x1080:d=1:r=24000/1001,format=yuv422p10le,telecine,detelecine,showinfo
 -vframes 1 -f null -
 n:   0 pts:      0 pts_time:0       duration:      1
 duration_time:0.0417083 fmt:yuv422p10le sar:1/1 s:1920x1080 i:P iskey:1
 type:I checksum:61799E58 plane_checksum:[72E5ED53 5569CC33 BFE1E4B4]
 mean:[506 508 504] stdev:[223.8 319.2 337.1]
 > fmt:yuv422p10le

 ffmpeg version N-110972-gbaa9fccf8d-20230601
 built on ... btbn Auto-Build 2023-06-01 12:47
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10396>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list