Java中的视频缩略图 [英] Video Thumbnails in Java
本文介绍了Java中的视频缩略图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想用Java生成视频缩略图预览。我主要是JMF和视频操作疏远了。
- 有简单的方法吗?
- 编解码器怎么样?我必须处理吗?
- 是否支持任何视频类型? (包括Quicktime)
解决方案
似乎有一些例子更好而不是我要去的地方发送给你。
参见 http://krishnabhargav.blogspot.com/2008/02/processing-videos-in-java.html 。
<但是,我同意斯图的观点。如果您可以使用某些命令行工具找到获得所需内容的方法(并使用 Commons-Exec <运行它们) / a>),您可能有一个更好的整体解决方案,而不是基于什么是Java扩展的梵语。
I want to generate a thumbnail preview of videos in Java. I'm mostly JMF and video manipulation alienated.
- Is there an easy way to do it?
- What about codecs? Will I have to deal with it?
- Any video type is suported? (including Quicktime)
解决方案
There seems to be a few examples out there that are far better than what I was going to send you.
See http://krishnabhargav.blogspot.com/2008/02/processing-videos-in-java.html.
I'd agree with Stu, however. If you can find a way to get what you want using some command-line tools (and run them using Commons-Exec), you might have a better overall solution than depending on what is essentially the Sanskrit of Java extensions.
这篇关于Java中的视频缩略图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文