ffmpeg/doc
Lars Kiesow 74d4bc0fa0 libavfilter/vf_scale: Ensure scaled video is divisible by n
This patch adds a new option to the scale filter which ensures that the
output resolution is divisible by the given integer when used together
with `force_original_aspect_ratio`. This works similar to using `-n` in
the `w` and `h` options.

This option respects the value set for `force_original_aspect_ratio`,
increasing or decreasing the resolution accordingly.

The use case for this is to set a fixed target resolution using `w` and
`h`, to use the `force_original_aspect_ratio` option to make sure that
the video always fits in the defined bounding box regardless of aspect
ratio, but to also make sure that the calculated output resolution is
divisible by n so in can be encoded with certain encoders/options if
that is required.

Signed-off-by: Lars Kiesow <lkiesow@uos.de>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2019-08-13 16:48:38 +02:00
..
doxy
examples examples/encode_video: only add sequence end code for mpeg1/2 video 2019-08-08 17:58:50 +08:00
.gitignore
APIchanges lavu/tx: add support for double precision FFT and MDCT 2019-08-02 01:19:52 +01:00
Doxyfile
Makefile
authors.texi
bitstream_filters.texi h264_metadata: Support overscan_appropriate_flag 2019-07-29 19:57:09 +01:00
bootstrap.min.css
build_system.txt doc/build_system: Document checkheaders/alltools and consistency fixes 2019-05-28 09:12:17 +08:00
codecs.texi doc/codecs: Add missing documentation for nointra 2019-07-15 09:21:33 +08:00
decoders.texi doc: add basic documentation for libdav1d 2019-05-20 18:21:33 -03:00
default.css
demuxers.texi lavf/hls: add http_seekable option for HTTP partial requests 2019-08-08 17:53:32 +08:00
developer.texi
devices.texi
doxy-wrapper.sh
encoders.texi doc/encoders: Document eld_v2 option for libfdk_aac encoder. 2019-05-28 09:12:17 +08:00
errno.txt
faq.texi doc/faq: update macOS and URLs 2019-02-11 10:13:31 +05:30
fate.texi doc/fate: Document how to request samples upload access 2019-08-09 01:33:49 +02:00
fate_config.sh.template
ffmpeg-bitstream-filters.texi
ffmpeg-codecs.texi
ffmpeg-devices.texi
ffmpeg-filters.texi
ffmpeg-formats.texi
ffmpeg-protocols.texi
ffmpeg-resampler.texi
ffmpeg-scaler.texi
ffmpeg-utils.texi
ffmpeg.texi doc/ffmpeg: Document dts_error_threshold option 2019-08-08 18:00:37 +08:00
ffmpeg.txt
ffplay.texi ffplay: added option always on top for video window 2019-05-20 17:51:43 -03:00
ffprobe.texi
ffprobe.xsd fftools/ffprobe: Add S12M Timecode output as side data (such as SEI TC) 2019-05-27 00:28:34 +02:00
fftools-common-opts.texi doc/fftools-common-opts: document ffmpeg -h bsf=bitstream_filter_name 2019-06-14 13:19:26 +08:00
filter_design.txt
filters.texi libavfilter/vf_scale: Ensure scaled video is divisible by n 2019-08-13 16:48:38 +02:00
formats.texi doc/formats: document f_strict/strict for AVFormatContext 2019-06-14 13:19:26 +08:00
general.texi avformat/ifv: added support for ifv cctv files 2019-06-21 22:02:14 +10:00
git-howto.texi
indevs.texi doc/indevs: Add new option and example to avfoundation. 2019-07-08 20:02:41 +02:00
issue_tracker.txt
lexicon
libav-merge.txt doc/libav-merge: add a line about the previous skipped merge 2019-02-20 13:51:19 -03:00
libavcodec.texi
libavdevice.texi
libavfilter.texi
libavformat.texi
libavutil.texi
libswresample.texi
libswscale.texi
mailing-list-faq.texi doc/mailing-list-faq: auto unsubscribe due to DMARC 2019-04-20 13:55:39 -08:00
metadata.texi
mips.txt
multithreading.txt
muxers.texi avformat/dashenc: add descriptor which is useful to the scheme defined by ISO/IEC 23009-1:2014/Amd.2:2015. 2019-07-22 07:57:39 +05:30
nut.texi
optimization.txt
outdevs.texi lavd: Remove libndi_newtek 2019-03-20 10:42:10 +00:00
patchwork
platform.texi
print_options.c
protocols.texi avformat/file: add seekable option to disallow seeking 2019-04-11 21:18:51 +02:00
rate_distortion.txt
resampler.texi
scaler.texi doc/swscaler: explain default Lanczos parameter 2019-05-27 21:32:33 +05:30
snow.txt doc/snow: fix typos 2019-02-10 16:46:56 +01:00
style.min.css
swresample.txt
swscale.txt
t2h.init
t2h.pm
tablegen.txt
texi2pod.pl
texidep.pl
undefined.txt
utils.texi
writing_filters.txt doc/writing_filters: Use ff_filter_get_nb_threads() get number of threads 2019-05-22 17:43:41 +08:00