Hey,
sorry, I feel like spamming the new forum. I think I just like it too much here.
I already used the 2RealGstreamer block a couple of times and it worked like a charm so far. I am trying to use it with a bunch of videos with alpha channels now, but can’t get it to run. I thought since it got 4 channels the correct use would be:
unsigned char* pImg = mMovie->getVideo(); Surface( pImg, mMovie->getWidth(), mMovie->getHeight(), mMovie->getWidth() * 4, SurfaceChannelOrder::RGBA ) ;
But that gives me a memcpy exception with no stack trace at all. Leaving the rowBytes at width * 3 will compile and run, but expectedly result in a distorted image.
Any hints on this?
// Edit:
The videos themselves definetly have alpha information. I tried QT Animation and PNG, but I’m open to trying different codecs