Drawing video with text on top

前端 未结 2 1177
甜味超标
甜味超标 2021-01-13 02:18

I am working on an application and I have a problem I just cant seem to find a solution for. The application is written in vc++. What I need to do is display a YUV video fee

相关标签:
2条回答
  • 2021-01-13 02:43

    Instead of using the Video Mixing Renderer of DirectShow, you can also use the ISampleGrabber interface. The advantage is, that it is a filter which can be used with other renderers as well, for example when not showing the video on the screen but streaming it over network or dumping it to a file.

    0 讨论(0)
  • 2021-01-13 02:48

    Try to look into DirectShow and the Ticker sample on microsoft.com:

    DirectShow Ticker sample

    This sample uses the Video Mixing Renderer to blend video and text. It uses the IVMRMixerBitmap9 interface to blend text onto the bottom portion of the video window.

    DirectShow is for building filter graphs for playing back audio or video streams an adding different filters for different effects and manipulation of video and audio samples.

    0 讨论(0)
提交回复
热议问题