Paladox has uploaded a new change for review. https://gerrit.wikimedia.org/r/211729
Change subject: Add vp9 support to webm ...................................................................... Add vp9 support to webm Requires patch https://gerrit.wikimedia.org/r/#/c/211726/ Change-Id: I7909ac98f8b18b46b53a02d2ffd1382a6f451938 --- M MwEmbedModules/EmbedPlayer/i18n/fy.json M WebVideoTranscode/WebVideoTranscode.php M i18n/fy.json M i18n/ro.json A i18n/vro.json M i18n/zh-hans.json 6 files changed, 26 insertions(+), 13 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/TimedMediaHandler refs/changes/29/211729/1 diff --git a/MwEmbedModules/EmbedPlayer/i18n/fy.json b/MwEmbedModules/EmbedPlayer/i18n/fy.json index 1181ac7..7c57dd3 100644 --- a/MwEmbedModules/EmbedPlayer/i18n/fy.json +++ b/MwEmbedModules/EmbedPlayer/i18n/fy.json @@ -4,5 +4,6 @@ "Robin0van0der0vliet" ] }, - "mwe-embedplayer-player_fullscreen": "Folsleinskerm" + "mwe-embedplayer-player_fullscreen": "Folsleinskerm", + "mwe-embedplayer-close_btn": "Slute" } diff --git a/WebVideoTranscode/WebVideoTranscode.php b/WebVideoTranscode/WebVideoTranscode.php index 20d8a66..94fa1ef 100644 --- a/WebVideoTranscode/WebVideoTranscode.php +++ b/WebVideoTranscode/WebVideoTranscode.php @@ -140,8 +140,8 @@ 'twopass' => 'true', 'keyframeInterval' => '128', 'bufDelay' => '256', - 'videoCodec' => 'vp8', - 'type' => 'video/webm; codecs="vp8, vorbis"', + 'videoCodec' => array('vp8', 'vp9'), + 'type' => 'video/webm; codecs="vp8, vp9, vorbis"', ), WebVideoTranscode::ENC_WEBM_360P => array( @@ -153,8 +153,8 @@ 'twopass' => 'true', 'keyframeInterval' => '128', 'bufDelay' => '256', - 'videoCodec' => 'vp8', - 'type' => 'video/webm; codecs="vp8, vorbis"', + 'videoCodec' => array('vp8', 'vp9'), + 'type' => 'video/webm; codecs="vp8, vp9, vorbis"', ), WebVideoTranscode::ENC_WEBM_480P => array( @@ -166,8 +166,8 @@ 'twopass' => 'true', 'keyframeInterval' => '128', 'bufDelay' => '256', - 'videoCodec' => 'vp8', - 'type' => 'video/webm; codecs="vp8, vorbis"', + 'videoCodec' => array('vp8', 'vp9'), + 'type' => 'video/webm; codecs="vp8, vp9, vorbis"', ), WebVideoTranscode::ENC_WEBM_720P => array( @@ -175,8 +175,8 @@ 'videoQuality' => 7, 'audioQuality' => 3, 'noUpscaling' => 'true', - 'videoCodec' => 'vp8', - 'type' => 'video/webm; codecs="vp8, vorbis"', + 'videoCodec' => array('vp8', 'vp9'), + 'type' => 'video/webm; codecs="vp8, vp9, vorbis"', ), WebVideoTranscode::ENC_WEBM_1080P => array( @@ -184,8 +184,8 @@ 'videoQuality' => 7, 'audioQuality' => 3, 'noUpscaling' => 'true', - 'videoCodec' => 'vp8', - 'type' => 'video/webm; codecs="vp8, vorbis"', + 'videoCodec' => array('vp8', 'vp9'), + 'type' => 'video/webm; codecs="vp8, vp9, vorbis"', ), // Losly defined per PCF guide to mp4 profiles: diff --git a/i18n/fy.json b/i18n/fy.json index 254fea7..17b90b7 100644 --- a/i18n/fy.json +++ b/i18n/fy.json @@ -5,6 +5,7 @@ ] }, "timedmedia-more": "Mear…", + "timedmedia-dismiss": "Slute", "timedmedia-days": "{{PLURAL:$1|1 dei|$1 dagen}}", "timedmedia-hours": "{{PLURAL:$1|1 oere|$1 oeren}}", "timedmedia-minutes": "{{PLURAL:$1|1 minút|$1 minuten}}", diff --git a/i18n/ro.json b/i18n/ro.json index c488e25..0605f4c 100644 --- a/i18n/ro.json +++ b/i18n/ro.json @@ -24,7 +24,7 @@ "timedmedia-flac-long-audio": "fișier audio FLAC, lungime $1, $2 per ansmablu", "timedmedia-mp4-short-video": "fișier video MP4 $1, $2", "timedmedia-mp4-long-video": "fișier audio/video MP4, $1, lungime $2, $4 × $5 pixeli, $3 per ansamblu", - "timedmedia-no-player-js": "Ne pare rău, însă navigatorul tău fie are JavaScript dezactivat, fie nu conține niciun player suportat.<br />\nPpți <a href=\"$1\">descărca clipul</a> sau poți <a href=\"https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TimedMediaHandler/Client_download\">descărca un player</a> pentru a-l reda direct în navigator.", + "timedmedia-no-player-js": "Ne pare rău, însă navigatorul dumneavoastră fie are JavaScript dezactivat, fie nu conține niciun player suportat.<br />\nPuteți <a href=\"$1\">descărca clipul</a> sau puteți <a href=\"https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TimedMediaHandler/Client_download\">descărca un player</a> pentru a-l reda direct în navigator.", "timedmedia-more": "Mai mult…", "timedmedia-dismiss": "Închide", "timedmedia-download": "Descarcă fișierul", @@ -56,7 +56,7 @@ "timedmedia-mp4": "MP4", "timedmedia-source-file": "Sursă $1", "timedmedia-source-file-desc": "Fișier $1 original, $2 × $3 ($4)", - "timedmedia-source-audio-file-desc": "Fișierul $1 original ($2)", + "timedmedia-source-audio-file-desc": "Fișier $1 original ($2)", "timedmedia-derivative-desc-160p.ogv": "Videoclip Ogg cu lățime de bandă mică (160P)", "timedmedia-derivative-desc-360p.ogv": "Videoclip Ogg pentru redare pe web (360P)", "timedmedia-derivative-desc-480p.ogv": "Videoclip Ogg pentru redare pe web (480P)", diff --git a/i18n/vro.json b/i18n/vro.json new file mode 100644 index 0000000..2222475 --- /dev/null +++ b/i18n/vro.json @@ -0,0 +1,10 @@ +{ + "@metadata": { + "authors": [ + "Võrok" + ] + }, + "timedmedia-no-player-js": "Kah'os om suq võrgokaejan JavaScript keelet vai olõ-õi sul tarvilist näütämistarkvarra.<br />\nSaat <a href=\"$1\">lõigu alla laatiq</a> vai <a href=\"https://www.mediawiki.org/wiki/Special:MyLanguage/Extension:TimedMediaHandler/Client_download\">laatiq alla tarkvara</a>, minka lõiku võrgokaejan näüdädäq.", + "timedmedia-source-file": "Läteq $1", + "timedmedia-source-audio-file-desc": "Alguperäne $1-fail ($2)" +} diff --git a/i18n/zh-hans.json b/i18n/zh-hans.json index 5c8e117..91fe66d 100644 --- a/i18n/zh-hans.json +++ b/i18n/zh-hans.json @@ -112,6 +112,7 @@ "apihelp-query+transcodestatus-description": "获取指定文件页面的转码状态。", "apihelp-query+transcodestatus-example-1": "获得[[:File:Clip.webm]]的译码状态", "apihelp-query+videoinfo-description": "扩展图像信息以包含视频源(图像来源)信息", + "apihelp-query+videoinfo-param-prop": "要获取的视频信息:\n;timestamp:为上传版本添加时间戳。\n;user:添加上传视频版本的用户。\n;userid:添加上传视频版本的用户ID。\n;comment:对版本的注释。\n;parsedcomment:解析对版本的注释。\n;canonicaltitle:添加视频文件的规范标题。\n;url:提供至视频的URL及其说明页面。\n;size:添加视频大小(字节)、高度和宽度。如有需要会添加页面计数和持续时间。\n;dimensions:大小别名。\n;sha1:为视频添加SHA-1哈希值。\n;mime:添加视频的MIME类型。\n;thumbmime:添加视频缩略图的MIME类型(需要url和参数$1urlwidth)。\n;mediatype:添加视频媒体类型。\n;metadata:列举视频版本的EXIF元数据。\n;commonmetadata:列举特定文件格式的视频版本的元数据。\n;extmetadata:列举格式化元数据\n;archivename:为非最新版本添加存档版本的文件名。\n;bitdepth:添加版本的位深度。\n;uploadwarning:被[[Special:Upload]]页面使用以获取有关现有文件的信息。不用于MediaWiki核心以外代码。\n;derivatives:添加不同格式的阵列与音频或视频文件的可用高质量版本。", "apihelp-query+videoinfo-example-1": "检索有关[[:File:Folgers.ogv]]的信息", "apihelp-transcodereset-description": "具有“transcode-reset”权限的用户可以重置和重新运行转码任务。", "apihelp-transcodereset-param-title": "媒体文件标题。", -- To view, visit https://gerrit.wikimedia.org/r/211729 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7909ac98f8b18b46b53a02d2ffd1382a6f451938 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/TimedMediaHandler Gerrit-Branch: master Gerrit-Owner: Paladox <thomasmulhall...@yahoo.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits