如何嵌入VLC媒体播放器到我的Andr​​oid应用程序媒体播放器、我的、应用程序、VLC

2023-09-04 05:14:29 作者:言多必失

有没有办法嵌入VLC媒体播放器的Andr​​oid应用程序?我有几个问题:

Is there a way to embed VLC media player to Android Application? I have several issues:

1)我有一个视频流摄像机(从RTSP),我不能我经常videoview面板(对不起,该视频无法播放错误)上播放的流。不过,我安装了VLC应用程序为Android(测试版),我是能够发挥它。 2)我的主要目标是端口桌面Java应用程序,它使用VLC插件到Android。我想完成这个任务用最小的努力(我有一些时间的问题)。

1) I have a video streaming Camera (from RTSP) and I cannot play its stream on my regular videoview panel (Sorry this video cannot be played error). However, I installed the VLC application for Android (beta version) and I was able to play it. 2) My main objective is to port a desktop java application which uses VLC plugin to Android. I want to accomplish this task with minimum effort (I have some time issues).

另一种选择,有没有办法嵌入使用VLC我的应用程序codeCS?因为与我videoview,结果根据视频格式而变化。我可以玩一些其他的视频通过RTSP流在我的videoview。

Another alternative, is there a way to embed codecs used by VLC to my application? Because with my videoview, the result varies according to the format of the video. I can play some other videos streamed through RTSP on my videoview.

我通过互联网搜索,发现了libvlc,而且有关libvlc Android的一些注意事项是不完整的(但这些音符属于一个过去的时间,甚至在计算器)。

I search through internet and found a "libvlc" but also some notes about that libvlc for android is not complete (but those notes belong to a past time, even in stackoverflow).

推荐答案

是的,如果你已经有了VLC-sdk.7z(libVLC为Android)的这里是示例项目,以嵌入VLC到你的Andr​​oid应用程序。

Yes, if you already have the vlc-sdk.7z (libVLC for android), here is the sample project to embedded VLC into your android apps.

如果您还没有libVLC,这里是步骤来建立一个。 (之后嘘compile.sh说完,让VLC-sdk.7z创建VLC-sdk.7z并解压到演示项目。

If you do not have libVLC, here are the steps to build one. (After "sh compile.sh" finished, "make vlc-sdk.7z" to create the vlc-sdk.7z and unzip to the demo project.

我把VLC-sdk.7z(仅armeabi-V7A包括)这里进行测试。

I put the vlc-sdk.7z(only armeabi-v7a is included) here for testing.