> -----Original Message-----
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf
> Of Michael Niedermayer
> Sent: Monday, July 29, 2019 00:48
> To: FFmpeg development discussions and patches <ffmpeg-
> de...@ffmpeg.org>
> Subject: Re: [FFmpeg-devel] [PATCH, v4 1/2] fftools/ffmpeg_filter: add -
> autoscale to disable/enable the default scale
> 
> On Sun, Jul 28, 2019 at 05:54:24PM +0800, Linjie Fu wrote:
> > Currently, ffmpeg inserts scale filter by default in the filter graph
> > to force the whole decoded stream to scale into the same size with the
> > first frame. It's not quite make sense in resolution changing cases if
> > user wants the rawvideo without any scale.
> >
> > Using autoscale/noautoscale to indicate whether auto inserting the scale
> > filter in the filter graph:
> >     -noautoscale or -autoscale 0:
> >                 disable the default auto scale filter inserting.
> >
> > Update docs.
> >
> > Signed-off-by: U. Artie Eoff <ullysses.a.e...@intel.com>
> > Signed-off-by: Linjie Fu <linjie...@intel.com>
> > ---
> >  doc/ffmpeg.texi         | 16 ++++++++++++----
> >  fftools/ffmpeg.c        |  1 +
> >  fftools/ffmpeg.h        |  4 ++++
> >  fftools/ffmpeg_filter.c |  2 +-
> >  fftools/ffmpeg_opt.c    |  8 ++++++++
> >  5 files changed, 26 insertions(+), 5 deletions(-)
> 
> I think this is ok-ish but it would be more robust if encoders would
> have a CODEC_CAP listing if they actually support changing resolution
> 

AV_CODEC_CAP_VARIABLE_DIMENSIONS is added,  and currently set for rawvideo and 
libvpx.
New patch set has been sent.

- linjie
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to