【解决方案】FFmpeg推流速度过快
104 字
1 分钟
【解决方案】FFmpeg推流速度过快
FFmpeg使用视频源进行推流时,处理速度往往会快于实际帧率,而默认设置下处理完了一段就直接上传,因此速度会过快
解决方法:使用-re参数
ref: https://stackoverflow.com/questions/48479141/understanding-ffmpeg-re-parameter
It’s useful for real-time output when ffmpeg is able to process a source at a speed faster than real-time. In that scenario, ffmpeg may send output at that faster rate and the receiver may not be able to or want to buffer and queue its input.
文章分享
如果这篇文章对你有帮助,欢迎分享给更多人!
相关文章智能推荐
1
【解决方案】Visual Studio写C/C++时没有语法高亮
技术2023-04-05
2
【解决方案】FRP代理HTTPS时无法获取IP地址
技术2025-07-21
3
【解决方案】关闭Visual Studio后仍有PerfWatson2.exe占用文件夹
技术2022-08-20
4
C++函数模板偏特化问题较为美观的一种解决方案
技术2024-07-07
5
一些Python模拟角谷猜想的性能测试
技术2024-06-15
随机文章随机推荐
真-大沙子