视频编辑和观看的首选平台 - 可执行程序/基于网络?

发布于 2024-10-03 07:18:59 字数 357 浏览 1 评论 0原文

我需要制作一个用于视频编辑和观看的轻量级应用程序。

我正在考虑要么编写一个用 Python 编写的可执行程序,要么使用 JavaScript 和 HTML5 编写一个轻量级 Web 应用程序。 Flash 作为第三种选择,几乎是不可能的,因为它太胖并且有许多安全缺陷。

编辑:视频本身服务(阅读:“重量级的东西”)将由专用的快速库或服务完成。因此,Python/Web 应用程序问题几乎只与 GUI 和一些非常基本的视频操作相关,例如跳转到特定帧等。

考虑到速度和易用性(对于用户而言),什么是更好的平台?我应该只使用 Python,还是只为我的任务构建一个小型 Web 应用程序?

预先感谢, 奥里

I need to make a light-weight application for video editing and viewing.

I was thinking of either writing an executable program written in Python, or a light-weight web app using JavaScript and HTML5. Flash, as a third option, is pretty much out of the question, since it's too fat and has many security flaws.

EDIT: The video serving itself (read: the "heavy-weight stuff") will be done by a dedicated fast library or service. Thus, the Python/Web-app questions is pretty much related only to the GUI and some very basic video manipulation, like jumping to a specific frame and such.

What is the preferable platform, considering speed and ease of use (for the user)? Should I just use Python, or maybe just build a small web-app for my task?

Thanks in advace,
Ory

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

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

发布评论

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

评论(4

栀子花开つ 2024-10-10 07:18:59

Python。

确实,虽然您可以使用 HTML5 视频执行一些奇特的技巧,例如对其应用效果并将其渲染在画布上、旋转播放器等。我不知道任何用 JavaScript 编写的编码器。

因此,除非您想为 JavaScript 编写自己的 FFMPEG 版本,这可能是地球上最慢的事情,并且需要 40 万行代码(谈论“轻量级”),所以我建议您使用 Python。

有诸如 PyFFMPEGPyMedia 就在那里,这确实值得一看,但请记住视频编辑很困难。

Python.

Really, while you can do some fancy tricks with HTML5 Video e.g. apply effects to it and render it on a canvas, rotate the player etc. I don't know of any encoder that's written in JavaScript.

So unless you want to write your own version of FFMPEG for JavaScript, which will probably be the slowest thing on earth and take 400k lines of code (talk about "lightweight") so I'd suggest that you go with Python.

There are things like PyFFMPEG or PyMedia out there, which are sure worth a look, but keep in mind Video editing is hard.

追风人 2024-10-10 07:18:59

我不会使用其中任何一个:浏览器无法处理这样的应用程序的重量,python 需要很长时间才能渲染。如果您想让 python 和/或 HTML/JS 中的前端变得自由,但您将需要一个已编译的(最好是 C/C++)应用程序来处理后台的繁重工作(对于 HTML,特别是如果您打算实际制作它)有一个工作预览)

对于这个来说,使用 Flash 比使用 HTML 会更幸运......

I wouldn't use any of those: Browsers can't handle the weight of an application like that, python would take ages to render. If you want to make the frontends in python and/or HTML/JS feel free but you will need a compiled (Preferably C/C++) application to handle the heavy lifting in the background (For HTML, especially if you plan on making it actually have a working preview)

You'd have more luck with flash than with HTML for this...

梦归所梦 2024-10-10 07:18:59

我不认为编写一个基于网络的视频编辑系统是一件小事。 Flash 和 Silverlight 将是此类事情的首选技术。它们都旨在很好地处理视频,我认为 RIA 界面将是理想的选择。

当然它们可能很“胖”,但你必须使用正确的工具来完成这项工作:]

我认为 Kaltura 使用基于Flash的系统。

您可以在幕后使用 Python 进行编码,并将视频片段连接在一起,但使用 HTML 5 进行前端似乎很自虐。可能可以使用 HTML 5 / Canvas 来做到这一点,但仍然相当疯狂!

I don't think writing a web based video editing system would be a small endeavor. Flash and Silverlight would be the technologies of choice for something like this. They are both designed to handle video very well and I think an RIA interface would be ideal.

Sure they may be 'fat' but you got to use the right tool for the job :]

I think Kaltura uses a Flash based system.

You can use Python behind the scenes to do encoding, and connecting video snippets together, but doing the front end with HTML 5 seems masochistic. It is probably possibly to do it with HTML 5 / Canvas, but still pretty crazy!

瑾兮 2024-10-10 07:18:59

我最终开发了一个网络应用程序 - HTML5 & CSS。用 HTML 开发 GUI 是一件轻而易举的事。 Chromium(开源 Google Chrome)可以很好地处理 HTML5。

不像这里人说的那样,并不重。

I eventually developed a web-app - HTML5 & CSS. Developing a GUI in HTML is a breeze. And the Chromium (Open-source Google Chrome) handles HTML5 pretty well.

Unlike what people have said here, it is not heavy.

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