[FFmpeg-devel] [PATCH 2/5] fftools/cmdutils: Print filter input/output formats in help output

Paul B Mahol onemda at gmail.com
Wed Oct 13 11:15:51 EEST 2021


On Wed, Oct 13, 2021 at 9:58 AM Soft Works <softworkz at hotmail.com> wrote:

>
>
> > -----Original Message-----
> > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> > Soft Works
> > Sent: Wednesday, October 13, 2021 9:36 AM
> > To: FFmpeg development discussions and patches <ffmpeg-
> > devel at ffmpeg.org>
> > Subject: Re: [FFmpeg-devel] [PATCH 2/5] fftools/cmdutils: Print
> > filter input/output formats in help output
> >
> >
> >
> > > -----Original Message-----
> > > From: ffmpeg-devel <ffmpeg-devel-bounces at ffmpeg.org> On Behalf Of
> > > Paul B Mahol
> > > Sent: Wednesday, October 13, 2021 9:27 AM
> > > To: FFmpeg development discussions and patches <ffmpeg-
> > > devel at ffmpeg.org>
> > > Subject: Re: [FFmpeg-devel] [PATCH 2/5] fftools/cmdutils: Print
> > > filter input/output formats in help output
> > >
> > > scale, extractplanes, alphaextract, waveform, vectorscope.
> >
> > See the results below. Nothing is flawed. Of course there can't be an
> > output in all cases, as you have pointed out correctly.
> >
> > But for the remaining 95% of filters, the formats output is very
> > useful.
> > (and correct)
>

As proved by above, this is big hack and should not be applied, its also
ugly.


>
> I'd also like to point out that this information is currently completely
> inaccessible for anybody without looking it up in the source code.
>
> Knowing about a filter's supported formats is important for building
> efficient filter chains and avoiding unexpected auto format
> conversions.
>
> I had added this output years ago and the information (which is
> parsed from the help output) is an important prerequisite for our
> automated filter-string-building (outside of ffmpeg).
>
> I also use it regularly for looking up filter formats and I think
> it might be useful for others as well.
>
> Kind regards,
> softworkz
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
>


More information about the ffmpeg-devel mailing list