selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

MediaCMS logo

Self-host MediaCMS

v9.6.1

Open-source video, audio and image portal

ReleaseOpen SourceAGPL-3.0
Docker ComposeCompose file & guide
docker compose up
Updated2 days ago
LanguagePython
Setup difficultyModerate
MobileResponsive
ThemeDark mode
Stars
5 198
CPU
2-4 CPUs
RAM
4GB
Port
80 (Web portal served by the bundled nginx/uwsgi container)
Requires
Ffmpeg, PostgreSQL, Redis
Docker
mediacms/mediacms
Portal index page with the media listingsMedia page with the video playerEmbed page for a media itemFull-width portal view from the project homepage

What is MediaCMS?

MediaCMS is an open-source video and media CMS for building small to medium media portals, used by universities, non-profit media organisations and communities that want to keep content on their own infrastructure. It handles video, audio, image and PDF uploads, transcodes them into multiple resolutions and codecs (h264, h265, vp9) and can serve them adaptively over HLS, with a customized video.js player, subtitles, playlists, chapters, comments and a built-in video trimmer. Access is managed through role-based access control with RBAC categories and groups, configurable registration modes (open, invite only, closed) and SAML identity provider support including role and group mapping. Automatic captions can be generated by running Whisper locally, and media can be imported from Kaltura, YouTube or Panopto; a Swagger-documented REST API covers the platform. You run it with Docker Compose (web, celery workers, PostgreSQL and Redis containers) or via the installer script, and most behaviour is tuned in settings.py / local_settings.py. Note that uploaded content, encoded versions and HLS files together need roughly three times the size of your original library on disk.

MediaCMS alternatives

Should you self-host MediaCMS?

MediaCMS scores 67/100 on selfhost.directory (how scoring works) and ranks #2 of 3 in Video Hosting. It has 5 198 GitHub stars, +40 in the last 30 days.

It shipped 31 stable releases in the past year. The latest, v9.6.1, came out on 19 November 2026. New versions land roughly every 1 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is AGPL-3.0-licensed and written mostly in Python.

Its closest alternative on selfhost.directory is PeerTube (76/100, 15 422 stars). It scores higher overall, so compare the two before you pick. See MediaCMS vs PeerTube side by side.

Features

  • Adaptive HLS streaming
  • Automatic transcriptionDocker installation only, needs the mediacms:full image.
  • Chunked resumable uploads
  • Embedding and social sharing
  • Media Search
  • Multiple media types (video, audio, image, PDF)
  • Playlists
  • REST API
  • Role-based Access ControlEnabled with USE_RBAC.
  • SAML Authentication
  • Subtitles and captions
  • Translated interface
  • User management and registration modes
  • Video Transcoding
  • Video trimming

MediaCMS README

MediaCMS

GitHub license Releases DockerHub

MediaCMS is a modern, fully featured open source video and media CMS. It is developed to meet the needs of modern web platforms for viewing and sharing media. It can be used to build a small to medium video and media portal within minutes.

It is built mostly using the modern stack Django + React and includes a REST API.

A demo is available at https://demo.mediacms.io

Screenshots

How to install MediaCMS

Install MediaCMS with Docker Compose

Docker and Docker Compose
Environment variables
ENABLE_UWSGI, ENABLE_NGINX, ENABLE_CELERY_BEAT, ENABLE_CELERY_SHORT, ENABLE_CELERY_LONG, ENABLE_MIGRATIONS, ADMIN_USER, ADMIN_EMAIL, ADMIN_PASSWORD, FRONTEND_HOST
git clone https://github.com/mediacms-io/mediacms
cd mediacms

Run

docker compose up

Requires Docker and Docker Compose; afterwards the portal is available on http://localhost or http://ip. Alternative compose files exist for letsencrypt HTTPS and reverse-proxy deployments.

How to configure MediaCMS

  • ADMIN_USERadminUsername of the admin user created during installation.
  • ADMIN_EMAILadmin@localhostEmail of the admin user created during installation.
  • ADMIN_PASSWORDSets the admin user's password; otherwise a random password is printed by the migrations container.
  • ENABLE_UWSGIyesRun the uwsgi app service inside the container (yes/no), used to split services for scalable deployments.

    values: yes / no

  • ENABLE_NGINXyesRun the bundled nginx service inside the container.

    values: yes / no

MediaCMS releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Why are preview thumbnails missing for large video files?

The sprite file usually failed to be generated because ImageMagick's width/height resource limits are too low; raise those values in /etc/ImageMagick-6/policy.xml and re-run the sprite task for existing videos.

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…