Skip to content Skip to sidebar Skip to footer

Create A Videoplayer With The Libvlc For Android

I am trying to creat a video player for an android app with the last LibVLC. The problem is that I don't know how this lib works and I can't find sample to help me (as it is say he

Solution 1:

Please see the below sample repo I created. It doesn't have all the bells and whistles, but it simply plays any valid video url. It uses a VLC SDK kindly provided by mrmaffen:

https://github.com/gareoke/VLCPlayer

Solution 2:

2019 sees introduction of a VLCVideoLayout component that greatly simplifies the code required to embed VLC into android.

https://code.videolan.org/videolan/libvlc-android-samples

The libVLC is provided by the official VideoLAN project hosted on BinTray. See the build.gradle files for the link to the Maven repo and the package name/version.

https://code.videolan.org/videolan/libvlc-android-samples/blob/master/build.gradle#L18https://code.videolan.org/videolan/libvlc-android-samples/blob/master/java_sample/build.gradle#L34

Solution 3:

if someone is still looking for simple vlc player example Please have look at this MyVlcPlayer. It uses minimum code to play a video. To keep this project simple I have not added any video controller.

Post a Comment for "Create A Videoplayer With The Libvlc For Android"