导航图形覆盖在视频上

发布于 2024-08-31 07:26:15 字数 134 浏览 1 评论 0原文

想象一下我正在播放一个视频..我可以在该视频上播放某种运动图形吗..就像说运动图形位于视频的上层,视频位于下层..

我很舒服在 C++ 和 Python 中,因此使用这两个的解决方案将受到高度赞赏。

提前感谢您, 里希..

Imagine I have a video playing.. Can I have some sort of motion graphics being played 'over' that video.. Like say the moving graphics is on an upper layer than the video, which would be the lower layer..

I am comfortable in a C++ and Python, so a solution that uses these two will be highly appreciated..

Thank you in advance,
Rishi..

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

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

发布评论

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

评论(1

っ左 2024-09-07 07:26:15

我不确定我是否正确理解了这个问题,但视频文件是您可以提取的一系列图片(例如使用 opencv 库 C++ 接口),然后您可以在任何您想要的地方使用它。您可以在 opengl 3D 立方体(在所有 opengl 教程中提供)及其周围的其他 3D 元素的侧面播放视频。

当然,您也可以在传统的 2D 界面中显示它并在其上绘制内容,但为此您需要一个图形用户界面。

是你想的那样还是我完全迷失了?

I'm not sure I understand the question correctly but a video file is a sequence of pictures that you can extract (for instance with the opencv library C++ interface) and then you can use it wherever you want. You can play the video on the sides of an opengl 3D cube (available in all opengl tutorials) and other 3D elements around it.

Of course you can also displays it in a conventional 2D interface and draw stuff on top of it, but for this you need a graphical ui.

Is it what you thought or am I completely lost?

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