[FFmpeg-devel] avfilter : merge setfield and setrange and add set color property option

Martin Vignali martin.vignali at gmail.com
Sat Oct 20 18:10:44 EEST 2018


Hello,

Missing doc update, and changelog entry.

001 : Merge setfield and setrange to a new setparams filter
like both filter have near identical code, and merging it, can let a user
to set all property at the same time.

in setparams, the field mode option have been rename to field_mode
Current behaviour is not modify for setrange, setfield

002 : Add in setparams the possibility to set color primaries, trc,
colorspace
of the frame
use for the option the same name define in by avutil/pix_desc.c


Don't know if i need to set previous filter (setfield setrange) as
deprecated
(and log the new syntax using setparams filter)
And if yes, is it a good idea to put in the log message a removal date
(like in 1 or 2 year ?) ?

Like : "setfield is deprecated, use setparams=field_mode... instead.
setfield filter will be remove in October 2020".

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-avfilter-setparams-merge-setfield-and-setrange-filte.patch
Type: application/octet-stream
Size: 11182 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181020/38ac9a1c/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-avfilter-setparam-add-options-to-set-color-primaries.patch
Type: application/octet-stream
Size: 8713 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181020/38ac9a1c/attachment-0001.obj>


More information about the ffmpeg-devel mailing list