]> granicus.if.org Git - handbrake/commit
libhb: Add libavfilter support and pad filter
authorJohn Stebbins <jstebbins@monolith.john.stebbins.name>
Sat, 24 Oct 2015 21:06:56 +0000 (14:06 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Thu, 21 Jan 2016 19:38:42 +0000 (12:38 -0700)
commit10ea76c71197b302b10088d93680a4bed4bc6b8e
tree459b46b16256c39ed34fe1f0a4b9476ec3439871
parentef956e695879c716dc22c96f7f8fa24e3fa5d08c
libhb: Add libavfilter support and pad filter

New filter types HB_FILTER_AVFILTER and HB_FILTER_PAD.
Settings for HB_FILTER_AVFILTER are the same as you would pass to avconv
from the command line -vf option, except that we do not support
multi-input or multi-output filters.

Settings for HB_FILTER_PAD are "width:height:color:x_offset:y_offset".
width x height is the size of the output frame after padding.
color may be a w3c color name or RGB value (default black).
x_offset, y_offset is the position of the video within the padded area
(default centered).
Any of the values may be omitted or "auto".
22 files changed:
contrib/ffmpeg/A10-vf-pad.patch [new file with mode: 0644]
contrib/ffmpeg/A11-avfilter-framerate.patch [new file with mode: 0644]
contrib/ffmpeg/module.defs
gtk/configure.ac
libhb/avfilter.c [new file with mode: 0644]
libhb/common.c
libhb/common.h
libhb/cropscale.c
libhb/grayscale.c
libhb/hb.c
libhb/hb.h
libhb/internal.h
libhb/module.defs
libhb/param.c
libhb/preset.c
libhb/qsv_filter.c
libhb/qsv_filter_pp.c
libhb/rotate.c
libhb/vfr.c
libhb/work.c
test/module.defs
test/test.c