Open
Conversation
通过让视频画面的分辨率能被4整除,让大部分的缩放算法都能呈现出较为锐利的画面。
Owner
|
哈哈一回生二回熟嘛,你在你本地电脑试过了这样就清晰了? 这段同样的功能在上面已经有了 |
Author
要是我会编译的话…… 不过按照当前的LED显示器成像原理、视频编码技术和相关的缩放算法中的理论,4的倍数可以避免或减少像素抖动的问题,从而提高观感上的清晰度。因为绝大部分的视频都有特定的尺寸比例,而4是它们的公约数。由于没有浮点计算,也就不会有算法计算不精准而导致的模糊问题了。 虽然缩放必然会降低画质,但只要尽可能地避免浮点计算,自然就会得出稳定的画面,看起来就会清晰很多。
那……你修改一下咯,我连深圳I/O那种东西都玩不好,你就当我是0基础的门外汉就好了😂 |
Owner
|
去这里下nodejs,然后进项目里打开命令行
你先看看是不是想要的效果,我再merge进去 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fix #66 (comment)
通过让视频画面的分辨率能被4整除,让大部分的缩放算法都能呈现出较为锐利的画面。
另外,我是几乎完全不懂编程写代码,基本上只会IFTTT的。我只是临时现学在瞎寄吧写来提供思路。(谁告诉你我会写代码的?)
你最好先运行测试一下确保不会有奇怪的毛病再合并。