Image::BitmapData Usage


#1

I realized I should have created a new topic for this.  So here it is.

Can someone point me in the right direction on how to take the AVFrame object after it is decoded and convert it to a Juce Image type so that I can render it in the paint method (I would imagine this is probably only a few lines of code)?  I know that it needs to be scaled, but once I have the scaled AVFrame (probably from YUV to RGB -> PIX_FMT_RGB24), I am stuck on how to display this. I was looking into the Image::BitmapData, but that doesn't seem to work directly with the raw image data from ffmpeg.

Your help is greatly appreciated. 

Thanks,

Darren