Question / Help OBS Studio 图像颜色有错误。

真教主

New Member
20176309211889694638.bmp


请注意看图中我用红色长方框圈中的范围(在图像的正上方),那里的颜色明显是错误的。如果你仔细观察任何深色的边缘的颜色都有错误。即使提高到8000码率也会有这样的情况发生。 不管使用QSV还是VCE编码都是有这样的错误残留颜色。

另外OBS还有帧丢失的问题,在60FPS录制的情况下,就算使用VCE编码关闭 - 跳过帧- 的选项还是有帧莫名其妙的不见。

我已经尝试调整设置参数很长时间了,以上两个问题依然没有解决。(我并不是白痴,不会犯低级错误)
 

真教主

New Member
感谢你宝贵的时间来回复我。

你所提供的网页链接我已经全都尝试过了。当然其中有两项码率限制的规则我无法使用,那会造成OBS崩溃消失。(LA 与LA_ICQ)
不管如何调整参数都不能得到顺滑的60FPS ,还有图像残留之前画面的颜色的问题。

对不起,我不能用英语来与您交流,希望你能看懂我的回复。
 

Suslik V

Active Member
对不起,我不能用中文来与您交流,希望你能看懂我的回复。

To get best quality from hw encoder you need to use much higher bitrates. While your log-file missing any recording/streaming attempt (and thus lacks encoding options) - it is hard to say what max quality you can get from your setup. Post a log from the actual recording session. As far as I know, the VCE encoder at high bitrates provides decent level of quality (look at this thread: https://obsproject.com/forum/thread...ramework-encoder-plugin-for-obs-studio.52305/).

You can compare visually the quality that can provide all hw based encoders at low bitrates there: Comparison of x264, NVENC, Quicksync, VCE

And why you cannot use software x264 encoder at CRF 18...23, for example?
 

真教主

New Member
对不起,我不能用中文来与您交流,希望你能看懂我的回复。

To get best quality from hw encoder you need to use much higher bitrates. While your log-file missing any recording/streaming attempt (and thus lacks encoding options) - it is hard to say what max quality you can get from your setup. Post a log from the actual recording session. As far as I know, the VCE encoder at high bitrates provides decent level of quality (look at this thread: https://obsproject.com/forum/thread...ramework-encoder-plugin-for-obs-studio.52305/).

You can compare visually the quality that can provide all hw based encoders at low bitrates there: Comparison of x264, NVENC, Quicksync, VCE

And why you cannot use software x264 encoder at CRF 18...23, for example?

是的,我完全可以看懂你的回复,再次感谢您宝贵的时间与耐心。
我现在唯一的选择只有使用X264了,但是X264在推流的时候还是无法做到稳定的60FPS的流。 根据目测观察造成丢帧的原因应该是插入了一幅与上一帧相同的画面,目前正在试着调整参数做到不丢弃那一帧。
为什么OBS Studio不能自定义缓存的大小呢。

我不喜欢使用x264的原因是因为它非常耗费CPU资源,会造成游戏运行性能的下降。但是毋庸置疑x264在低码率的表现非常优秀。我认为H.264只适合高码率的视频录制。

好了,此贴到此结束了。另外祝您工作顺利。 OBS 是一款伟大的软件。
 

Suslik V

Active Member
Can you post the log-file where you recording your game and had dropped frames or so (last log after obs restart)?
 

真教主

New Member
Can you post the log-file where you recording your game and had dropped frames or so (last log after obs restart)?
感谢您的热心回复。
丢帧的问题我已经弄好了,通过结合自己的带宽合理的设置参数,使用的是x264.
至于色块残留的问题我觉得应该是码率不足的原因,我只有4.5Mbps的上传带宽。使用1024*576分辨率@60FPS 码率使用2800. 缓存大小使用4200. 这样的设置不会有丢帧的问题了。
如果想做到无色块残留我估算也得需要10Mbps的上传带宽,码率设置在6000附近。缓存设置在9000。这样突发复杂画面不会导致丢帧。
可惜我的网络运营商不肯提高我的上行带宽,他们只喜欢无限制的提供给我用不完的下行带宽,这对于流媒体直播是毫无帮助的。
这是我的日志。
https://gist.github.com/705ba12b2c6729ef9c95ee5c70b0417b
 

Suslik V

Active Member
You can try 1280x720 for Output resolution. Try default CBR. No custom buffer size; no tune. CPU usage preset: veryfast. And as you using only single audio track - try Simple output mode of the OBS Studio (not Advanced).

Also, at Tools - there is Auto-Configuration Wizard (Beta) - try it.
 
Last edited:
Top