I have uploaded a video: https://commons.wikimedia.org/wiki/File:Sintel_movie_4K.webm
which is 4,096 × 1,744 pixels, the highest render target is 1080p, per T73705.
Please add support for transcoding 4K videos.
I have uploaded a video: https://commons.wikimedia.org/wiki/File:Sintel_movie_4K.webm
which is 4,096 × 1,744 pixels, the highest render target is 1080p, per T73705.
Please add support for transcoding 4K videos.
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Add support for 4K videos | mediawiki/extensions/TimedMediaHandler | master | +54 -0 |
I'm somewhat doubtful are rendering infastructure can take transcoding in 4k for a video of non trivial length.
However, it will use the original 4k version, if it decides your screen has 4k resolution (But the check probably doesn't work right in environments where pixels aren't really the size of pixels...)
Change 210407 had a related patch set uploaded (by Paladox):
Add support for 4K videos
@Matanya : To clarify, are you complaining there are no transcodes, or that there is no 4k transcodes.
The fact there are no transcodes, is odd, and a bug...
For a file this size, we would not transcode it to 4k resolution, as its already at 4k resolution.
In regards to enabling transcodes to 4k resolution. I'm opposed. I wrote this on the change, but just to repeat (excluding the bit about aspect ratio as that was implementation specific):
Hi but what if other people site can handle 4K videos. Shoulder we support it just in case.
I was actually asking about 4096 x 2160, but your argument about vp9 and performance is of course valid. The no transcode issue seems like another bug i should report.
Change 213763 had a related patch set uploaded (by Paladox):
Add support for 8K videos
I'd even go further and say we should not offer 4k/8k transcodes anytime soon. Even VP9 would not change a thing because encoding in VP9 is just super CPU intense without any apparent advantage, considering that an upload in 8k/4k can just be served as is. Also, if the VP9 upload originates from youtube, it is already a web optimized version.
Setting status to stalled. Some future day we may have infrastructure ready for this but I recommend against it for now.
Hi but I have switched it off by default. Allowing other people who do have the infurstructure to enable it.
Re opened since it seems the patch is moving forward. and that vp9 support was added.
Other recent fixes (T91431, T62272) mean that WebM VP8 and VP9 source files should soon start showing up consistently in the player source list, which means folks who really want to play the 2160 version can pick the source file without adding to our transcode load.
I'm also merging the patch with the 2160p transcode definitions (not enabled by default) so it'll be easier to poke at that and get it working some day... Encoding time at 2160p is MUCH too slow for now with VP9 -- about an hour per minute of source material on my MacBook Pro, which is fairly speedy. So we won't be enabling these just yet. :) But it's good to have the definitions in so we can experiment with them.
Should this be closed and another task opened for enabling 4k by default and another task for enabling it on Wikimedia. since this task just says Add support for 4k which is now done.