Added the "Media types" chapter
[mediagoblin.git] / docs / source / media-types.rst
CommitLineData
9bc2fc6c
CAW
1.. _media-types-chapter:
2
3====================
4Enabling Media Types
5====================
6
7In the future, there will be all sorts of media types you can enable,
8but in the meanwhile there's only one additional media type: video.
9
10First, you should probably read ":doc:`configuration`" to make sure
11you know how to modify the mediagoblin config file.
12
13Video
14=====
15
16To enable video, first install gstreamer and the python-gstreamer
17bindings (as well as whatever gstremaer extensions you want,
18good/bad/ugly). On Debianoid systems:
19
20 sudo apt-get install python-gst0.10
21
22Next, modify (and possibly copy over from mediagoblin.ini) your
23mediagoblin_local.ini. Uncomment this line in the [mediagoblin]
24section:
25
26 media_types = mediagoblin.media_types.image, mediagoblin.media_types.video
27
28Now you should be able to submit videos, and mediagoblin should
29transcode them.
30
31Note that you almost certainly want to separate Celery from the normal
32paste process or your users will probably find that their connections
33time out as the video transcodes. To set that up, check out the
34":doc:`production-deployments`" section of this manual.