dvlden / uw-pub

A place for UltraWideo users – where you can discuss, vote, track, learn, etc.
https://uw.wtf
6 stars 0 forks source link

Blurred background video instead of black bars? #23

Open Y2K350 opened 4 months ago

Y2K350 commented 4 months ago

Is your feature request related to a problem? Please describe. My Feature is not related to a problem with this extension.

Describe the solution you'd like when not using the extension, 16:9 content (or other videos with an aspect ratio different to your monitors) are shown with black bars on the sides. I was hoping for an option where instead of black bars, a blurred video plays on the sides that is loosely based on the content displayed on the screen (screenshot examples listed below). This would help OLED 21:9 monitor owners prevent burn in on their displays when viewing 16:9 content.

Describe alternatives you've considered Obviously you could use ultrawideo to crop the video to 21:9, however sometimes you do lost important information in certain media content (namely videos that use rendered in subtitles, stats, or just generally rely on you seeing the entire screen.

Additional context I understand this is not necessarily in scope for the project, but I believe it would basically cement the app as a must have have app for all 21:9 (or other non-standard aspect ratio) monitor owners and I hope you may at least consider it.

Below are two example of what the video would look like before and hopefully after. (the images represent someone using Photoshop to correct the issue, but the idea would be the same for video playback).

Screenshot from 2024-04-21 14-45-25

Screenshot from 2024-04-21 14-46-21

Y2K350 commented 4 months ago

Edited to add examples.

dvlden commented 4 months ago

Hello and thank you for your request!

I never thought someone would request such feature, but I made a prototype like 2 years ago. Tried doing it with double videos, but it was bad, because it loads two sources and drains the internet bandwidth, not to mention the battery.

However, after a couple of trial and errors, I made it fast and performant, using canvas. Find the sample attached below this paragraph...

https://github.com/dvlden/uw-pub/assets/3460368/1b68778a-56d3-400e-815a-6b37e301926c

Honestly, I did not have any plans on implementing this into the extension, but hearing people that they'd rather prefer some black-bars, over content loss, sounds like this solution may not just be fun, but pleasing to the eye.

It's too early to say anything, but at this stage, I think it might be very difficult to implement, as UltraWideo aims to work on all platforms and embedded videos... So I'll keep this open and see if any other users come around and vote for this feature.

toindev commented 3 months ago

This would help OLED 21:9 monitor owners prevent burn in on their displays when viewing 16:9 content.

Aren't black pixels just turned off on OLED displays?

dvlden commented 3 months ago

@toindev Fair point. I believe I missed that information along the way, while reading OP's request.

Nonetheless, I think it'd be cool to implement this at some point. Might make vertical videos more enjoyable to watch.

Y2K350 commented 3 months ago

@toindev Yes black bars are turned off on Oleds, but thats exactly the problem. As the pixels in the center of the screen are on basically all the time, but the edges where black bars appear are off for a decent amount of time. This causes uneven wear in the monitor and makes a fine line where the black bars are due to the central pixels wearing out faster than the edges where the bars would be.

toindev commented 3 months ago

Hooo, it makes sense now, thanks