Comments (5)
Yeah, that seems to be an issue with BufferStrategy in Java.. I am not sure
what causes it, but it never made my program crash or work incorrectly. Does
your program not work when that message appears?
Original comment by [email protected]
on 30 Sep 2010 at 1:59
from javacv.
Actually, it freezes when the error occur. Disabling the instruction
"canvasFrame.showImage(image)" make it works fine. Another detail I've noticed
is that if I wait a low time before compile and run again the program (10 sec
for example), it works without error. Maybe it's a problem with Garbage
Collection or something related?
Original comment by [email protected]
on 30 Sep 2010 at 2:04
from javacv.
Ah, no, if it freezes it's probably a problem with your video card driver..
You can also try to use OpenGL instead of X11 SHM by setting the _JAVA_OPTIONS
environment variable before executing your program, something like this in bash:
export _JAVA_OPTIONS="-Dsun.java2d.opengl=True"
or put it in ~/.bashrc and relog in.
Original comment by [email protected]
on 30 Sep 2010 at 2:13
from javacv.
Okay, I will try this evening then I will show the results! Thanks for help! :)
Original comment by [email protected]
on 30 Sep 2010 at 2:18
from javacv.
Closing this long-standing issue, assuming that OpenGL or a better video driver
did the trick. Please reopen the issue if that is not the case, thank you.
Original comment by [email protected]
on 4 Nov 2010 at 10:32
- Changed state: Done
from javacv.
Related Issues (20)
- av_interleaved_write_frame() error -22 while writing interleaved video frame HOT 3
- Android video record using H264 format is to large HOT 1
- Error while createFisher/Eigen/LBPHFaceRecognizer() method is called. HOT 7
- FFmpegFrameGrabber doesn't grab upto the end of the video on Android HOT 6
- RTMP streaming problems HOT 1
- Unable to record with sample code on HOT 4
- Question about the applying the proguard on android HOT 2
- CODEC_ID_MPEG1VIDEO,PIX_FMT_YUV420P cannot be resolved to a variable HOT 4
- While using OpenCV 2.4.9 and JavaCV 0.7 in netbeans windows 7 getting error HOT 3
- Help me Dr.Samuel..(Fatal signal 8 (SIGFPE) at 0x00002835 (code=-6), thread 10293 ) HOT 4
- multi processing with opencv HOT 2
- Problem on train method in face recognition HOT 1
- how to rotate video with javacv on android HOT 1
- Caused by: java.lang.UnsatisfiedLinkError: Couldn't load opencv_core from loader dalvik.system.PathClassLoader HOT 1
- .mp4 video not working in splash screen in htc desire 500 HOT 1
- How to grab the RGB frame instead the gray one? HOT 2
- reconstructImageToNewType Method not Found HOT 1
- JavaCV 0.11 getLengthInFrames() HOT 3
- How to apply sepia effect on grabed frame before record it HOT 2
- IplImage Create error, memery allocation problem HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javacv.