[FFmpeg-devel] [RFC]Move param0/param1 documentation

Stefano Sabatini stefasab at gmail.com
Mon Sep 30 11:49:51 CEST 2013


On date Monday 2013-09-30 09:42:38 +0000, Carl Eugen Hoyos encoded:
> Stefano Sabatini <stefasab <at> gmail.com> writes:
> 
> > > Attached patch tries to "fix" ticket #3007.
> 
> > This is not correct. param0 and param1 are supported 
> > by the scaler,
> 
> Could you provide a sample command line?

No. The scaler provides an abstract interface, which can be used
programmatically or through third party components. This is similar to
what done with aresample.

> 
> > they are *not* supported by the scale filter.
> 
> Works fine here:
> ./ffmpeg -i tests/lena.pnm -vf \
> scale=500:500:flags=lanczos:param0=2:param1=3 out.png

Indeed it is supported (but not documented) since:
6d246f440e46e12dfe4ff433c5ac0ceffd134143

I suggest to add something like this to the scale filter docs:

OPTIONS
...
In addition to the above options, the filter supports all the options
supported by the libswscale scaler. See the ffmpeg-scaler manual for
the complete list of supported options.
...

And possibly add examples, ideally we should also get rid of the
duplicated docs.
-- 
FFmpeg = Frenzy and Fast Mean Philosofic Enlightening Gorilla


More information about the ffmpeg-devel mailing list