How to Overlay or Superimpose an Image onto a Video in C#

前端 未结 1 602
小鲜肉
小鲜肉 2021-01-01 09:25

I\'m trying to figure out how to overlay an image over a (saved file) video in Visual C#, and then resave it. I\'ve been ripping my hair out trying to do this for the past f

相关标签:
1条回答
  • 2021-01-01 10:12

    DirectShow.NET is a wrapper over DirectShow, a [previous generation] MS Multimedia API. The API itself is better suitable for native development, however .NET wrapper is pretty popular and powerful.

    DirectShow.NET samples include:

    Samples\Capture\DxLogo ---------------------- A sample application showing how to superimpose a logo on a data stream. It uses a capture device for the video source, and outputs the result to a file.

    Samples\Players\DxText ---------------------- A sample application showing how to superimpose text strings on a datastream. The stream is read from an avi file.

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