r84988 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84987‎ | r84988 | r84989 >
Date:23:02, 29 March 2011
Author:dale
Status:deferred
Tags:
Comment:
* tweaked encode settings to match their names ( ie 720P = 1280x720 )
* updated bitrates to reflect larger sizes
* mostly targeting 16/9 content
Modified paths:
  • /trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php (modified) (history)

Diff [purge]

Index: trunk/extensions/TimedMediaHandler/WebVideoTranscode/WebVideoTranscode.php
@@ -59,12 +59,12 @@
6060 'twopass' => 'true',
6161 'keyframeInterval' => '64',
6262 'bufDelay' => '128',
63 - 'videoCodec' => 'theora',
 63+ 'videoCodec' => 'theora',
6464 ),
6565 WebVideoTranscode::ENC_OGV_4MBS =>
6666 array(
67 - 'maxSize' => '360',
68 - 'videoBitrate' => '368',
 67+ 'maxSize' => '480',
 68+ 'videoBitrate' => '512',
6969 'audioBitrate' => '48',
7070 'noUpscaling' => 'true',
7171 'twopass' => 'true',
@@ -74,8 +74,8 @@
7575 ),
7676 WebVideoTranscode::ENC_OGV_6MBS =>
7777 array(
78 - 'maxSize' => '480',
79 - 'videoBitrate' => '512',
 78+ 'maxSize' => '640',
 79+ 'videoBitrate' => '786',
8080 'audioBitrate' => '96',
8181 'noUpscaling' => 'true',
8282 'twopass' => 'true',
@@ -86,19 +86,20 @@
8787
8888 WebVideoTranscode::ENC_OGV_HQ_VBR =>
8989 array(
90 - 'maxSize' => '720',
 90+ 'maxSize' => '1280',
9191 'videoQuality' => 6,
9292 'audioQuality' => 3,
9393 'noUpscaling' => 'true',
9494 'keyframeInterval' => '128',
9595 'videoCodec' => 'theora',
9696 ),
 97+
9798
9899 // WebM transcode:
99100 WebVideoTranscode::ENC_WEBM_6MBS =>
100101 array(
101 - 'maxSize' => '512',
102 - 'videoBitrate' => '512',
 102+ 'maxSize' => '640',
 103+ 'videoBitrate' => '786',
103104 'audioBitrate' => '96',
104105 'noUpscaling' => 'true',
105106 'twopass' => 'true',
@@ -108,11 +109,11 @@
109110 ),
110111 WebVideoTranscode::ENC_WEBM_HQ_VBR =>
111112 array(
112 - 'maxSize' => '720',
 113+ 'maxSize' => '1280',
113114 'videoQuality' => 7,
114115 'audioQuality' => 3,
115116 'noUpscaling' => 'true',
116 - 'videoCodec' => 'vp8',
 117+ 'videoCodec' => 'vp8',
117118 )
118119 );
119120

Follow-up revisions

RevisionCommit summaryAuthorDate
r85054fixes to 84988 ( updated transcode keys in settings and i18n )dale23:28, 30 March 2011

Status & tagging log