vlc-android | A personal repo for work
kandi X-RAY | vlc-android Summary
kandi X-RAY | vlc-android Summary
A personal repo for work on vlc-android (not official)
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vlc-android
vlc-android Key Features
vlc-android Examples and Code Snippets
Community Discussions
Trending Discussions on vlc-android
QUESTION
at the first experience with android, I don't install android studio!
Just cloned a project and search according to see gradlew.bat file. but when I run it:
...ANSWER
Answered 2021-Dec-01 at 14:23I never use this method to compile my android project into an .apk I use an alternative method which I find easier than compiling .apk in the android project.
What I do is -
- Build the Android Project by clicking on the build icon.
- After the build is successful, Open File Explorer of on your PC.
- Then going to the file location - D:\User\Android Studio 4.0.1\Applications\SampleApp\app\build\outputs\apk\debug
- Now drag the .apk file to upload it anywhere!
- For testing it in mobile without connecting USB, you can Gmail yourself by uploading the file through Google Drive. And then downloading the .apk through Gmail in the Mobile Device.
NOTE : the file location I have mentioned in Point 3 is different than yours, because I always keep my projects in D: drive. It would be similar after you go to your application folder (after SampleApp folder).
QUESTION
Anyone know how to do this? I successfully compiled the changes I want into vlc-android but I cannot install it on the Fire stick. Some of the errors I got were for release: This package seems to be corrupted. Ok that's strange it works on the android TV emulator. I try the debug build and it gets past the corrupted error but it says the app is not for my TV. So I assume there are special steps involved to get everything set up so that android studio can compile for fire.
I would love some instructions on how to do this. Thank you
...ANSWER
Answered 2021-Oct-08 at 07:40So the issue I was having was I needed to use adb to connect to the fire stick instead of downloading the file and trying to install that way.
QUESTION
command to build:
...ANSWER
Answered 2020-Oct-28 at 02:47Use the docker image and follow CI steps.
QUESTION
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:01A few ways to go about this...
Here's a crossplatform thumbnailer example using libvlc https://code.videolan.org/mfkl/libvlcsharp-samples/blob/master/PreviewThumbnailExtractor.Skia/Program.cs It should work on Android without much editing since it doesn't use any OS specific feature in the script. Should be able to translate it to Java/Kotlin as well I guess.
There is a libvlc function that allows to take snapshot. Just go the time you want and call it. https://www.videolan.org/developers/vlc/doc/doxygen/html/group__libvlc__video.html#ga9b0a3870ce962aa0358050b2d5a59143
In VLC Android, the medialibrary now manages thumbnails.
LibVLC 4 now bundles a thumbnailer https://github.com/videolan/vlc/blob/d40eb012b10cc355ea9ad7a13eaf494b8e826d78/include/vlc/libvlc_media.h#L845
Good luck.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vlc-android
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page