Faster way to write image to Process.StandardInput.BaseStream

有些话、适合烂在心里 提交于 2019-12-03 03:40:28

The bottleneck here is that ffmpeg reads data at the same speed it compresses it to .avi, which is slow. So your img.Save method blocks until there is some space in the stream's buffer to write its data.

There is not much you can do. Compressing 60 fps HD video in real time require a huge processing power.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!