Opened 17 months ago
Closed 17 months ago
#10396 closed defect (invalid)
Fieldmatch filter does not support high bit depth?
Reported by: | nicol | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avfilter |
Version: | git-master | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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.
Note:
See TracTickets
for help on using tickets.
High-bit formats are supported only by ppsrc=option.
As explained in documentation.
So you could use ppsrc and provide 2nd input to filter.