ffmpeg - Opening h264_nvenc encoder in ffmpeg takes about 1.5 seconds in Nvidia GPU
问题描述
We're using ffmpeg as a library and need to open several encoding sessions at the same time.
At first sessions, h264_nvenc opens very quickly but when session count has increased to 40, only avcodec_open takes 1.5 seconds.
Secondly, avcodec_open can open h264_nvenc one at a time so that if there are 40 sessions started at the same time, last session can take about 20 seconds to start
Do you have any idea about questions?
Regards,
解决方案
推荐阅读
- pdf - 如何在 VueJS 中下载本地存储的 pdf
- excel - 设置一个宏来格式化活动单元格中的一行
- ios - AVAssetTrack 的资产属性有时为零
- python - 定义self.sock时,获取errors.python
- java - Scala:相当于 np.digitize 来分桶数据
- c++ - clang 实现 char8_t 的方式是否存在缺陷,或者标准的某些暗角是否禁止优化?
- bash - 如何 grep 序列并创建不同的文件?
- hibernate - 如何查找结果是否落在 lucene 索引中的两个日期之间?
- python-3.x - 检测字符串类型
- android - 如何在服务存活时多次启动服务