在 java 中操作视频的库/教程

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/809646/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 19:44:06  来源:igfitidea点击:

Libraries / tutorials for manipulating video in java

javavideo-processing

提问by rcreswick

I need to do some simple video editing within a Java application, but the frameworks I've found (JMFand FMJ) appear to be quite stale, and thus far I haven't found any evidence that either can actually edit video. The type of operations I need are: cropping, redacting sections, and extracting clips.

我需要在 Java 应用程序中进行一些简单的视频编辑,但我发现的框架(JMFFMJ)似乎很陈旧,到目前为止我还没有发现任何证据表明它们都可以真正编辑视频。我需要的操作类型是:裁剪、编辑部分和提取剪辑。

I've never worked with video in any real capacity before, so I may just be misunderstanding what FMJ/JMF do, but I am still concerned by the age of the most recent releases of those tools.

我以前从未以任何实际身份处理过视频,所以我可能只是误解了 FMJ/JMF 的作用,但我仍然对这些工具的最新版本的年龄感到担忧。

What do people use to do this sort of thing? What keywords should I be using to get more relevant results?

人们用什么来做这种事情?我应该使用哪些关键字来获得更相关的结果?

(The specific format of video is not particularly important to me -- anything common is just fine.)

(视频的具体格式对我来说不是特别重要——任何常见的都可以。)

采纳答案by Artyom Sokolov

You may take a look on Xuggler. Also some alternatives to JMF were covered in Wikipedia.

你可以看看Xuggler维基百科中还介绍了 JMF 的一些替代品。

回答by user99054

GStreamerhas some Java bindings.

GStreamer有一些 Java 绑定。