-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
After FFmpegFrameGrabber .close() ,The file is still occupied #1233
Labels
Comments
I cannot reproduce this issue here on Windows 10. This code delete the file just fine for me: File f = new File("video.mp4");
FFmpegFrameGrabber g = new FFmpegFrameGrabber(f);
g.start();
g.close();
f.delete(); This is probably caused by a faulty antivirus software. Please make sure to disable all malware scanners. |
I'm sorry.I double-checked the code, I found somewhere I invoke Twice start() ,then invoke close() ,The file is still occupied。 |
I see, we should add a check for that. |
saudet
added a commit
that referenced
this issue
Jun 24, 2019
…r`, `FFmpegFrameGrabber`, or `FFmpegFrameRecorder` (issue #1233)
The check is now included in JavaCV 1.5.1. Thanks for reporting! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Code like this
After FFmpegFrameGrabber .close() ,I can't delete this file.Prompt me that my file is occupied.
use JavaCV 1.5 ,Jdk 1.8
The text was updated successfully, but these errors were encountered: