English 中文(简体)
将视频转换为机器人装置( Java) 的音频
原标题:Convert a video to audio on an android device (Java)

我的问题非常基本, 但我发现很难找到解决办法。

我制作了一个机器人应用程序,从服务器下载视频,然后将视频转换为 mp3, 因为它是用于音乐下载的。 现在的问题是,我无法真正找到一种 < 强轻量级 < / 强度 > 转换视频的方法 。

我已经调查了合适的 ffmpeg 库/ 包件库/ 包件, 但无法找到一个简单的解决方案用于机器人。 我已经在我的窗口机器上使用了 ffmpeg, 但它以控制台为基础 。

我只需要把 mp4 转换成 mp3, 但不知何故似乎并没有任何简单的解决办法可以找到, 我更不想使用外部网络服务,

我希望我已说得很清楚,并感谢你花时间阅读这个。

问题回答

您可以在应用程序代码中使用 ffmpeg 来达到此目的 。 请检查下面的问题, 找到一些方向 : < a href="https:// stackoverflow.com/ questions/5164211/ use-ffmpeg- on-and- and- roid" > 使用对 Adroid 的 RigAPPEG





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签