Skip to content

Video Sources and Sinks

bakercp edited this page Jul 5, 2012 · 3 revisions

Video Sources can pass their frames to video sinks. Video sinks can then do things with those frames. When processing sinked frames, keep in mind that the frames are shared, and thus a change in one later will affect that frame in all other buffers. This can be used strategically. If the frame needs to be modified, the sink should make a local copy of the frame. Most video processing is nondestructive (i.e. via shaders) so ofxVideoFrame sharing should usually be done without making copies.

Video Sources

  • ofxIpVideoGrabber
  • ofxVideoGrabber
  • ofxVideoPlayer
  • ofxVideoBufferPlayer

Video Sinks

  • ofxVideoBuffer
Clone this wiki locally