问题描述
我使用过Aforge。我的项目中的net API。我从视频中提取帧以前每个东西都工作得很好,但是从早上我在项目中使用的API依赖代码行减慢了
工作....
视频文件的帧速率是23fps,我用VideoFileReader从视频中提取帧。
这个特定的行需要70,80毫秒
I have used Aforge . net API in my project. I am extracting frames from videos previously every thing was working fine but from morning API depended code lines I have used in my project have slowed
down the working....
Video files frame rate is 23fps, I have used VideoFileReader to extract the frames from video.
this specific line takes 70, 80 miliseconds
reader.readvideoFrame();
之前的响应时间不超过15-20毫秒。我写的其他函数和代码行完全没问题。
请告诉我是否有办法加快这些事情。
where as previously it's response time was not more than 15-20 milliseconds. other functions and code lines written by me are completely fine.
Please tell me if there is any way to speed up such things.
推荐答案
这篇关于如何加快第三方代码行的速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!