[FFmpeg-devel] [PATCH]lavfi/extractplanes: Fix in_pixfmts
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Mar 7 09:34:21 CET 2016
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
> If the input file has a 16bit little endian pix_fmt not supported
> by extractplanes (gbra12le), the filter system has to choose a
> compatible pix_fmt supported by the filter and chooses rgba64be
> here. The extractplanes filter returns gray16le as output pix_fmt
> because the original pix_fmt was le but produces visually broken
> output because the actual filter input is be.
> Attached patch works around this issue by always providing
> compatible input and output formats.
> I am happy if this can be fixed differently.
Ping.
I don't know if this is a general bug in libavfilter or just a
specific one in extractplanes but it can't be expected behaviour.
Is there a possibility to set the input pix_fmts in
query_formats() but the output pix_fmt later?
Carl Eugen
More information about the ffmpeg-devel
mailing list