使用ffmpeg库

时间:2014-07-29 21:58:44

标签: java android eclipse ffmpeg

所有这些都是为了帮助< 3

所以,我已经下载了ffmpeg库,将其导入eclipse,将其作为库添加到我的android应用程序并尝试使用它,它不起作用。

一步一步:

  • 已下载此文件:https://github.com/guardianproject/android-ffmpeg-java
  • 将其提取到空文件夹。
  • 在Eclipse," import"然后我选择了这个空文件夹。
  • 右键点击我的项目,属性,android,添加了ffmpeg库。
  • 在我的创建时,我使用了这段代码(仅用于检查):

    ffmpeg -t 30 -i inputfile.mp3 -acodec copy outputfile.mp3

但是我遇到了很多错误:

Multiple markers at this line
- Syntax error on token(s), misplaced 
 construct(s)
- Syntax error on token "inputfile", delete this 
 token
- Syntax error on token "30", delete this token
- Syntax error on token ".", ; expected

你能看到我的问题吗?

0 个答案:

没有答案