[FFmpeg-devel] [PATCH V3 3/3] add an example to show how to fill the ROI info

Derek Buitenhuis derek.buitenhuis at gmail.com
Thu Dec 27 18:46:47 EET 2018


On 27/12/2018 11:06, Guo, Yejun wrote:
> This patch is just a quick example to show how to fill the ROI info,
> it does not ask for upstreaming, just for your reference.
> 
> to verify the ROI feature with this example, the command line looks like:
> ./ffmpeg -i .../path_to_1920x1080_video_file -vf scale=1920:1080 -c:v libx264 -b:v 2000k -y tmp.264
> 
> Signed-off-by: Guo, Yejun <yejun.guo at intel.com>
> ---
>  libavfilter/vf_scale.c | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)

I understand the patch is an example for the benefit of the
people reading the list, but obviously can't be pushed.

Is it useful to add an example to any of the existing *example*.c files
we ship with the source?

- Derek


More information about the ffmpeg-devel mailing list