[FFmpeg-devel] [PATCH] ffmpeg_opt: Add -hwaccels option that lists all supported hwaccels
Timothy Gu
timothygu99 at gmail.com
Wed Aug 26 02:08:44 CEST 2015
On Tue, Aug 25, 2015 at 5:06 PM Ganesh Ajjanagadde <gajjanag at mit.edu> wrote:
> On Tue, Aug 25, 2015 at 7:47 PM, Timothy Gu <timothygu99 at gmail.com> wrote:
> > ---
> > doc/ffmpeg.texi | 4 ++++
> > ffmpeg_opt.c | 14 ++++++++++++++
> > 2 files changed, 18 insertions(+)
> >
> > diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
> > index 51a4ec5..e1d8562 100644
> > --- a/doc/ffmpeg.texi
> > +++ b/doc/ffmpeg.texi
> > @@ -698,6 +698,10 @@ is not specified, the value of the @var{DISPLAY}
> environment variable is used
> > For DXVA2, this option should contain the number of the display adapter
> to use.
> > If this option is not specified, the default adapter is used.
> > @end table
> > +
> > + at item -hwaccels
> > +List all hardware acceleration methods supported in this build of
> avconv.
> > +
>
> This is ffmpeg, not avconv.
>
Oops. Fixed locally.
Doesn't this belong in cmdutils.c?
>
No.
> What was your rationale for placing it here?
>
cmdutils.c is shared for all ff* programs. -hwaccel is only supported in
ffmpeg.
Timothy
More information about the ffmpeg-devel
mailing list