不需要安装的视频编码 xuggler 的替代方案? [英] Alternative of xuggler for video encoding which doesnot require installaion?

查看:26
本文介绍了不需要安装的视频编码 xuggler 的替代方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个截屏 Java Web Start 应用程序.

I am creating a screencast Java Web Start application.

使用 xuggler 编码视频需要:

Encoding Video using xuggler requires:

  1. 在客户端系统上安装 xuggler - 这很乏味.
  1. installing xuggler on the client system - Which is tedious.

(或)

  1. 使用 xuggle-xuggler.jar 5.2 或更高版本,其大小约为 35 MB 以上. - 这会增加应用程序加载所需的时间.
  1. Using xuggle-xuggler.jar version 5.2 or above whose size is around 35 MB plus. - this increases the time required for the application to load.

有没有其他不需要安装且罐子不是那么大的替代方案.

推荐答案

我没有使用 Xuggler 进行视频编码/解码,只使用音频.但是,我记得还看到必须安装 Xuggler"等警告.我发现情况并非如此.您可以轻松地将 JAR 和本机库复制到您的应用中,并将它们设置在您的类路径/库路径中,这样 Xuggler 无需安装即可正常工作.

I have not used Xuggler for video encoding/decoding, only audio. However, I remember also seeing a warning that "Xuggler must be installed" etc etc. I found out this wasn't the case. You can quite easily copy the JARs and native libraries into your app and set them up in your classpath/library path so Xuggler works just fine without installation.

也就是说,我使用的是标准"安装程序.使用 Java Web Start 可能会有所不同,因为沙箱更严格.例如,加载本机库.

That said, I was using a 'standard' installer. Using Java Web Start may be different because the sandboxing is stricter. For example, loading native libraries.

包的大小是难以摆脱的……在 CDN 上托管?

The size of the package is something that's difficult to get away from... host on a CDN?

这篇关于不需要安装的视频编码 xuggler 的替代方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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