From 9308959be28da444e6875691fef14a635b79339d Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Sat, 16 May 2020 11:53:36 +1000 Subject: [PATCH] docs: Document video resolution config. --- docs/source/siteadmin/media-types.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/source/siteadmin/media-types.rst b/docs/source/siteadmin/media-types.rst index 5944b9b4..c57c4430 100644 --- a/docs/source/siteadmin/media-types.rst +++ b/docs/source/siteadmin/media-types.rst @@ -157,6 +157,22 @@ Production deployments will also need a separate process to transcode media in the background. To set that up, check out the ":doc:`deploying`" and ":doc:`production-deployments`" sections of this manual. +Configuring video +----------------- + +``available_resolutions`` + The list of resolutions that the video should be transcoded to, in the order + of transcoding. Choose among ``144p``, ``240p``, ``360p``, ``480p``, ``720p`` + and ``1080p``. The default is ``480p,360p,720p``. + +``default_resolution`` + This is the initial resolution used by the video player. The default is + ``480p``. For example:: + + [[mediagoblin.media_types.video]] + available_resolutions = 144p,240p + default_resolution = 144p + Raw image ========= -- 2.25.1