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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel