<div dir="ltr">Hi all,<div><br></div><div>I would like to use the scale filter (based on swscale) to convert from one pixel format to another, which means that I would like to be able to specify to this filter the "dst_format" parameter (as well as "src_format" parameter).</div><div>Unfortunately from what I can see in the source code (vf_scale.c), the "dst_format" parameter can not be configured but it is automatically set as such : <br></div><div><br></div><div>enum AVPixelFormat outfmt = outlink->format;<br></div><div>...</div><div>av_opt_set_int(*s, "dst_format", outfmt, 0);<br></div><div><br></div><div><br></div><div>How can I override the "dst_format" parameter?</div><div><br></div><div>Thanks in advance,</div><div><br></div><div>Ben</div></div>