在没有第三方组件的视频中添加水印图像。 [英] Adding watermark image in video without third party components.

查看:86
本文介绍了在没有第三方组件的视频中添加水印图像。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





有没有办法用水印图像编辑/转换/导出视频而不使用c#或wpf中的任何第三方组件和软件。 />


如果有人知道这方面的信息,请告诉我。



提前致谢,

SK



我尝试过:



我确实使用了ffmpeg转换器,但我不想使用那个转换器。

Hi,

Is there any way to edit/convert/export video with watermark image without using any third party component and software in c# or wpf.

If anyone know the information regarding this kindly please let me know.

Thanks in advance,
S.K

What I have tried:

I did using ffmpeg converter, but I don't want to used that converter.

推荐答案

听起来很简单,但你必须改变视频的每一帧才能显示水印。



文章使用GDI + for .NET创建水印照片解释了照片的处理过程。



所以你需要解码,而不是添加水印然后重新编码您的视频。相当多的工作不仅适用于您的CPU,还适用于您的代码。
It sounds very easy, but you must change every frame of your video to show a watermark.

The article Creating a Watermarked Photograph with GDI+ for .NET explains the process for a photo.

So you need to decode, than add the watermark and then recode your video. Quite a lot of work not only for your CPU but also your code.


这篇关于在没有第三方组件的视频中添加水印图像。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆