17 best Java Video Player libraries in 2024

share link

by Dhiren Gala dot icon Updated: Nov 21, 2023

technology logo
technology logo

Guide Kit Guide Kit  

Java libraries, by providing pre-coded packages of fundamental functionalities, reduce boilerplates in developing web applications.

This is particularly helpful when embedding video players and other media files into an application, giving viewers better control over the media displayed. Especially in the case of the latest open-source video player libraries, HTML5 coding support ensures error-free video playback on older browser versions. In addition, these libraries provide code to make video players compatible across various browsers. Video player libraries coded in Java enable efficient cache processing by using single cache lines, enabling quicker response times and increasing cache-hit instances. Code packs in these libraries can be used for YouTube videos, VLC Media Player, and many others.

Here is a list of the best 17 video player libraries based on Java. AndroidVideoCache is a smartly developed code package that supports efficient caching, enabling viewers an optimized streaming experience on the web. Caching straight to disk makes offline work possible. DKVideoPlayer is the second-ranker in the list developed specifically for Android-based platforms. MvpApp library provides video player code based on MVP architecture for Android-based applications. Phoenix is a unique library that provides code for recording video, taking pictures, selection of pictures or video, in addition to editing capabilities.

AndroidVideoCache    

  • AndroidVideoCache is a Java library used in telecommunications, media, entertainment, and servers.    
  • AndroidVideoCache library provides caching support and helps a single line of code.    
  • It allows caching to disk during streaming and offline work with cached resources.    
Java doticonstar image 5202 doticonVersion:2.7.1doticon
License: Permissive (Apache-2.0)

Cache support for any video player with help of single line

Support
    Quality
      Security
        License
          Reuse

            AndroidVideoCacheby danikula

            Java doticon star image 5202 doticonVersion:2.7.1doticon License: Permissive (Apache-2.0)

            Cache support for any video player with help of single line
            Support
              Quality
                Security
                  License
                    Reuse

                      DKVideoPlayer    

                      • DKVideoPlayer is a library or tool related to video playback in Android.    
                      • DKVideoplayer is an open-source Android video player that Encapsulates Media player, Exoplayer, etc.    
                      • DKVideoPlayer has no bugs or vulnerabilities.

                      DKVideoPlayerby Doikki

                      Java doticonstar image 4556 doticonVersion:3.3.7doticon
                      License: Permissive (Apache-2.0)

                      Android Video Player. Android video player, package MediaPlayer, ExoPlayer, IjkPlayer. Imitate Douyin and implement preloading, list playback, hover playback, advertisement playback, barrage, video watermark, video filter

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                DKVideoPlayerby Doikki

                                Java doticon star image 4556 doticonVersion:3.3.7doticon License: Permissive (Apache-2.0)

                                Android Video Player. Android video player, package MediaPlayer, ExoPlayer, IjkPlayer. Imitate Douyin and implement preloading, list playback, hover playback, advertisement playback, barrage, video watermark, video filter
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          MvpApp    

                                          • The MVP pattern helps in Android development, organizing code that separates concerns.    
                                          • It represents the data and business logic of the application.    
                                          • It helps Represent the UI components and displays data to the user.

                                          MvpAppby Rukey7

                                          Java doticonstar image 2344 doticonVersion:Currentdoticon
                                          no licences License: No License (null)

                                          Android MVP Architecture

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    MvpAppby Rukey7

                                                    Java doticon star image 2344 doticonVersion:Currentdoticonno licences License: No License

                                                    Android MVP Architecture
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              NiceVieoPlayer    

                                                              • NicePlayer is a full-screen, borderless, multi-engine player designed for playing movies.    
                                                              • It features full-screen or border-less floating windows and convenient controls for scrubbing.    
                                                              • Nice Player is available on Linux, MAC, and Windows operating systems. 

                                                              NiceVieoPlayerby xiaoyanger0825

                                                              Java doticonstar image 1995 doticonVersion:v2.2doticon
                                                              no licences License: No License (null)

                                                              IjkPlayer/MediaPlayer+TextureView,支持列表,完美切换全屏、小窗口的Android视频播放器

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        NiceVieoPlayerby xiaoyanger0825

                                                                        Java doticon star image 1995 doticonVersion:v2.2doticonno licences License: No License

                                                                        IjkPlayer/MediaPlayer+TextureView,支持列表,完美切换全屏、小窗口的Android视频播放器
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  phoenix    

                                                                                  • Phoenix is the name of a web development framework for Elixir programming.    
                                                                                  • Elixir, a functional programming language, is built on the Erlang VM.    
                                                                                  • Phoenix helps to make building scalable and maintainable web applications in Elixir.

                                                                                  phoenixby sucese

                                                                                  Java doticonstar image 1577 doticonVersion:0.0.13doticon
                                                                                  License: Permissive (Apache-2.0)

                                                                                  The one-stop solution for taking pictures / videos, picture / video selection, editing and compression on the Android platform.

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            phoenixby sucese

                                                                                            Java doticon star image 1577 doticonVersion:0.0.13doticon License: Permissive (Apache-2.0)

                                                                                            The one-stop solution for taking pictures / videos, picture / video selection, editing and compression on the Android platform.
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      VideoListPlayer    

                                                                                                      • It’s a Java library that allows you to load and play videos in a list view.    
                                                                                                      • It also supports automatic playback/pause while scrolling.    
                                                                                                      • VideoListPlayer has no vulnerabilities reported. 

                                                                                                      VideoListPlayerby waynell

                                                                                                      Java doticonstar image 1321 doticonVersion:1.4doticon
                                                                                                      License: Permissive (MIT)

                                                                                                      Play video in ListView or RecyclerView

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                VideoListPlayerby waynell

                                                                                                                Java doticon star image 1321 doticonVersion:1.4doticon License: Permissive (MIT)

                                                                                                                Play video in ListView or RecyclerView
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          AndroidVideoPlayer    

                                                                                                                          • AndroidVideoPlayer is a Java library typically used in Telecommunications, Media, etc.    
                                                                                                                          • AndroidVideoPlayer has no bugs or vulnerabilities.    
                                                                                                                          • AndroidVideoPlayer has a medium active ecosystem.

                                                                                                                          AndroidVideoPlayerby xiongwei-git

                                                                                                                          Java doticonstar image 1037 doticonVersion:Currentdoticon
                                                                                                                          License: Strong Copyleft (GPL-2.0)

                                                                                                                          Android Video Player , Like NetEaseNews Video Player.

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    AndroidVideoPlayerby xiongwei-git

                                                                                                                                    Java doticon star image 1037 doticonVersion:Currentdoticon License: Strong Copyleft (GPL-2.0)

                                                                                                                                    Android Video Player , Like NetEaseNews Video Player.
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              GiraffePlayer    

                                                                                                                                              • GiraffePlayer is an open-source project hosted on GitHub.    
                                                                                                                                              • It provides a simple and customizable video player for Android.    
                                                                                                                                              • GiraffePlayer supports a variety of video formats commonly used on the web. 

                                                                                                                                              GiraffePlayerby tcking

                                                                                                                                              Java doticonstar image 677 doticonVersion:0.8doticon
                                                                                                                                              License: Permissive (Apache-2.0)

                                                                                                                                              android video player base on ijkplayer

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        GiraffePlayerby tcking

                                                                                                                                                        Java doticon star image 677 doticonVersion:0.8doticon License: Permissive (Apache-2.0)

                                                                                                                                                        android video player base on ijkplayer
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  360-video-player-for-android    

                                                                                                                                                                  • 360-video-player-for-android is a Java library used in Video, Video Utils, and Unity applications.    
                                                                                                                                                                  • 360-video-player-for-android has a Non-SPDX License.
                                                                                                                                                                  Java doticonstar image 612 doticonVersion:Currentdoticon
                                                                                                                                                                  License: Others (Non-SPDX)

                                                                                                                                                                  Sample code for creating a 360 video player on Android. Creates an OpenGL ES scene that renders a sphere textured with video frames from MediaPlayer playback. Does not use the NDK. This is a simple example of the core elements of 360 video rendering and is not intended to be production quality code. The code may be unstable. This is won't be maintained.

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            360-video-player-for-androidby fbsamples

                                                                                                                                                                            Java doticon star image 612 doticonVersion:Currentdoticon License: Others (Non-SPDX)

                                                                                                                                                                            Sample code for creating a 360 video player on Android. Creates an OpenGL ES scene that renders a sphere textured with video frames from MediaPlayer playback. Does not use the NDK. This is a simple example of the core elements of 360 video rendering and is not intended to be production quality code. The code may be unstable. This is won't be maintained.
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      Player    

                                                                                                                                                                                      • It supports many formats and provides flexibility and extensibleness.    
                                                                                                                                                                                      • Its popular open-source multimedia player is also available for Android.    
                                                                                                                                                                                      • It supports a broad range of multimedia formats and has a user-friendly interface.

                                                                                                                                                                                      Playerby moneytoo

                                                                                                                                                                                      Java doticonstar image 863 doticonVersion:v0.144doticon
                                                                                                                                                                                      License: Permissive (Unlicense)

                                                                                                                                                                                      ▶ Simple and lightweight, yet polished and powerful Android video player based on ExoPlayer

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                Playerby moneytoo

                                                                                                                                                                                                Java doticon star image 863 doticonVersion:v0.144doticon License: Permissive (Unlicense)

                                                                                                                                                                                                ▶ Simple and lightweight, yet polished and powerful Android video player based on ExoPlayer
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          VRPlayer    

                                                                                                                                                                                                          • It allows playing all kinds of 4K videos without any trouble.    
                                                                                                                                                                                                          • It runs smoothly on iOS, Windows, and Android.    
                                                                                                                                                                                                          • It is compatible with numerous VR platforms such as Vive, Gear VR, Oculus, Cardboard, and many more.

                                                                                                                                                                                                          VRPlayerby wheat7

                                                                                                                                                                                                          Java doticonstar image 409 doticonVersion:Currentdoticon
                                                                                                                                                                                                          License: Permissive (Apache-2.0)

                                                                                                                                                                                                          VRPlayer is a simple but powerful local VR video player

                                                                                                                                                                                                          Support
                                                                                                                                                                                                            Quality
                                                                                                                                                                                                              Security
                                                                                                                                                                                                                License
                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                    VRPlayerby wheat7

                                                                                                                                                                                                                    Java doticon star image 409 doticonVersion:Currentdoticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                                    VRPlayer is a simple but powerful local VR video player
                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                          License
                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                              ParsingPlayer    

                                                                                                                                                                                                                              • This Player supports all stereo modes and has a recognition engine.    
                                                                                                                                                                                                                              • It also has HD, Full HD, and 4K playback capabilities.    
                                                                                                                                                                                                                              • It is compatible with numerous VR platforms such as Vive, Gear VR, Oculus, Cardboard, and many more. 

                                                                                                                                                                                                                              ParsingPlayerby TedaLIEz

                                                                                                                                                                                                                              Java doticonstar image 359 doticonVersion:v2.0.0doticon
                                                                                                                                                                                                                              License: Weak Copyleft (LGPL-2.1)

                                                                                                                                                                                                                              A video player playing videos from youku.com and other video sites.

                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                        ParsingPlayerby TedaLIEz

                                                                                                                                                                                                                                        Java doticon star image 359 doticonVersion:v2.0.0doticon License: Weak Copyleft (LGPL-2.1)

                                                                                                                                                                                                                                        A video player playing videos from youku.com and other video sites.
                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                Reuse

                                                                                                                                                                                                                                                  GiraffePlayer2    

                                                                                                                                                                                                                                                  • GiraffePlayer2 is a Java library typically used in Video and video Player applications.    
                                                                                                                                                                                                                                                  • GiraffePlayer2 has a low active ecosystem.    
                                                                                                                                                                                                                                                  • Its dependent libraries have no vulnerabilities reported.    
                                                                                                                                                                                                                                                  Java doticonstar image 356 doticonVersion:0.1.25doticon
                                                                                                                                                                                                                                                  License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                  out of the box android video player(support lazy load, ListView/RecyclerView and hight performance)

                                                                                                                                                                                                                                                  Support
                                                                                                                                                                                                                                                    Quality
                                                                                                                                                                                                                                                      Security
                                                                                                                                                                                                                                                        License
                                                                                                                                                                                                                                                          Reuse

                                                                                                                                                                                                                                                            GiraffePlayer2by tcking

                                                                                                                                                                                                                                                            Java doticon star image 356 doticonVersion:0.1.25doticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                            out of the box android video player(support lazy load, ListView/RecyclerView and hight performance)
                                                                                                                                                                                                                                                            Support
                                                                                                                                                                                                                                                              Quality
                                                                                                                                                                                                                                                                Security
                                                                                                                                                                                                                                                                  License
                                                                                                                                                                                                                                                                    Reuse

                                                                                                                                                                                                                                                                      YaPlayer    

                                                                                                                                                                                                                                                                      • It is an Android video player which supports MP4, AVI, WAV, and other formats.    
                                                                                                                                                                                                                                                                      • Its basis is on FFMpeg and VLC and can compile video encoding and decoding players.    
                                                                                                                                                                                                                                                                      • It has built files available, and it has low support. 

                                                                                                                                                                                                                                                                      YaPlayerby ymcao

                                                                                                                                                                                                                                                                      Java doticonstar image 265 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                      no licences License: No License (null)

                                                                                                                                                                                                                                                                      Android Video Player/Support MP4,AVI,WAV.../ HLS /With VLC(Refactoring....)

                                                                                                                                                                                                                                                                      Support
                                                                                                                                                                                                                                                                        Quality
                                                                                                                                                                                                                                                                          Security
                                                                                                                                                                                                                                                                            License
                                                                                                                                                                                                                                                                              Reuse

                                                                                                                                                                                                                                                                                YaPlayerby ymcao

                                                                                                                                                                                                                                                                                Java doticon star image 265 doticonVersion:Currentdoticonno licences License: No License

                                                                                                                                                                                                                                                                                Android Video Player/Support MP4,AVI,WAV.../ HLS /With VLC(Refactoring....)
                                                                                                                                                                                                                                                                                Support
                                                                                                                                                                                                                                                                                  Quality
                                                                                                                                                                                                                                                                                    Security
                                                                                                                                                                                                                                                                                      License
                                                                                                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                                                                                                          ImmortalPlayer    

                                                                                                                                                                                                                                                                                          • ImmortalPlayer is a Java library typically used in Media and Media Player applications.    
                                                                                                                                                                                                                                                                                          • It has built files available, and it has low support.    
                                                                                                                                                                                                                                                                                          • ImmortalPlayer releases are available to install and integrate.

                                                                                                                                                                                                                                                                                          ImmortalPlayerby master255

                                                                                                                                                                                                                                                                                          Java doticonstar image 205 doticonVersion:3.5.1doticon
                                                                                                                                                                                                                                                                                          no licences License: No License (null)

                                                                                                                                                                                                                                                                                          Free audio/video player component for Android with cache, FTP, peering, hw accel, background play, pseudo-streaming and more...

                                                                                                                                                                                                                                                                                          Support
                                                                                                                                                                                                                                                                                            Quality
                                                                                                                                                                                                                                                                                              Security
                                                                                                                                                                                                                                                                                                License
                                                                                                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                                                                                                    ImmortalPlayerby master255

                                                                                                                                                                                                                                                                                                    Java doticon star image 205 doticonVersion:3.5.1doticonno licences License: No License

                                                                                                                                                                                                                                                                                                    Free audio/video player component for Android with cache, FTP, peering, hw accel, background play, pseudo-streaming and more...
                                                                                                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                                                                                                          License
                                                                                                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                                                                                                              RTSP.Player.Android    

                                                                                                                                                                                                                                                                                                              • Its basis is on the VXG Player SDK for Android and supports streaming protocols such as RTSP, RTP, UDP, etc.    
                                                                                                                                                                                                                                                                                                              • It has features like digital zoom, picture shifting, and thumbnails for live streaming.    
                                                                                                                                                                                                                                                                                                              • It also supports M3U channel lists and has easy stream list control.    

                                                                                                                                                                                                                                                                                                              RTSP.Player.Androidby VideoExpertsGroup

                                                                                                                                                                                                                                                                                                              Java doticonstar image 199 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                              License: Others (Non-SPDX)

                                                                                                                                                                                                                                                                                                              RTSP player for Android / IP camera viewer

                                                                                                                                                                                                                                                                                                              Support
                                                                                                                                                                                                                                                                                                                Quality
                                                                                                                                                                                                                                                                                                                  Security
                                                                                                                                                                                                                                                                                                                    License
                                                                                                                                                                                                                                                                                                                      Reuse

                                                                                                                                                                                                                                                                                                                        RTSP.Player.Androidby VideoExpertsGroup

                                                                                                                                                                                                                                                                                                                        Java doticon star image 199 doticonVersion:Currentdoticon License: Others (Non-SPDX)

                                                                                                                                                                                                                                                                                                                        RTSP player for Android / IP camera viewer
                                                                                                                                                                                                                                                                                                                        Support
                                                                                                                                                                                                                                                                                                                          Quality
                                                                                                                                                                                                                                                                                                                            Security
                                                                                                                                                                                                                                                                                                                              License
                                                                                                                                                                                                                                                                                                                                Reuse

                                                                                                                                                                                                                                                                                                                                  alpha-movie    

                                                                                                                                                                                                                                                                                                                                  • alpha-movie is a Java library used in Video, Video Utils, and Unity applications.    
                                                                                                                                                                                                                                                                                                                                  • Alpha Movie is an Android video player library with alpha channel support.    
                                                                                                                                                                                                                                                                                                                                  • The Player encapsulates MediaPlayer and has its base functionality.   

                                                                                                                                                                                                                                                                                                                                  alpha-movieby pavelsemak

                                                                                                                                                                                                                                                                                                                                  Java doticonstar image 129 doticonVersion:Currentdoticon
                                                                                                                                                                                                                                                                                                                                  License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                                                                                                  Android video player with alpha channel (chroma key) support

                                                                                                                                                                                                                                                                                                                                  Support
                                                                                                                                                                                                                                                                                                                                    Quality
                                                                                                                                                                                                                                                                                                                                      Security
                                                                                                                                                                                                                                                                                                                                        License
                                                                                                                                                                                                                                                                                                                                          Reuse

                                                                                                                                                                                                                                                                                                                                            alpha-movieby pavelsemak

                                                                                                                                                                                                                                                                                                                                            Java doticon star image 129 doticonVersion:Currentdoticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                                                                                                                                                            Android video player with alpha channel (chroma key) support
                                                                                                                                                                                                                                                                                                                                            Support
                                                                                                                                                                                                                                                                                                                                              Quality
                                                                                                                                                                                                                                                                                                                                                Security
                                                                                                                                                                                                                                                                                                                                                  License
                                                                                                                                                                                                                                                                                                                                                    Reuse

                                                                                                                                                                                                                                                                                                                                                      FAQ

                                                                                                                                                                                                                                                                                                                                                      1. What is a Java video player library?    

                                                                                                                                                                                                                                                                                                                                                      A Java video player library is a set of tools, classes, and functions. Developers can use them to integrate video playback capabilities.    

                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                      2. Why use a video player library in Java?    

                                                                                                                                                                                                                                                                                                                                                      Video player libraries simplify the process of handling video playback in Java applications. They provide features such as codec support, streaming capabilities, and a user interface.    

                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                      3. Can I use VLC as a video player in a Java application?    

                                                                                                                                                                                                                                                                                                                                                      Yes, you can use VLC in a Java application through libraries like VLCJ. The VLCJ provides Java bindings for VLC, allowing you to embed VLC media players.    

                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                      4. How do I handle different video formats in Java?    

                                                                                                                                                                                                                                                                                                                                                      Video player libraries often come with built-in codec support for handling various videos. It Ensures that the chosen library supports the formats you intend to use.    

                                                                                                                                                                                                                                                                                                                                                          

                                                                                                                                                                                                                                                                                                                                                      5. Are there open-source Java video player libraries?    

                                                                                                                                                                                                                                                                                                                                                      Yes, many Java video player libraries are open-source. It includes JavaFX Media, VLCJ, and Xuggler.    

                                                                                                                                                                                                                                                                                                                                                      See similar Kits and Libraries