Problems using Processing Video in OPENGL (P3D) mode with Processing 2.08alpha
in
Core Library Questions
•
1 year ago
Machine: macosx 10.7.4 with Intel HD Graphics 3000 384 MB
Hey folks,
I am trying to run the Contributed library example video>Movie>Speed in P3D (OPENGL) mode.
size(320, 240,P3D);
I need OPENGL for other parts of a sketch and I am trying to play a .mp4 video file.
While on Processing 2.05alpha I get some mistakes, but the video + sound is running.
Display 0 does not exist, using the default display instead.
<Error>: CGContextGetCTM: invalid context 0x0
<Error>: CGContextSetBaseCTM: invalid context 0x0
<Error>: CGContextGetCTM: invalid context 0x0
<Error>: CGContextSetBaseCTM: invalid context 0x0
2012-08-06 07:41:24.091 java[843:2007] invalid drawable
OpenGL error 1282 at bot endDraw(): invalid operation
On Processing 2.08alpha (was the same at 2.07alpha) however, trying to play the .mp4 file, plays back the sound but no image. The error message is:
OpenGL error 1282 at bot endDraw(): invalid operation
The video file in the example "balloon.ogg" works fine. So I tried to transcode the mp4-video file I have to .ogg and other formats, but no dice.
Any ideas, what specifications a video and codec have to have in order to play back in OPENGL mode? Because the interesting thing is that as soon as I switch OPENGL off, the video+sound of the mp4 file play just fine.
Thanks for any ideas!
Hey folks,
I am trying to run the Contributed library example video>Movie>Speed in P3D (OPENGL) mode.
size(320, 240,P3D);
I need OPENGL for other parts of a sketch and I am trying to play a .mp4 video file.
While on Processing 2.05alpha I get some mistakes, but the video + sound is running.
Display 0 does not exist, using the default display instead.
<Error>: CGContextGetCTM: invalid context 0x0
<Error>: CGContextSetBaseCTM: invalid context 0x0
<Error>: CGContextGetCTM: invalid context 0x0
<Error>: CGContextSetBaseCTM: invalid context 0x0
2012-08-06 07:41:24.091 java[843:2007] invalid drawable
OpenGL error 1282 at bot endDraw(): invalid operation
On Processing 2.08alpha (was the same at 2.07alpha) however, trying to play the .mp4 file, plays back the sound but no image. The error message is:
OpenGL error 1282 at bot endDraw(): invalid operation
The video file in the example "balloon.ogg" works fine. So I tried to transcode the mp4-video file I have to .ogg and other formats, but no dice.
Any ideas, what specifications a video and codec have to have in order to play back in OPENGL mode? Because the interesting thing is that as soon as I switch OPENGL off, the video+sound of the mp4 file play just fine.
Thanks for any ideas!
1