Jump to content
  • Advertisement
Sign in to follow this  

Alpha channel not preserved using VMR9 for decoding video

This topic is 4844 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey guys, I'm using VMR9 and the HUFFYUV codec (preserves the alpha channel in the video). Using a custom allocator I pass an ARGB surface to the VMR but and using the overridden Presentation handler/callback I StretchRect this surface to another surface (flipping..) except its throwing away the alpha channel (completely black).. (I tested the input video and it contains an alpha channel for sure, after effects has no problems whatsoever with this source video..) Anyone knows if I should set some VMR9 flag somewhere to tell it I want the Alpha channel preserved in the decoded frames? thx.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!