DouyinLiveRecorder icon indicating copy to clipboard operation
DouyinLiveRecorder copied to clipboard

FFMPEG拉流参数设置不当造成画质损耗

Open SerendipityR-2022 opened this issue 6 months ago • 0 comments

经测试,写死在"main.py"的FFMPEG默认运行参数在录制高码率视频时容易出现画面间歇性丢帧、模糊的问题。 在源码中修改配置如下,问题得到解决: 1.增大缓冲区 bufsize = "15000k" 2.减少丢帧时间,默认的30s似乎过长了 "-rw_timeout", "5000000"

SerendipityR-2022 avatar Aug 05 '24 14:08 SerendipityR-2022