Current location

narf Source control manager Git

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2020-05-16 11:53:36 +1000
committerBen Sturmfels <ben@sturm.com.au>2020-05-16 11:53:36 +1000
commit9308959be28da444e6875691fef14a635b79339d (patch)
treecd845a52326aa261d476d0d35002c438142e5ccb
parent1171b5b7383e6015005bbcedd1f8fb9f66f2c5ab (diff)
docs: Document video resolution config.
-rw-r--r--docs/source/siteadmin/media-types.rst16
1 files changed, 16 insertions, 0 deletions
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
=========