gsvideo poor performance with opengl
in
Contributed Library Questions
•
3 years ago
hi there!
i am currently trying to playback a 560x420 video in opengl with the help of gsvideo. my testvideo is in the quicktime container encoded as a photo-jpeg with 75%. i am using the example sketch that came with gsvideo.
playing the video back in p2d is absolutely no problem with almost no cpu consumption. as soon as i switch to opengl/glgraphics, the performance decreases up to the point, where the video starts stuttering.
is there any special trick or hint to get a similar performance to a 2d renderer? i remember that there was something with rendering to a gltexture instead of a pimage, but does this help?
system specs:
- i7 with 2.8 ghz
- nvidia gtx 470
- 64bit win 7, but with 32bit java
- newest processing, 1.2.1 and newest gsvideo 0.7
thanks in advance,
micha
i am currently trying to playback a 560x420 video in opengl with the help of gsvideo. my testvideo is in the quicktime container encoded as a photo-jpeg with 75%. i am using the example sketch that came with gsvideo.
playing the video back in p2d is absolutely no problem with almost no cpu consumption. as soon as i switch to opengl/glgraphics, the performance decreases up to the point, where the video starts stuttering.
is there any special trick or hint to get a similar performance to a 2d renderer? i remember that there was something with rendering to a gltexture instead of a pimage, but does this help?
system specs:
- i7 with 2.8 ghz
- nvidia gtx 470
- 64bit win 7, but with 32bit java
- newest processing, 1.2.1 and newest gsvideo 0.7
thanks in advance,
micha
1