[FFmpeg-devel] [PATCH]lavfi/extractplanes: Fix in_pixfmts
Carl Eugen Hoyos
cehoyos at ag.or.at
Sat Mar 5 19:22:35 CET 2016
I see the following issue here with extractplanes:
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.
Please comment, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4209 bytes
More information about the ffmpeg-devel