[FFmpeg-trac] #7686(avfilter:new): Wrong decision of pixel format in filtergraph
FFmpeg
trac at avcodec.org
Thu Jan 24 16:55:33 EET 2019
#7686: Wrong decision of pixel format in filtergraph
------------------------------------+------------------------------------
Reporter: mfcc64 | Owner:
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 mfcc64):
After investigating fate-run.sh, on pixfmts() actually the tested filter
is guarded by format filter, so I try this:
{{{
% ffmpeg -loglevel verbose -filter_complex "allrgb=d=0.1,
format=yuv444p12be, lutyuv, format=yuv444p12be" -f null -
[Parsed_allrgb_0 @ 0x1e84440] size:4096x4096 rate:25/1 duration:0.100000
sar:1/1
[auto_scaler_0 @ 0x1f080c0] w:iw h:ih flags:'bilinear' interl:0
[Parsed_format_1 @ 0x1e850c0] auto-inserting filter 'auto_scaler_0'
between the filter 'Parsed_allrgb_0' and the filter 'Parsed_format_1'
[auto_scaler_1 @ 0x1f096c0] w:iw h:ih flags:'bilinear' interl:0
[Parsed_lutyuv_2 @ 0x1e85b00] auto-inserting filter 'auto_scaler_1'
between the filter 'Parsed_format_1' and the filter 'Parsed_lutyuv_2'
[auto_scaler_2 @ 0x1f0ad00] w:iw h:ih flags:'bilinear' interl:0
[Parsed_format_3 @ 0x1e7fb40] auto-inserting filter 'auto_scaler_2'
between the filter 'Parsed_lutyuv_2' and the filter 'Parsed_format_3'
[auto_scaler_0 @ 0x1f080c0] w:4096 h:4096 fmt:rgb24 sar:1/1 -> w:4096
h:4096 fmt:yuv444p12be sar:1/1 flags:0x2
[auto_scaler_1 @ 0x1f096c0] w:4096 h:4096 fmt:yuv444p12be sar:1/1 ->
w:4096 h:4096 fmt:yuv444p16le sar:1/1 flags:0x2
[auto_scaler_2 @ 0x1f0ad00] w:4096 h:4096 fmt:yuv444p16le sar:1/1 ->
w:4096 h:4096 fmt:yuv444p12be sar:1/1 flags:0x2
}}}
The result is unexpected: yuv444p12be -> yuv444p16le -> yuv444p12be.
The ideal should be: yuv444p12be -> yuv444p12le -> yuv444p12be.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7686#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list