From 400b97abcf68d2b52e827e21a04c00f564bd95f1 Mon Sep 17 00:00:00 2001 From: Heinrich 'Henrik' Langos Date: Mon, 30 Jan 2023 19:29:04 +0100 Subject: Document configuration of video down-scaling --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e0147ef..aa37c62 100644 --- a/README.md +++ b/README.md @@ -199,10 +199,16 @@ destination for their uploads. Both `prefix` and `path` need to be unique. and/or hog system resources. The thumbnailer and transcoder processes will be killed if their execution time exceeds these values. -- Set `sizes` to an map of `size` => `suffix` that you wish to support for +- Set `sizes` to a map of `size` => `suffix` that you wish to support for transcoding videos to lower quality on Upload/Import. This is especially useful for serving up videos to users that have poor bandwidth or where - data charges are high for them. The following is a valid map: + data charges are high for them. + The possible `suffix` parts are currently hard coded in several places, so + you can use those but you can't make up any new ones. + The `size` part can be set explicitly by X- by Y-dimensions with `x` as + separator like `320x200` or `1280x720`. There are also a lot of + [named size presets](https://ffmpeg.org/ffmpeg-utils.html#video-size-syntax) + The following is a valid map: ```#!json { -- cgit v1.2.3