March 3, 2012

morris.beverly morris.bever..
Lab Rat
1 posts

getting frame bits data from video stream

 

Hi,

I’m trying to create a video playback module for an opengl project I have. I want to be able to get the “image data” from each incoming frame as a data buffer or pointer that I can drop into an opengl texture. For still images I use the “bits” property to get the data pointer from a QImage.

All the examples I’ve found for video are centered around playing video back in a window. There is the snapshot method (which may not be implemented in 4.8?), but I’m not sure if that would interrupt playback.

I’m sure there must be a method in there somewhere, but I haven’t been able to find it.

thanks,

morris

0 replies

 
  ‹‹ IP Address conversion from string to unsigned int      Using Loader Objects to Access C++ Methods ››

You must log in to post a reply. Not a member yet? Register here!