Đánh giá cho Ultrawidify
Ultrawidify bởi Tamius Han
Phản hồi bởi Tamius Han
Phản hồi của nhà phát triển
đã đăng 9 năm trướcShort answer: no. (Unless you want to always cut off top and bottom, even when top and bottom aren't useless black bars, then yeah. I can do that. You probably don't want that, though, in which case it's 'no'.)
Long, technical answer: if you want to auto-fit video, as in "16:9 videos stay the way they are, but 21:9 videos should fit the screen" ... this actually looks potentially possible in theory and I might do it (but absolutely no guarantees that I'll actually do it), but there's a few problems I can see right off the bat:
0. I'd obviously need to have a way to read a column of pixels from the video. Our lord and saviour HTML5/Canvas apparently can do it, but is it even possible to get youtube video to a HTML5 canvas? So far, quick snooping suggest this is possible, but I haven't had any time to actually look at how this is done.
1. Detecting aspect ratio seems simple enough on the surface. Take couple of columns, compare if all columns have an equal amount of black pixels on the top or on the bottom. If yes - congrats, you detected black bars, proceed to correct the aspect ratio.
But there's a problem - a couple of them, in fact. If video starts completely black, you have no way of telling whether the video has the black bars or not. If you watch a movie trailer, should you trust the "This video is rated that" screen for aspect ratio? What about if the bars aren't pitch black, but greyish instead? What if video features two completely solid, horizontal objects at the beginning - imagine a camera looking through a horizontal square hole in the wall? How long and how often you try to detect the aspect ratio when the video is playing? What if video changes aspect ratios midway through, like in the first Hunger Games movie? Or in this video:
https://www.youtube.com/watch?v=4InaygqShwA (starts in 16:9, then goes to 21:9)
Or like in the Dark Souls III trailer, where trailer was 21:9 but got to 16:9 for about 10 seconds at the end of the video (obviously NSFW):
https://www.youtube.com/watch?v=_zDZYrIUgKE
2. Effect on performance. Autodetection could potentially require quite a bit of processing power. This in turn could make the video (or even the browser) to lag.
Now, I've actually been thinking about implementing this feature before, but the problems outlined above are the reason I haven't actually pinky-promised that feature in the "plans for the future" section. I can't guarantee it'll do it, I can't guarantee it'll work at all and I can't guarantee it'll work well.
Besides, my current priorities are:
* making a 'settings' page + configurable shortcuts (hopefully by the end of the month, but currently things aren't going exactly the way I've planned)
* Netflix support (probably by the end of the year, because December looks like a nice month to take advantage of their "you can try it for free for one month" offer)
E: sorry for this wall of text, but Moz seemingly doesn't allow any formatting in the text.
Long, technical answer: if you want to auto-fit video, as in "16:9 videos stay the way they are, but 21:9 videos should fit the screen" ... this actually looks potentially possible in theory and I might do it (but absolutely no guarantees that I'll actually do it), but there's a few problems I can see right off the bat:
0. I'd obviously need to have a way to read a column of pixels from the video. Our lord and saviour HTML5/Canvas apparently can do it, but is it even possible to get youtube video to a HTML5 canvas? So far, quick snooping suggest this is possible, but I haven't had any time to actually look at how this is done.
1. Detecting aspect ratio seems simple enough on the surface. Take couple of columns, compare if all columns have an equal amount of black pixels on the top or on the bottom. If yes - congrats, you detected black bars, proceed to correct the aspect ratio.
But there's a problem - a couple of them, in fact. If video starts completely black, you have no way of telling whether the video has the black bars or not. If you watch a movie trailer, should you trust the "This video is rated that" screen for aspect ratio? What about if the bars aren't pitch black, but greyish instead? What if video features two completely solid, horizontal objects at the beginning - imagine a camera looking through a horizontal square hole in the wall? How long and how often you try to detect the aspect ratio when the video is playing? What if video changes aspect ratios midway through, like in the first Hunger Games movie? Or in this video:
https://www.youtube.com/watch?v=4InaygqShwA (starts in 16:9, then goes to 21:9)
Or like in the Dark Souls III trailer, where trailer was 21:9 but got to 16:9 for about 10 seconds at the end of the video (obviously NSFW):
https://www.youtube.com/watch?v=_zDZYrIUgKE
2. Effect on performance. Autodetection could potentially require quite a bit of processing power. This in turn could make the video (or even the browser) to lag.
Now, I've actually been thinking about implementing this feature before, but the problems outlined above are the reason I haven't actually pinky-promised that feature in the "plans for the future" section. I can't guarantee it'll do it, I can't guarantee it'll work at all and I can't guarantee it'll work well.
Besides, my current priorities are:
* making a 'settings' page + configurable shortcuts (hopefully by the end of the month, but currently things aren't going exactly the way I've planned)
* Netflix support (probably by the end of the year, because December looks like a nice month to take advantage of their "you can try it for free for one month" offer)
E: sorry for this wall of text, but Moz seemingly doesn't allow any formatting in the text.
118 đánh giá
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 19186203, 2 tháng trước
- Xếp hạng 5 trong số 5bởi pesto12345, 4 tháng trước
- Xếp hạng 4 trong số 5bởi Người dùng Firefox 18869949, 7 tháng trước
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 18825558, 8 tháng trước
- Xếp hạng 5 trong số 5bởi must0, 8 tháng trước
- Xếp hạng 2 trong số 5bởi vandim, 10 tháng trướcWorked great until recently. After watching videos for a while (not using fullscreen) the whole window turns grey and the audio keeps playing but the tab becomes completely unresponsive and can only be fixed by closing the browser
- Xếp hạng 5 trong số 5bởi Tiger II, một năm trướcWorks perfectly, using it to stretch youtube videos to 16:9 in fullscreen (no cropping), because some videos have black bars on the left and right sides when in fullscreen, but Ultrawidify fixes that automatically, all you have to do is go into settings and select 16:9 stretch hybrid.
- Xếp hạng 1 trong số 5bởi wando, một năm trướcLags out on some videos, making them unable to be normally watched.
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 18430449, một năm trướcPLS BRING THIS TO OPERA GX, we need it sooooo bad
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 18389140, một năm trướcFixed my twitch and youtube, saved my marriage, cured my stomach ache and drove my kids to lacrosse practice every day. Not a single add on does that, but if you believe in yourself and in Tamius, it is possible. Dont let your memes be dreams!
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 14797343, 2 năm trước
- Xếp hạng 5 trong số 5bởi Robbie Khan, 2 năm trước
- Xếp hạng 3 trong số 5bởi Người dùng Firefox 14302851, 2 năm trướcFunktioniert zwar, aber flackert bzw. ist langsam wenn man in Fullscreen geht und zurück. Die ganzen Optionen sind für mich auch schwer zu erklären.
- Xếp hạng 5 trong số 5bởi Braix, 2 năm trướcWorks well. Ironically, I'm using it to stretch 4:3 to widescreen so it looks correct on my crt (adapter shenanigans)
- Xếp hạng 5 trong số 5bởi Người dùng Firefox 18158200, 2 năm trước
- Xếp hạng 5 trong số 5bởi Osang, 2 năm trướcI constantly watch web streaming, whether they are of individuals or movies. With the help of this add-on, the black bar issue was resolved. I'd want to thank the developer.
- Xếp hạng 1 trong số 5bởi dumbo, 2 năm trước
- Xếp hạng 1 trong số 5bởi Luca, 2 năm trướcKeeps bugging lately and videos are stuck on the sides or corner of the screen. Older versions were far far better but not downloadable anymore
- Xếp hạng 5 trong số 5bởi Artyom, 2 năm trước
- Xếp hạng 4 trong số 5bởi Người dùng Firefox 12900474, 3 năm trướcworks similar to madvr's black bars cropping, mpv player's autocrop script is better to cut black bars because it uses less pc resources, this extension for some reason only cuts the top and bottom black bars the side bars don't crop, screen 1366x768 youtube
- Xếp hạng 5 trong số 5bởi Melor, 3 năm trước
- Xếp hạng 5 trong số 5bởi CookieButter, 3 năm trước
- Xếp hạng 5 trong số 5bởi kk, 3 năm trước