【问题标题】:How to integrate the Vitamio library in my project android?如何将 Vitamio 库集成到我的项目 android 中?
【发布时间】:2014-04-22 15:51:59
【问题描述】:

需要在我的 android 应用程序中播放 .avi .mov 和 .wmv 文件。 我正在 eclipse 模拟器中进行测试,但我无法播放这些文件,所以我没有设法将库集成到我的项目中。我已经完成了以下步骤:

  • 在 Eclipse 中使用包 VitamioBundle-4.2.1 库创建一个项目。
  • 将上一步中的聚合添加到我的Android项目库中,方法是:Properties / Android / Library / Add ...
  • 将“InitActivity”类添加到 AndroidManifest.xml

我还创建了一个新项目来测试库附带的示例,名为“VitamioListActivity”,但不能播放这些格式的文件。

感谢有人告诉我在 android 应用程序上播放这些文件的步骤。 非常感谢。

【问题讨论】:

  • 谁能帮帮我?很重要,拜托。

标签: android eclipse vitamio


【解决方案1】:

很多人都像你一样遇到这个错误,

错误:

Sorry this video is not valid for streaming to this device.
Sorry, this video can not be played.

您可以通过Sorry, this video is not valid for streaming to this device in Http streaming android了解详情

谢谢,

【讨论】:

  • 我认为你没有理解我的问题......我可以在我的 Android 应用程序中播放 mp4 文件,但我不能播放 mov、avi 或 wmv 文件!您的回复是关于 mp4 文件中 H.264 编码的问题(如果我理解良好的话)...
猜你喜欢
  • 1970-01-01
  • 2018-06-24
  • 1970-01-01
  • 1970-01-01
  • 2015-12-05
  • 2013-02-15
  • 1970-01-01
  • 2014-04-28
  • 1970-01-01
相关资源
最近更新 更多