将文本添加到视频文件

发布于 2024-07-16 21:54:47 字数 44 浏览 4 评论 0原文

我需要向视频文件添加文本。 我需要读取一个视频文件并向其中添加一行文本。

I need to add text to a video file. I need to read one video file and add one line of text to it.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

怀里藏娇 2024-07-23 21:54:48

这不是一个真正的问题,你需要具体并提供背景信息,否则人们很难提供帮助。

你说你需要添加一行文字,这是一次性活动吗? 1 个视频,1 行文字? 您是否需要在播放视频的同时显示一行文字; 多个视频,每个视频都有一行文字? 潜在场景的列表几乎是无穷无尽的,并且您还没有表明您已经尝试过什么来实现这一目标。

我担心仅仅将其标记为 C# 并没有什么帮助。

This is not really a question, you need to be specific and give context otherwise it's hard for people to help.

You say you need to add a line of text, is this a one-off activity; 1 video, 1 line of text? Are you needing to display a line of text while showing video; multiple videos with a line of text each? The list of potential scenarios is virtually endless and you've not indicated what you've tried to achieve this already.

Just tagging it as C# isn't going to help I fear.

绅刃 2024-07-23 21:54:48

DirectShow VRM7 和 VRM9(视频渲染器)都允许您在显示视频时执行此操作。

Both DirectShow VRM7 and VRM9 (video renderers) allow you to do that when displaying video.

情愿 2024-07-23 21:54:48

您可以使用命令行并从中运行额外的工具吗?
例如,ffmpeg 或 VideoCHARge Studio

Can you use command line and run extra tool from ?
For exaple, ffmpeg or VideoCHarge Studio

〃温暖了心ぐ 2024-07-23 21:54:47

你正在踏入一个高度被忽视的领域。 我的意思是微软真的忽略了它,即使是最简单的事情很快也会变得一团糟。

现在您可以选择:

  • 查看 DirectShow.net
    项目。 它包装 DirectShow 库
    让你重新做所有事情
    视频。
  • 有人展示(谷歌
    周围)如何在 WPF 上播放视频。 你
    可以轻松添加文本或其他内容,但是
    我不确定是否可以保存。

You are stepping into a highly neglected area. I mean MS is really ignoring it and even the most simple things turn out into a mess very quickly.

Now for your options:

  • check out DirectShow.net
    project. It wrapps DirectShow library
    and let you do all sort of stuff over
    video.
  • somebody showed (google
    around) how to play video on WPF. You
    could easily add text or whatever but
    I am not sure about saving.
云淡月浅 2024-07-23 21:54:47

阅读视频 Alpha 混合。

Read up on video alpha blending.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文