I have NSOpenGLView
on form and frame buffer event from AVFoundation
. I want to show video frames
on my form using OpenGL
View.
Asked
Active
Viewed 546 times
0

rmaddy
- 314,917
- 42
- 532
- 579

roman.minyaylov
- 203
- 1
- 9
-
Well, it's the fastest way. NSImageBiew for example must simpler but take too high CPU usage. Right now I have checked very difficult samples from Apple but they too complex too understood, I just need to draw an image. – roman.minyaylov Nov 20 '13 at 07:23
-
Fastest way?? What computer are you running even a really slow computer these days can show a video frame... – TheAmateurProgrammer Nov 20 '13 at 09:13
-
Nono my point is that most computers are fast enough that you don't need to use OpenGL to display a video frame.. – TheAmateurProgrammer Nov 23 '13 at 10:28
-
Yes, but if you want to capture video on-the-fly and perform video and audio processing - better to use OpenGL. – roman.minyaylov Nov 23 '13 at 12:52
-
Except from your question you sound like you know nothing about OpenGL, or video processing in general. – TheAmateurProgrammer Nov 23 '13 at 14:56
-
I know a lot about video processing, DirectShow and DirectX. But newbie in Cocoa/OpenGL. Implemented using OpenGL, worked better, CPU usage is much lower. – roman.minyaylov Nov 24 '13 at 18:38