How to Overlay or Superimpose an Image onto a Vide

2019-02-07 15:08发布

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 four hours, looking everywhere, so any help would be hugely appreciated.

1条回答
冷血范
2楼-- · 2019-02-07 15:39

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.

查看更多
登录 后发表回答