Brion VIBBER has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/114507

Change subject: Enable lower-res .ogv transcodes for fallback player on slow 
machines
......................................................................

Enable lower-res .ogv transcodes for fallback player on slow machines

Currently for high-res source files we only produce a 480p version
in Ogg Theora; on slower machines with non-native software decoding
fallbacks (currently a Java applet, in future may be JavaScript or
even Flash for some machines) this is just too many pixels to push.

There are already definitions ready to go for 360p and 160p .ogv
output; this config patch enables them so they'll get built in future.

Bug: 61690
Change-Id: Ib2dd92626826ebeef71e0b5f77d5c5f2f67f80a1
---
M wmf-config/CommonSettings.php
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/07/114507/1

diff --git a/wmf-config/CommonSettings.php b/wmf-config/CommonSettings.php
index 15a3802..18be130 100644
--- a/wmf-config/CommonSettings.php
+++ b/wmf-config/CommonSettings.php
@@ -668,6 +668,10 @@
 
        // Minimum size for an embed video player
        $wgMinimumVideoPlayerSize = $wmgMinimumVideoPlayerSize;
+       
+       // Enable low-res Theora transcodes for fallback players on slow 
machines
+       $wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_OGV_360P;
+       $wgEnabledTranscodeSet[] = WebVideoTranscode::ENC_OGV_160P;
 }
 
 if ( $wgUseContactPageFundraiser ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/114507
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2dd92626826ebeef71e0b5f77d5c5f2f67f80a1
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to