r85054 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85053‎ | r85054 | r85055 >
Date:23:28, 30 March 2011
Author:dale
Status:deferred
Tags:
Comment:
fixes to 84988 ( updated transcode keys in settings and i18n )
Modified paths:
  • /trunk/extensions/TimedMediaHandler/README (modified) (history)
  • /trunk/extensions/TimedMediaHandler/TimedMediaHandler.i18n.php (modified) (history)
  • /trunk/extensions/TimedMediaHandler/TimedMediaHandler.php (modified) (history)
  • /trunk/extensions/TimedMediaHandler/TimedMediaIframeOutput.php (modified) (history)
  • /trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/TimedMediaHandler.i18n.php
@@ -43,18 +43,20 @@
4444 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200P',
4545 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Low bandwidth Ogg video (200P)',
4646
47 - 'timedmedia-derivative-360_400kbs.ogv' => 'Ogg 360P',
48 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Web streamable Ogg video (360P)',
 47+ 'timedmedia-derivative-360_560kbs.ogv' => 'Ogg 360P',
 48+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Web streamable Ogg video (360P)',
4949
50 - 'timedmedia-derivative-480_600kbs.ogv' => 'Ogg 480P',
51 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Web streamable Ogg video (480P)',
 50+ 'timedmedia-derivative-480_880kbs.ogv' => 'Ogg 480P',
 51+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Web streamable Ogg video (480P)',
5252
5353 'timedmedia-derivative-720_VBR.ogv' => 'Ogg HQ',
5454 'timedmedia-derivative-desc-720_VBR.ogv' => 'High quality downloadable Ogg video (720P)',
5555
5656 // WebM profiles:
57 - 'timedmedia-derivative-480_600kbs.webm' => 'WebM 480P',
58 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'Web streamable WebM (480P)',
 57+ 'timedmedia-derivative-360_560kbs.webm' => 'WebM 360P',
 58+ 'timedmedia-derivative-desc-360_560kbs.webm' => 'Web streamable WebM (360P)',
 59+ 'timedmedia-derivative-480_900kbs.webm' => 'WebM 480P',
 60+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'Web streamable WebM (480P)',
5961 'timedmedia-derivative-720_VBR.webm' => 'WebM 720P',
6062 'timedmedia-derivative-desc-720_VBR.webm' => 'High quality downloadable WebM (720P)',
6163
@@ -301,8 +303,8 @@
302304 'timedmedia-source-file' => 'Крыніца $1',
303305 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200P',
304306 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Нізкапаточнае Ogg-відэа (200P)',
305 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Паточнае Ogg-відэа (360 пкс)',
306 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Паточнае Ogg-відэа (480 пкс)',
 307+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Паточнае Ogg-відэа (360 пкс)',
 308+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Паточнае Ogg-відэа (480 пкс)',
307309 'timedmedia-derivative-desc-720_VBR.ogv' => 'Высакаякаснае Ogg-відэа для загрузкі (720 пкс)',
308310 'timedmedia-subtitle-language' => 'Субтытры ($2) на $1',
309311 );
@@ -508,10 +510,10 @@
509511 'timedmedia-source-file-desc' => 'Original $1, $2 x $3 ($4)',
510512 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg (200p)',
511513 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Ogg-Videodatei mit niedriger Datenübertragungsrate (200p)',
512 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Webstreamingfähige Ogg-Videodatei (360p)',
513 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Webstreamingfähige Ogg-Videodatei (480p)',
 514+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Webstreamingfähige Ogg-Videodatei (360p)',
 515+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Webstreamingfähige Ogg-Videodatei (480p)',
514516 'timedmedia-derivative-desc-720_VBR.ogv' => 'Qualitativ hochwertige Ogg-Videodatei (720p)',
515 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'Webstreamingfähige WebM-Videodatei (480p)',
 517+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'Webstreamingfähige WebM-Videodatei (480p)',
516518 'timedmedia-derivative-desc-720_VBR.webm' => 'Qualitativ hochwertige WebM-Videodatei (720p)',
517519 'timedmedia-subtitle-language' => '$1 ($2) Untertitel',
518520 );
@@ -755,10 +757,10 @@
756758 'timedmedia-source-file-desc' => 'Initial $1, $2 × $3 ($4)',
757759 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200p',
758760 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Vidéo Ogg bas débit (200P)',
759 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Vidéo Ogg lisible en continu sur le Web (360p)',
760 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Vidéo Ogg lisible en continu sur le web (480p)',
 761+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Vidéo Ogg lisible en continu sur le Web (360p)',
 762+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Vidéo Ogg lisible en continu sur le web (480p)',
761763 'timedmedia-derivative-desc-720_VBR.ogv' => 'Vidéo Ogg téléchargeable de grande qualité (720p)',
762 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'WebM lisible en continu depuis le web (480p)',
 764+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'WebM lisible en continu depuis le web (480p)',
763765 'timedmedia-derivative-desc-720_VBR.webm' => 'Vidéo WebM téléchargeable de grande qualité (720p)',
764766 'timedmedia-subtitle-language' => 'soustitres en $1 ($2)',
765767 );
@@ -839,10 +841,10 @@
840842 'timedmedia-source-file-desc' => 'Orixinal $1, $2 × $3 ($4)',
841843 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200P',
842844 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Vídeo Ogg de baixo ancho de banda (200P)',
843 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Vídeo Ogg para a web (360P)',
844 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Vídeo Ogg para a web (480P)',
 845+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Vídeo Ogg para a web (360P)',
 846+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Vídeo Ogg para a web (480P)',
845847 'timedmedia-derivative-desc-720_VBR.ogv' => 'Vídeo Ogg de alta calidade que se pode descargar (720P)',
846 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'WebM para a web (480P)',
 848+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'WebM para a web (480P)',
847849 'timedmedia-derivative-desc-720_VBR.webm' => 'WebM de alta calidade que se pode descargar (720P)',
848850 'timedmedia-subtitle-language' => 'Subtítulos en $1 ($2)',
849851 );
@@ -920,10 +922,10 @@
921923 'timedmedia-source-file-desc' => '$1 מקורי, $2 × $3‏ ($4)',
922924 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200P',
923925 'timedmedia-derivative-desc-220_200kbs.ogv' => 'וידאו Ogg (200P)‎ לרוחב פס נמוך',
924 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'וידאו Ogg (360P)‎ לנגינה שוטפת מהרשת',
925 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'וידאו Ogg (480P)‎ לנגינה שוטפת מהרשת',
 926+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'וידאו Ogg (360P)‎ לנגינה שוטפת מהרשת',
 927+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'וידאו Ogg (480P)‎ לנגינה שוטפת מהרשת',
926928 'timedmedia-derivative-desc-720_VBR.ogv' => 'וידאו Ogg (720P)‎ באיכות גבוהה שניתן להורדה',
927 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'וידאו WebM (480P)‎ לנגינה שוטפת מהרשת',
 929+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'וידאו WebM (480P)‎ לנגינה שוטפת מהרשת',
928930 'timedmedia-derivative-desc-720_VBR.webm' => 'וידאו WebM (720P)‎ באיכות גבוהה שניתן להורדה',
929931 'timedmedia-subtitle-language' => 'כתוביות ב$1‏ ($2)',
930932 );
@@ -1000,10 +1002,10 @@
10011003 'timedmedia-source-file-desc' => 'Originalny $1, $2 x $3 ($4)',
10021004 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg (200p)',
10031005 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Ogg-widejo z niskej šěrokosću pasma (200p)',
1004 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Ogg-widejo (360p), kotrež da so přez Web přenjesć',
1005 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Ogg-widejo (480p), kotrež da so přez Web přenjesć',
 1006+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Ogg-widejo (360p), kotrež da so přez Web přenjesć',
 1007+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Ogg-widejo (480p), kotrež da so přez Web přenjesć',
10061008 'timedmedia-derivative-desc-720_VBR.ogv' => 'Sćahujomne Ogg-widejo wysokeje kwality (720p)',
1007 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'WebM-widejo (480p), kotrež da so přez Web přenjesć',
 1009+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'WebM-widejo (480p), kotrež da so přez Web přenjesć',
10081010 'timedmedia-derivative-desc-720_VBR.webm' => 'Sćahujomna WebM-dataja wysokeje kwality (720p)',
10091011 'timedmedia-subtitle-language' => '$1 ($2) podtitule',
10101012 );
@@ -1061,10 +1063,10 @@
10621064 'timedmedia-source-file-desc' => 'Original $1, $2 × $3 ($4)',
10631065 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200P',
10641066 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Video Ogg a basse largor de banda (200P)',
1065 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Video Ogg fluibile per web (360P)',
1066 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Video Ogg fluibile per web (480P)',
 1067+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Video Ogg fluibile per web (360P)',
 1068+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Video Ogg fluibile per web (480P)',
10671069 'timedmedia-derivative-desc-720_VBR.ogv' => 'Video Ogg discargabile de alte qualitate (720P)',
1068 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'WebM fluibile per web (480P)',
 1070+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'WebM fluibile per web (480P)',
10691071 'timedmedia-derivative-desc-720_VBR.webm' => 'WebM discargabile de alte qualitate (720P)',
10701072 'timedmedia-subtitle-language' => '$1 ($2) subtitulos',
10711073 );
@@ -1349,10 +1351,10 @@
13501352 'timedmedia-source-file-desc' => 'Ojinaal $1-Dattei, $2 × $3 ($4)',
13511353 'timedmedia-derivative-220_200kbs.ogv' => 'En Viddejo-Dattei em OGG-Fommaat met 720p',
13521354 'timedmedia-derivative-desc-220_200kbs.ogv' => 'En Viddejo-Dattei met winnesch Bandbreide (200P) em <i lang="en">Ogg</i>-Fommaat',
1353 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'En Viddejo-Dattei em <i lang="en">Ogg</i>-Fommaat (360p) för ene Dahteshtrohm övver et Nez',
1354 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'En Viddejo-Dattei (met 480p) em <i lang="en">Ogg</i>-Fommaat för ene Dahteshtrohm övver et Nez',
 1355+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'En Viddejo-Dattei em <i lang="en">Ogg</i>-Fommaat (360p) för ene Dahteshtrohm övver et Nez',
 1356+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'En Viddejo-Dattei (met 480p) em <i lang="en">Ogg</i>-Fommaat för ene Dahteshtrohm övver et Nez',
13551357 'timedmedia-derivative-desc-720_VBR.ogv' => 'En Viddejo-Dattei met huhe Qualiteit (met 720p) em <i lang="en">Ogg</i>-Fommaat zom eronger laade',
1356 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'Ene WebM Viddejo (met 480p) för ene Dahteshtrohm övver et Nez',
 1358+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'Ene WebM Viddejo (met 480p) för ene Dahteshtrohm övver et Nez',
13571359 'timedmedia-derivative-desc-720_VBR.webm' => 'En <i lang="en">WebM</i> Viddejo-Dattei met huhe Qualiteit (met 720p) zom eronger laade',
13581360 'timedmedia-subtitle-language' => 'Ongertittele en $1 ($2)',
13591361 );
@@ -1472,13 +1474,13 @@
14731475 'timedmedia-source-file-desc' => 'Изворен $1, $2 × $3 ($4)',
14741476 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200P',
14751477 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Нископропусно Ogg-видео (200п)',
1476 - 'timedmedia-derivative-360_400kbs.ogv' => 'Ogg 360п',
1477 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Ogg-видео за емитување (360 пиксели)',
1478 - 'timedmedia-derivative-480_600kbs.ogv' => 'Ogg 480п',
1479 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Ogg-видео за емитување (480 пиксели)',
 1478+ 'timedmedia-derivative-360_560kbs.ogv' => 'Ogg 360п',
 1479+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Ogg-видео за емитување (360 пиксели)',
 1480+ 'timedmedia-derivative-480_880kbs.ogv' => 'Ogg 480п',
 1481+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Ogg-видео за емитување (480 пиксели)',
14801482 'timedmedia-derivative-desc-720_VBR.ogv' => 'Висококвалитетно Ogg-видео (720 пиксели)',
1481 - 'timedmedia-derivative-480_600kbs.webm' => 'Висококвалитетен WebM за преземање (720п)',
1482 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'Висококвалитетен WebM за преземање (720п)',
 1483+ 'timedmedia-derivative-480_900kbs.webm' => 'Висококвалитетен WebM за преземање (720п)',
 1484+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'Висококвалитетен WebM за преземање (720п)',
14831485 'timedmedia-derivative-720_VBR.webm' => 'WebM 720п',
14841486 'timedmedia-derivative-desc-720_VBR.webm' => 'Висококвалитетен WebM за преземање (720п)',
14851487 'timedmedia-subtitle-language' => '$1 ($2) титлови',
@@ -1627,10 +1629,10 @@
16281630 'timedmedia-source-file-desc' => 'Origineel $1, $2 × $3 ($4)',
16291631 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200P',
16301632 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Lage bandbreedte Ogg video (200P)',
1631 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Te webstreamen Off video (360P)',
1632 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Te webstreamen Ogg video (480P)',
 1633+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Te webstreamen Off video (360P)',
 1634+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Te webstreamen Ogg video (480P)',
16331635 'timedmedia-derivative-desc-720_VBR.ogv' => 'Hoge kwaliteit downloadbare Ogg video (720P)',
1634 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'Via web te streamen WebM (480P)',
 1636+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'Via web te streamen WebM (480P)',
16351637 'timedmedia-derivative-desc-720_VBR.webm' => 'Hoge kwaliteit downloadbare WebM (720P)',
16361638 'timedmedia-subtitle-language' => 'Ondertitels in $1 ($2)',
16371639 );
@@ -1817,10 +1819,10 @@
18181820 'timedmedia-source-file-desc' => 'Original $1, $2 × $3 ($4)',
18191821 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200P',
18201822 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Vídeo Ogg de baixa largura de banda (200P)',
1821 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Vídeo Ogg para web streaming (360P)',
1822 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Vídeo Ogg para web streaming (480P)',
 1823+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Vídeo Ogg para web streaming (360P)',
 1824+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Vídeo Ogg para web streaming (480P)',
18231825 'timedmedia-derivative-desc-720_VBR.ogv' => 'Vídeo Ogg de alta qualidade para download (720 P)',
1824 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'WebM para web streaming (480P)',
 1826+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'WebM para web streaming (480P)',
18251827 'timedmedia-derivative-desc-720_VBR.webm' => 'WebM de alta qualidade para download (720P)',
18261828 'timedmedia-subtitle-language' => 'Legendas em $1 ($2)',
18271829 );
@@ -2027,10 +2029,10 @@
20282030 'timedmedia-source-file-desc' => 'Izvirnik $1, $2 × $3 ($4)',
20292031 'timedmedia-derivative-220_200kbs.ogv' => 'Ogg 200P',
20302032 'timedmedia-derivative-desc-220_200kbs.ogv' => 'Video Ogg za majhno pasovno širino (200P)',
2031 - 'timedmedia-derivative-desc-360_400kbs.ogv' => 'Video Ogg za pretakanje preko spleta (360P)',
2032 - 'timedmedia-derivative-desc-480_600kbs.ogv' => 'Video Ogg za pretakanje preko spleta (480P)',
 2033+ 'timedmedia-derivative-desc-360_560kbs.ogv' => 'Video Ogg za pretakanje preko spleta (360P)',
 2034+ 'timedmedia-derivative-desc-480_880kbs.ogv' => 'Video Ogg za pretakanje preko spleta (480P)',
20332035 'timedmedia-derivative-desc-720_VBR.ogv' => 'Visoko ločljivostni video Ogg za prenos (720P)',
2034 - 'timedmedia-derivative-desc-480_600kbs.webm' => 'WebM za pretakanje preko spleta (480P)',
 2036+ 'timedmedia-derivative-desc-480_900kbs.webm' => 'WebM za pretakanje preko spleta (480P)',
20352037 'timedmedia-derivative-desc-720_VBR.webm' => 'Visokokakovostni WebM za prenos (720P)',
20362038 'timedmedia-subtitle-language' => 'podnapisi v jeziku $1 ($2)',
20372039 );
Index: trunk/extensions/TimedMediaHandler/TimedMediaHandler.php
@@ -71,14 +71,14 @@
7272 // Cover accessibility for low bandwidth / low resources clients:
7373 WebVideoTranscode::ENC_OGV_2MBS,
7474
75 - // A standard web streamable ogg video
76 - WebVideoTranscode::ENC_OGV_6MBS,
 75+ // A high end web streamable ogg video
 76+ WebVideoTranscode::ENC_OGV_9MBS,
7777
7878 // High quality 720P ogg video:
7979 WebVideoTranscode::ENC_OGV_HQ_VBR,
8080
81 - // A standard web streamable WebM video
82 - WebVideoTranscode::ENC_WEBM_6MBS,
 81+ // A web streamable WebM video
 82+ WebVideoTranscode::ENC_WEBM_9MBS,
8383
8484 // A high quality WebM stream
8585 WebVideoTranscode::ENC_WEBM_HQ_VBR,
Index: trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php
@@ -30,12 +30,13 @@
3131
3232 // Ogg Profiles
3333 const ENC_OGV_2MBS = '220_200kbs.ogv';
34 - const ENC_OGV_4MBS = '360_400kbs.ogv';
35 - const ENC_OGV_6MBS = '480_600kbs.ogv';
 34+ const ENC_OGV_5MBS = '360_560kbs.ogv';
 35+ const ENC_OGV_9MBS = '480_880kbs.ogv';
3636 const ENC_OGV_HQ_VBR = '720_VBR.ogv';
3737
3838 // WebM profiles:
39 - const ENC_WEBM_6MBS = '480_600kbs.webm';
 39+ const ENC_WEBM_5MBS = '360_560kbs.webm';
 40+ const ENC_WEBM_9MBS = '480_900kbs.webm';
4041 const ENC_WEBM_HQ_VBR = '720_VBR.webm';
4142
4243 /**
@@ -49,7 +50,7 @@
5051 public static $derivativeSettings = array(
5152 WebVideoTranscode::ENC_OGV_2MBS =>
5253 array(
53 - 'maxSize' => '220',
 54+ 'maxSize' => '220', // 160P or around there
5455 'videoBitrate' => '160',
5556 'audioBitrate' => '32',
5657 'samplerate' => '22050',
@@ -61,9 +62,9 @@
6263 'bufDelay' => '128',
6364 'videoCodec' => 'theora',
6465 ),
65 - WebVideoTranscode::ENC_OGV_4MBS =>
 66+ WebVideoTranscode::ENC_OGV_5MBS =>
6667 array(
67 - 'maxSize' => '480',
 68+ 'maxSize' => '480', // 360P
6869 'videoBitrate' => '512',
6970 'audioBitrate' => '48',
7071 'noUpscaling' => 'true',
@@ -72,33 +73,44 @@
7374 'bufDelay' => '256',
7475 'videoCodec' => 'theora',
7576 ),
76 - WebVideoTranscode::ENC_OGV_6MBS =>
 77+ WebVideoTranscode::ENC_OGV_9MBS =>
7778 array(
78 - 'maxSize' => '640',
 79+ 'maxSize' => '640', // 480P
7980 'videoBitrate' => '786',
8081 'audioBitrate' => '96',
8182 'noUpscaling' => 'true',
8283 'twopass' => 'true',
8384 'keyframeInterval' => '128',
8485 'bufDelay' => '256',
85 - 'videoCodec' => 'theora',
 86+ 'videoCodec' => 'theora',
8687 ),
8788
8889 WebVideoTranscode::ENC_OGV_HQ_VBR =>
8990 array(
90 - 'maxSize' => '1280',
 91+ 'maxSize' => '1280', // 720P
9192 'videoQuality' => 6,
9293 'audioQuality' => 3,
9394 'noUpscaling' => 'true',
9495 'keyframeInterval' => '128',
95 - 'videoCodec' => 'theora',
 96+ 'videoCodec' => 'theora',
9697 ),
9798
9899
99100 // WebM transcode:
100 - WebVideoTranscode::ENC_WEBM_6MBS =>
 101+ WebVideoTranscode::ENC_WEBM_5MBS =>
101102 array(
102 - 'maxSize' => '640',
 103+ 'maxSize' => '480', // 380P
 104+ 'videoBitrate' => '512',
 105+ 'audioBitrate' => '48',
 106+ 'noUpscaling' => 'true',
 107+ 'twopass' => 'true',
 108+ 'keyframeInterval' => '128',
 109+ 'bufDelay' => '256',
 110+ 'videoCodec' => 'vp8',
 111+ ),
 112+ WebVideoTranscode::ENC_WEBM_9MBS =>
 113+ array(
 114+ 'maxSize' => '640', // 480P
103115 'videoBitrate' => '786',
104116 'audioBitrate' => '96',
105117 'noUpscaling' => 'true',
@@ -109,7 +121,7 @@
110122 ),
111123 WebVideoTranscode::ENC_WEBM_HQ_VBR =>
112124 array(
113 - 'maxSize' => '1280',
 125+ 'maxSize' => '1280', // 720P
114126 'videoQuality' => 7,
115127 'audioQuality' => 3,
116128 'noUpscaling' => 'true',
Index: trunk/extensions/TimedMediaHandler/README
@@ -18,7 +18,10 @@
1919 // TimedMediaHandler
2020 require( "$IP/extensions/TimedMediaHandler/TimedMediaHandler.php" );
2121
 22+ // For boxes doing transcoding you should increase the allocated shell memmory:
 23+ $wgMaxShellMemory = 102400*64;
2224
 25+
2326 Kaltura html5 player library
2427 -----
2528 TimedMediaHandler uses the Kaltura html5 player library for video playback.
Index: trunk/extensions/TimedMediaHandler/TimedMediaIframeOutput.php
@@ -75,8 +75,11 @@
7676 <?php echo $thumbnail->toHtml(); ?>
7777 </div
7878 <?php echo $wgOut->getHeadScripts($skin); ?>
79 - <script type="text/javascript">
80 - mw.ready(function(){
 79+ <script type="text/javascript">
 80+ // Set the fullscreen property inline to avoid poluting the player cache
 81+ mw.setConfig('EmbedPlayer.EnableFullscreen', false );
 82+
 83+ mw.ready(function(){
8184 var fitPlayer = function(){
8285 $( '#<?php echo TimedMediaTransformOutput::PLAYER_ID_PREFIX . '0' ?>' )
8386 .get(0).resizePlayer({

Follow-up revisions

RevisionCommit summaryAuthorDate
r85056Follow-up r85054 for Translatewikiraymond06:33, 31 March 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r84988* tweaked encode settings to match their names ( ie 720P = 1280x720 )...dale23:02, 29 March 2011

Status & tagging log