有什么能自动增强视频播放的软件吗?

最近发现游戏加加(gamepp)的国软有个游戏滤镜功能,可以调节游戏画面,但是游戏加加只对识别出来的游戏有效。不知道有没有针对视频播放器或者网页视频的增强工具,自动增强视频,或者开启各种滤镜?

有段时间迅雷,qq, 暴风的pc视频播放器都有这个画质增强功能
对枪版和一些明暗没调好的电影有奇效

可惜播放器本身不怎么样,还是习惯用mpv和浏览器

1 个赞

谢谢,这个每个视频都自己调貌似有点繁琐,国产播放器的画质增强貌似是对每帧画面做直方图均衡化(histogram equalization)所以基本就是全自动的增强,不用手动,效果就很明显了

  1. 播放器本身
  2. 显卡驱动.

大佬推荐的这款MPV_lazy就很不错用了…而且…是懒人版…都已调整好…再看一下说明…就 :100:

1 个赞

那个游戏加加貌似是通过劫持directx的哪个步骤实现的,应该是跳过了显卡驱动吧

和mpv里的滤镜差不多?找到对应效果的滤镜应该就行了吧
mpv_lazy里已经有不少滤镜了,我也不懂滤镜
@hooke007

1 个赞

github上有 histogram equlization filter,但是不知道怎么用在mpv上,我自己不会写码,感觉这东西效果很好的,只是碰巧没流行起来罢了

ffmpeg的libavfilter filters里这个是不是?FFmpeg Filters Documentation

histeq           Apply global color histogram equalization

mpv可以用ffmpeg的滤镜,具体怎么用可以参考 音视频滤镜 - mpv_CFanStation

1 个赞

求,字数补丁

谢谢,试了下单用vf=histeq效果不太好,
也可能是我histeq的参数不对,
按照在mpv.conf理解增加
vf=histeq=strength:intensity:antibanding
的格式
strength=0~1
intensity=0~1
antibanding=none/weak/strong
感觉比较复杂
可能迅雷看看/QQ影音用了其他额外的滤镜,所以效果比较好吧

谢谢,这个挺好用的,虽然还没搞清楚能不能做到迅雷看看那种画质增强的效果

有肯定是有,不过eq方面我不关注,所以也不清楚有啥前沿或者热门的算法。
这种东西实现的方式挺多的,除滤镜外,着色器,lut都能实现

试了下,把视频截图,用xnview自动直方图均衡(图像->正常化),画面就很好看
但是同样一帧用mpv的 vf=histeq,如果不填参数就没什么改善,调参数效果也不理想,黑的太黑,有些画面白的又太白,貌似还是参数问题?
不知道xnview直方图均衡的默认参数是什么,也可能是我用错了。。

11.118 histeq

This filter applies a global color histogram equalization on a per-frame basis.

It can be used to correct video that has a compressed range of pixel intensities. The filter redistributes the pixel intensities to equalize their distribution across the intensity range. It may be viewed as an “automatically adjusting contrast filter”. This filter is useful only for correcting degraded or poorly captured source video.

The filter accepts the following options:

strength

Determine the amount of equalization to be applied. As the strength is reduced, the distribution of pixel intensities more-and-more approaches that of the input frame. The value must be a float number in the range [0,1] and defaults to 0.200.

intensity

Set the maximum intensity that can generated and scale the output values appropriately. The strength should be set as desired and then the intensity can be limited if needed to avoid washing-out. The value must be a float number in the range [0,1] and defaults to 0.210.

antibanding

Set the antibanding level. If enabled the filter will randomly vary the luminance of output pixels by a small amount to avoid banding of the histogram. Possible values are none, weak or strong. It defaults to none.

mpv虽然内置了直方图计算和亮度计算,但是那玩意是只设计给hdr源用的。sdr用不了这些内置功能。
只看内置参数的话,微调 target-peak 和 gamma 可以试试

1 个赞

找国产mpv着色器开发者提了issue,你有兴趣可以直接参与讨论 计算sdr每帧"亮度" · Issue #30 · natural-harmonia-gropius/mpv-config · GitHub

1 个赞