Brion VIBBER has uploaded a new change for review. ( )

Change subject: [WIP] Disable Ogg Theora video transcodes in default config

[WIP] Disable Ogg Theora video transcodes in default config

Do not merge prior to deploy!

With WebM playback enabled via ogv.js, there's less reason to keep
the Ogg Theora video transcodes on Wikimedia or other sites.
Removing them by default in favor of just generating WebM.

This speeds encoding time and saves disk space, at the cost of
the WebM videos requiring more CPU in Safari/IE/Edge with the ogv.js
player shim.

Prep for removing them from Wikimedia due to ongoing tooling issues
with ffmpeg2theora.

Bug: T172445
Change-Id: I2ffd2c6d0f87c53c0addc69515fdad803e192199
M TimedMediaHandler.php
1 file changed, 6 insertions(+), 2 deletions(-)

  git pull 

diff --git a/TimedMediaHandler.php b/TimedMediaHandler.php
index c1e4e9a..723bfd9 100644
--- a/TimedMediaHandler.php
+++ b/TimedMediaHandler.php
@@ -135,7 +135,8 @@
        // WebM VP8/Vorbis
        // primary free/open video format
-       // supported by Chrome/Firefox/Opera but not Safari/IE/Edge
+       // supported by Chrome/Firefox/Opera natively
+       // plays back in Safari/IE/Edge via ogv.js
        // Very low-bitrate web streamable WebM video
@@ -158,8 +159,10 @@
        // A 4K full high quality WebM stream
        // WebVideoTranscode::ENC_WEBM_2160P,
        // Ogg Theora/Vorbis
-       // Fallback for Safari/IE/Edge with ogv.js
+       // Optional fallback for Safari/IE/Edge with ogv.js
+       // Faster to encode & play back than WebM but less efficient.
        // Requires twice the bitrate for same quality as VP8,
        // and JS decoder can be slow, so shift to smaller sizes.
@@ -183,6 +186,7 @@
        // Variable-bitrate HD Ogg stream
        // for ogv.js on reasonably speedy machines
        // MP4 H.264/AAC

To view, visit
To unsubscribe, visit

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2ffd2c6d0f87c53c0addc69515fdad803e192199
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/TimedMediaHandler
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <>

MediaWiki-commits mailing list

Reply via email to