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

Guo, Yejun yejun.guo at intel.com
Fri Dec 28 04:11:21 EET 2018



> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf
> Of Derek Buitenhuis
> Sent: Friday, December 28, 2018 12:47 AM
> To: ffmpeg-devel at ffmpeg.org
> Subject: Re: [FFmpeg-devel] [PATCH V3 3/3] add an example to show how to
> fill the ROI info
> 
> 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.

yes, this patch is not ask for upstreaming/pushing.

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

good point, I'll add into doc/examples/encode_video.c. 
Just to make things step by step, I'll send this in another patch (separated with the two basic patches), maybe tomorrow or next week.

> 
> - Derek
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list