What is the best / easiest way to display video (with sound!) In an application using XAudio2 and Direct3D9 / 10?
At least, it should be able to transmit potentially larger videos and ensure that the aspect ratio of the window can be different from the video (for example, by adding mailboxes), although ideally Id is like the ability to embed a video in a 3D scene.
I could, of course, devise a way to load each frame into a texture, discard / reuse textures after rendering, and play sound separately through XAudio2, however, as well as recording a bootloader for at least one format, also to deal with things like synchronization of video and audio components, therefore, I hope there is a more affordable solution or even a ready-made one with suitable lizization (commercial distribution in binary form, dynamic linking in the case of LGPL).
source
share