Ultrawidify

Removes black bars on ultrawide videos and offers advanced options to fix aspect ratio.

什么是Ultrawidify?

Ultrawidify是由Tamius Han开发的Chrome扩展程序,该扩展的主要功能是“Removes black bars on ultrawide videos and offers advanced options to fix aspect ratio.”。

扩展截图

screenshot
screenshot
screenshot

下载Ultrawidify扩展crx文件

下载Ultrawidify扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        Need to remove unnecessary black bars from this youtube video you're watching? Ultrawidify is here for you. 

If the extension stretches the video instead of cropping, you're experiencing a Google Chrome bug. Go to chrome://flags/#use-angle and select D3D9.

🌟🌟🌟 MAIN FEATURES 🌟🌟🌟
⚠️ Features automatic aspect ratio detection (not all sites are supported — support may vary from site to site)
✅  Supports primarily youtube, vimeo, twitch, netflix, but will try to work on any website
↔️ Supports both cropping and stretching
✅ Works with youtube theater mode

❓ How do I use it?
If the site does not utilize DRM, you can just sit back and let autodetection handle everything for you. On sites that use DRM — or on videos where autodetection proves unreliable — you can either use the extension popup or the keyboard shortcuts (note that extension shortcuts do not override site's default shortcuts) to set the aspect ratio manually.

💬 Features in detail 💬 

1️⃣ Automatic aspect ratio detection
This feature ensures that video will be cropped without you having to lift a finger. It runs continuously and will even detect aspect ratio changes that happen in the middle of the video.

While autodetection should work fine on most of the videos, it is not 100% accurate and has some limitations:
◾ The extension may struggle with dark frames (especially the ones that contain text)
◾ Autodetection may cause high CPU usage (especially on older CPUs)
◾ It may not be able to keep up with rapid aspect ratio changes
◾ It cannot work on sites that utilize DRM protection schemes (e.g. Netflix, Disney+) — you will have to adjust aspect ratio manually on those.

Certain aspect ratio detection parameters can be tweaked in the extension settings. You can increase (or decrease) the frequency of aspect ratio checking. It is also possible to increase the level of certainty that's required for extension to change the crop.


2️⃣ Manual aspect ratio correction
For sites that do not support automatic aspect ratio detection, Ultrawidify allows you to manually crop the video. The extension allows you to crop to these aspect ratios by default:

 → Fit Width (shortcut: W)
 → Fit Height (shortcut: E)
 → 21:9 (shortcut: D)
 → 18:9 (or 2:1; shortcut: X)
 → 16:9 (shortcut: S)
 
You can also reset the aspect ratio back to the initial aspect ratio (shortcut: R). 

Note that some sites may define keyboard shortcuts that interfere with the shortcuts defined by this extension. In such cases, the shortcuts defined by this extension may not work.


3️⃣ Stretch the video
You paid for the entire monitor, so you're gonna use all the monitor — even if it means stretching the video into complete garbage? Ultrawidify's got you covered with a bunch of different options:

 → Don't: for men of culture
 → Basic: for people who just don't care, at all. (This option does not remove the black bars)
 → Hybrid: crops the video first and then stretches the video to fill the remaining space
 →Thin borders — only stretch the video if the black borders are _really_ thin
 → 4:3 (src) — not all people are men of culture. Some people torture others by posting 4:3 content stretched to 16:9. This option makes the video 4:3 again.
 → 16:9 (src) — ensures that the video is stretched (or squeezed) to 16:9.


4️⃣ ALIGN VIDEO TO SOMETHING OTHER THAN CENTER
There's a few people who aren't bothered by the vertical bars you get when watching 16:9 content on a 21:9 monitor. However, they would much prefer if instead of having two thinner black bars on either side of the video, they'd have just one bigger black bar on one side.

That way, they can watch their 16:9 video on full screen while also having a bigger space to put their League of Legends chat¹ in while waiting for their match to start.

---
¹or something like that.IDK I'm more of a CSGO guy, so I'll take the guy who asked for this at face value.


5️⃣ MANUAL OVERRIDE FOR PLAYER DETECTION
Ultrawidify not working on a site? It's possibe that Ultrawidify can detect the video, but not the video player. If that happens, you can head over to 'Advanced settings' tab in the popup and specify the player element. You can do that by specifying the player node index (gradually increase the number from 1 to ~10) or — if you know how HTML and CSS work — providing the query selector.

Sometimes, Ultrawidify won't work because of the quirks in site's CSS. If you know how to fix that kind of issues, 'advanced settings' section of the popup allows you to do so.

Remember: sharing is caring. If you manage to fix a website using these tools, consider sharing the solution via email or github.



.
.
: FREQUENTLY ASKED QUESTIONS
.

1. WHY DOESN'T AUTODETECTION WORK ON ?
Because the site utilizes DRM/anti-piracy measures, which prevent autodetection from working.

.
2. WHY DOESN'T AUTODETECTION DETECT ASPECT RATIO CHANGES INSTANTANEOUSLY?
Due to performance reasons, Ultrawidify only checks for aspect ratio changes about three times per second. That means that aspect ratio detection may "lag" by about 300 milliseconds.

While the frequency of aspect ratio checks can be increased, Ultrawidify can only check the currently displayed frame. As such, it will always lag by at least one frame.

Note that increasing the frequency of aspect ratio checks may result in Chrome becoming laggy and, in extreme cases, even memory leaks as browser's garbage collection is unable to keep up with the scripts.

.
3. AUTODETECTION HAS [INSERT A PROBLEM WITH MOVIE CREDITS OR BAKED-IN SUBTITLES]
Aspect ratio detection requires a little bit of math to be done. Because doing too much maths can result in your browser not responding properly or even crashing, autodetection must find a compromise between accuracy and doing as little math as possible in order to establish the aspect ratio.

Issues with text are result of these tradeoffs. If it bothers you that much, you can disable autodetection (either temporarily, by manually setting aspect ratio, or forever). 

If you know what you're doing, you can go to extension option and tweak aspect ratio detection parameters.

.
4. CAN I ADD A CUSTOM ASPECT RATIO/CUSTOM KEYBOARD SHORTCUT?
Yes, but it requires some effort as the UI is currently mildly to majorly broken. 

.
5. THE EXTENSION BROKE A SITE / DOESN'T WORK FOR A GIVEN SITE
You can submit a bug report via email or github. Please include all the details the email/issue template asks for.

If the site requires a subscription or is geo-locked, you can also save the page with "Save Page WE" extension and attach the file to the email (if submitting a github issue, you need to put the html file in a zip archive). This will make my life a bit easier.

.
6. IS MICROSOFT EDGE THE SAME THING AS GOOGLE CHROME?
No. Yes, Edge is chromium-based just like Chrome, but that doesn't mean they're the same thing. In the past, we've had plenty of issues where this extension worked plenty well on Chrome, but not in Edge because Edge had some bugs that Chrome didn't.

Here's some of that stuff that has since been solved: https://github.com/tamius-han/ultrawidify/issues/117

.
7. IS OPERA THE SAME THING AS GOOGLE CHROME?
No.  

--
Github's here: https://github.com/xternal7/ultrawidify
Full list of features (WIP): https://github.com/xternal7/ultrawidify/wiki                    

扩展基本信息

名称 Ultrawidify Ultrawidify
ID dndehlekllfkaijdlokmmicgnlanfjbi
官方URL https://chromewebstore.google.com/detail/ultrawidify/dndehlekllfkaijdlokmmicgnlanfjbi
简介 Removes black bars on ultrawide videos and offers advanced options to fix aspect ratio.
文件大小 2.89 MB
安装次数 62,600
当前版本 5.1.7
更新时间 2024-01-29
上架时间 2020-06-04
评分 3.60/5 共230次评分
开发者 Tamius Han
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/tamius-han/ultrawidify
帮助页面URL https://github.com/tamius-han/ultrawidify/issues
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Ultrawidify",
    "description": "Removes black bars on ultrawide videos and offers advanced options to fix aspect ratio.",
    "version": "5.1.7",
    "icons": {
        "32": "res\/icons\/uw-32.png",
        "64": "res\/icons\/uw-64.png"
    },
    "browser_action": {
        "default_title": "Ultrawidify",
        "default_popup": "popup\/popup.html"
    },
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*\/*"
            ],
            "js": [
                "common\/lib\/browser-polyfill.js",
                "ext\/uw.js"
            ],
            "css": [
                "ext\/uw-ui.css",
                "ext\/uw.css"
            ],
            "all_frames": true
        }
    ],
    "background": {
        "persistent": true,
        "scripts": [
            "ext\/uw-bg.js"
        ]
    },
    "options_ui": {
        "page": "options\/options.html",
        "open_in_tab": true
    },
    "web_accessible_resources": [
        ".\/*",
        "ext\/*",
        "res\/fonts\/*",
        "res\/css\/*",
        "res\/img\/settings\/about-bg.png",
        "res\/icons\/*",
        "res\/img\/*"
    ],
    "permissions": [
        "storage",
        "activeTab",
        ""
    ],
    "optional_permissions": [
        "downloads"
    ]
}