[FFmpeg-trac] #7686(avfilter:new): Wrong decision of pixel format in filtergraph
FFmpeg
trac at avcodec.org
Thu Jan 17 11:25:35 EET 2019
#7686: Wrong decision of pixel format in filtergraph
----------------------------------+--------------------------------------
Reporter: mfcc64 | 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:
How to reproduce:
{{{
% ffmpeg -loglevel verbose -filter_complex "allrgb=d=0.1, lutyuv,
format=yuv444p12be" -f null -
[Parsed_allrgb_0 @ 0x1b29f40] size:4096x4096 rate:25/1 duration:0.100000
sar:1/1
[auto_scaler_0 @ 0x1bad300] w:iw h:ih flags:'bilinear' interl:0
[Parsed_lutyuv_1 @ 0x1b2ab40] auto-inserting filter 'auto_scaler_0'
between the filter 'Parsed_allrgb_0' and the filter 'Parsed_lutyuv_1'
[auto_scaler_1 @ 0x1bae9c0] w:iw h:ih flags:'bilinear' interl:0
[Parsed_format_2 @ 0x1b2a840] auto-inserting filter 'auto_scaler_1'
between the filter 'Parsed_lutyuv_1' and the filter 'Parsed_format_2'
[auto_scaler_0 @ 0x1bad300] w:4096 h:4096 fmt:rgb24 sar:1/1 -> w:4096
h:4096 fmt:yuv444p sar:1/1 flags:0x2
[auto_scaler_1 @ 0x1bae9c0] w:4096 h:4096 fmt:yuv444p sar:1/1 -> w:4096
h:4096 fmt:yuv444p12be sar:1/1 flags:0x2
}}}
Note that the conversion is: rgb24 => yuv444p => yuv444p12be.
I guess the correct conversion is: rgb24 => yuv444p12le => yuv444p12be
(lutyuv supports yuv444p12le).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7686>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list