libvlc-android | Unofficial ready-to-use libVLC for Android | Media library

 by   josemmo Java Version: 3.2.5 License: GPL-3.0

kandi X-RAY | libvlc-android Summary

kandi X-RAY | libvlc-android Summary

libvlc-android is a Java library typically used in Media applications. libvlc-android has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has low support. However libvlc-android has 10 bugs. You can download it from GitHub.

Unofficial ready-to-use libVLC for Android
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              libvlc-android has a low active ecosystem.
              It has 8 star(s) with 0 fork(s). There are 1 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              libvlc-android has no issues reported. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of libvlc-android is 3.2.5

            kandi-Quality Quality

              libvlc-android has 10 bugs (0 blocker, 0 critical, 9 major, 1 minor) and 380 code smells.

            kandi-Security Security

              libvlc-android has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              libvlc-android code analysis shows 0 unresolved vulnerabilities.
              There are 1 security hotspots that need review.

            kandi-License License

              libvlc-android is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              libvlc-android releases are available to install and integrate.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 4732 lines of code, 661 functions and 29 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed libvlc-android and discovered the below as its top functions. This is intended to give you an instant insight into libvlc-android implemented functionality, and help decide if they suit your requirements.
            • Checks if the current device is a compatible CPU
            • Read the attributes
            • Read elf data from a file
            • Read section information
            • Invoked when an event is created
            • Insert a media from an event
            • Remove the media at the given index
            • Create a callback for the audio device
            • Sets the audio output device
            • Called when the surface is created
            • Initializes the media array
            • Creates the broadcast receiver
            • Force the current audio stream to be played
            • Enable or disable or disable or disable audio output
            • Called when the video layout is updated
            • Gets a meta
            • Called when the native release is released
            • Sets the audio output module
            • Set the callback that will be called when mediaRouter is loaded
            • Sets the native callback handle
            • Initializes the view
            • Creates the secondary display presentation
            • Create a Uri object from a String
            • Delegates events to the listeners
            • Invoked when event is changed
            • Load the vlcj libraries
            Get all kandi verified functions for this library.

            libvlc-android Key Features

            No Key Features are available at this moment for libvlc-android.

            libvlc-android Examples and Code Snippets

            libVLC for Android,Usage
            Javadot img1Lines of Code : 23dot img1License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            allprojects {
                repositories {
                    [...]
                    maven { url 'https://jitpack.io' }
                }
            }
            
            dependencies {
                implementation 'com.github.josemmo:libvlc-android:X.X.X'
            }
            
            splits {
                abi {
                    enable true
                    include "x86", "x86_64",   
            libVLC for Android,DEPRECATED
            Javadot img2Lines of Code : 1dot img2License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            implementation 'org.videolan.android:libvlc-all:{THE-TAG-NAME}'
              

            Community Discussions

            QUESTION

            Android LibVLC, take snapshot of RTSP stream without TextureView
            Asked 2020-Jan-06 at 03:01

            Consider using libVLC for Android, based on the official recommended way.

            I went through the compilation process without problems (but took some time).

            I'd like to have the snapshot functionality, but I've found some very old (2-3 years old) threads around which states that this feature is still not available (2016) at least "not out of the box' by this thread (2014).

            Snapshot functionality is available on other platforms.

            Also there are some solutions where they switch from SurfaceView to TextureView.

            However I prefer sticking to SurfaceView as TextureView brings some performance drawbacks (according to this topic).

            Also on an official android page it's stated:

            In API 24 and higher, it's recommended to implement SurfaceView instead of TextureView.

            In 2014 there were only 2 dependecies of the snapshot function based on the thread I've mentioned earlier:

            • enabling sout module
            • enabling png as encoder

            When looking the "VLC-Android" repository of VideoLAN, there is a file responsible for building libVLC.

            In line 396, sout module seems to be enabled by default.

            Before compilation I've enabled png as encoder in vlc/contrib/src/ffmpeg/rules.mak as pointed out in the forum.

            However there is still no function related to snapshot in either org.videolan.libvlc.MediaPlayer or in org.videolan.libvlc.VLCVideoLayout.

            The question is how can I create a snapshot (either into file, or into buffer) on Android with libVLC, without using TextureView? Update1:

            Fact1: Found the reason on why it's unavailable on Android. In VLC's core source tree, in file lib/video.c on line 145 there is the snapshot function with a massive FIXME warning:

            ...

            ANSWER

            Answered 2020-Jan-06 at 03:01

            A few ways to go about this...

            Good luck.

            Source https://stackoverflow.com/questions/59582719

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install libvlc-android

            You can download it from GitHub.
            You can use libvlc-android like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the libvlc-android component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            This library is built from the official videolan/vlc-android repository. Check this link for a sample project. For licensing, see VideoLAN FAQ.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/josemmo/libvlc-android.git

          • CLI

            gh repo clone josemmo/libvlc-android

          • sshUrl

            git@github.com:josemmo/libvlc-android.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link