在服务器端对批量视频进行编码的最佳方法是什么?

发布于 2024-10-16 10:19:05 字数 715 浏览 6 评论 0原文

我提出一个一般性问题,因为我是一名开发人员,并且在视频阐述方面没有先进的经验。我必须准备一个 Web 应用程序,以便允许视频文件上传到我们公司的服务器上,然后由服务器根据用户命令进行视频阐述。 Web 应用程序的目的是允许用户根据从 Web 应用程序启动的用户操作对视频进行一些阐述:

  1. (服务器必须)将视频转换为不同的格式(mp4、flv...)< /p>

  2. 从视频中提取关键帧并将其保存为 jpeg 格式

  3. 可以从视频中提取音频

  4. 质量音频和音频的自动控制视频(黑帧、静音检测)

  5. 更改场景检测和关键帧提取

.....

这是我的老板想要从基于网络的应用程序(显然有服务器支持),我只理解这个列表的前 3 点,其余的对我来说是阿拉伯语......

我的问题是:对于这个作品来说,哪个是最好、最快的服务器端应用程序,它可以支持从命令行进行多个批量视频转换(用于 php-soap-socket 交互或其他内容的命令行..)?

Adobe Media Server 是否适合批量视频转换?

哪些 adobe 产品可用于此目的?

注意:我有 Indesign Server 脚本编程经验(使用 php 和肥皂调用发送 xml...),并且我正在寻找类似的视频阐述。

我将不胜感激任何答案。

谢谢大家

I am making a general question since I am a developer and I have no advance experience on video elaboration. I have to preparare a web application with the purpose to allow video files upload on our company server and then video elaboration by server, on user command. The purpose of the web application is to allow to the user to make some elaboration on video depending on user action launch from the web app:

  1. (server has to ) convert video in different format(mp4, flv...)

  2. extact keyframes from video and saves them in jpeg format

  3. possibility to extract audio from video

  4. automatic control of quality audio & video (black frames,silences detection)

  5. change scene detection and keyframe extraction

.....

This what's my bosses wanted from the web based application (with the server support obviously), and I understand only the first 3 points of this list, the rest for me was arabic....

My question is: Which is the best and fastest server side application for this works, that can support multiple batch video conversions, from command line (comand line for php-soap-socket interaction or something else..)?

Is suitable Adobe Media Server for batch video conversion?

Which are adobe products that can be used for this purpose?

Note: I have experience with Indesign Server scripting programing (sending xml with php and soap call...), and I am looking to something similiar for video elaboration.

I will appreciate any answers.

THANKS ALL

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

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

发布评论

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

评论(3

疯狂的代价 2024-10-23 10:19:05

我建议您从开源项目 FFmpeg 开始。您可以从命令行调用该程序,并通过一系列参数指定所需的输出类型、缩略图等。

顺便说一句,当您开始查看视频相关项目(MediaShare)你会发现他们都在使用 FFmpeg< /a> 用于他们的视频处理。

I suggest you start with the open source project FFmpeg. You can call the program from the command line and via a series of arguments specify the desired output types, thumbnails, etc.

As an aside, when you start looking around at Video related projects (MediaShare for example) you will find they are all using FFmpeg for their video processing.

栀梦 2024-10-23 10:19:05

正如 内森建议< /a>、FFMPEG 是首选。你也可以检查 MEncoder

只是为了详细说明:

1) (server has to ) convert video in different format(mp4, flv...)

FFMPEG 和 mencoder 都做得很好,

2) extact keyframes from video and saves them in jpeg format

据我所知不可能使用 FFMPEG 的命令行界面,不确定 mencoder。然而,他们可以将所有帧保存为单独的图像,

3) possibility to extract audio from video

FFMPEG和mencoder都可以很好地做到这

4) automatic control of quality audio & video (black frames,silences detection)

一点,您需要使用FFMPEG库或mencoder对其进行编码,

5) change scene detection and keyframe extraction

不清楚您的老板在这里强加了什么

as Nathan suggested, FFMPEG is the first choice. Also you can check MEncoder

Just to elaborate:

1) (server has to ) convert video in different format(mp4, flv...)

both FFMPEG and mencoder do this well

2) extact keyframes from video and saves them in jpeg format

as I know it's impossible using command-line interface of FFMPEG, not sure about mencoder. However they can save all frames as separate images

3) possibility to extract audio from video

both FFMPEG and mencoder do this well

4) automatic control of quality audio & video (black frames,silences detection)

you need to code this, using FFMPEG libraries or mencoder

5) change scene detection and keyframe extraction

it's not clear what your boss imposes here

浅唱ヾ落雨殇 2024-10-23 10:19:05

我尝试使用高级 Xuggler API 库在服务器端转换大量视频。

Xuggler 是一个为 Java 开发人员提供的免费开源库,可用于解压缩、
实时操作和压缩录制或实时视频。 Xuggler 使用非常
强大的 FFmpeg 媒体处理库,本质上扮演着
它们周围的 java 包装器。这是解压缩、修改和重新压缩任何内容的简单方法
来自 Java 的媒体文件(或流)。

网址 : 1) http://www.xuggle.com/ - 官方网站
2) http://www.javacodegeeks.com/2011/02/introduction- xuggler-视频-
操作.html - 示例

I tried lot of videos converting in server side using advance Xuggler API libraries.

Xuggler is a free open-source library for Java developers which can be used to uncompress,
manipulate, and compress recorded or live video in real time. Xuggler uses the very
powerful FFmpeg media handling libraries under the hood, essentially playing the role of a
java wrapper around them. It is the easy way to uncompress, modify, and re-compress any
media file (or stream) from Java.

WebLinks : 1) http://www.xuggle.com/ -official website
2) http://www.javacodegeeks.com/2011/02/introduction-xuggler-video-
manipulation.html - example

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