Java视频处理库 [英] Video Processing Library for Java

查看:346
本文介绍了Java视频处理库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从视频中提取帧并对其应用一些过滤器,例如gabor/hough等.哪个Java库最适合处理各种视频编码?我一直在研究GStreamer,JMF,Xuggler等,但是无法确定哪一个最好.我还希望编辑框架并使用新框架制作视频.

I want to extract frames from a video and apply some filters on it such as gabor/hough etc. Which Java library would be perfect for handling all kinds of video encodings? I have been looking at GStreamer, JMF, Xuggler etc. but am unable to decide which one would be the best. I'm also looking to edit the frames and make the video with the new frames.

推荐答案

如果您要进行低级操作(例如提取帧和对其进行操作),那么Xuggler将是最佳选择,因为API专门针对此问题低级.它可以在ffmpeg上运行,因此可以处理所有类型的视频编码.

If you're looking to do low level operations such as extracting frames and manipulating them, then Xuggler would be the best choice, because the APIs are geared around this low level. It works on ffmpeg so can handle all types of video encodings.

不要将JMF用于任何东西,它已经过时,过时且有故障-GStreamer很好,但是API更适合于播放视频而不是操纵帧.

Don't use JMF for anything, it's old, outdated and buggy - GStreamer is good, but the API lends itself more to playing videos rather than manipulating the frames.

这篇关于Java视频处理库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆