如何加快第三方代码行的速度? [英] How do I speed up third party code lines?

查看:163
本文介绍了如何加快第三方代码行的速度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用过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.

推荐答案

这篇关于如何加快第三方代码行的速度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆