-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About OOM #17
Comments
Similar to #15 |
恩,这个是不是属于javacv的问题,因为一直在push? |
不是javacv的问题,是preview的帧不能及时地被record导致帧队列越来越长,最后OOM。 |
我又出一个错,我完全没改您的代码: |
换后摄像头必奔溃,在三星S6上,小米4,三星S4上。 |
新春快乐 Frame filteredFrame = null;
try {
frameFilter.push(recordedFrame.getFrame());
filteredFrame = frameFilter.pull();
} catch (FrameFilter.Exception e) {
e.printStackTrace();
} 注释掉,再把 mFrameRecorder.record(filteredFrame, avutil.AV_PIX_FMT_NV21); 修改为 mFrameRecorder.record(recordedFrame.getFrame()); 就可以看到未经 最后的几个新问题等我看一下再回复你。 |
您那边有这些问题吗? |
Hi,Thanks for your help, I encountered a new problem in your demo, I recorded the time to reach 20 seconds after the emergence of OOM,Look forward to your reply.
The text was updated successfully, but these errors were encountered: