Questions tagged [vlc-android]

66 questions
15
votes
0 answers

Canonical low-latency settings for VLC for Android (3.0+)

I've recently started using libVLC in an Android application with the intent of replacing a commercial SDK that we're paying a lot for, but not seeing the results that we'd hoped for. The application requires viewing RTSP streams at as-close-to…
SJoshi
  • 1,866
  • 24
  • 47
5
votes
1 answer

libvlc Android: unable to play HTTP network streams

I'm currently facing an issue trying to play network stream using VLC for Android. I have basically followed this guide, https://wiki.videolan.org/AndroidCompile/, cloned the repo and built: everything works fine, I can run my application and play…
fasteque
  • 4,309
  • 8
  • 38
  • 50
4
votes
2 answers

Embed LibVLC into my android app is not playing video, only audio is being played

After a 3 days journey, I finally got libvlc-3.0.0-2.1.0.aar compiled for embedding VLC player into my Android (tv) app. After adapting the LibVLC Android Sample into my project I finally run the app. Problem: Only audio is being played. Video…
Eduardo Pinheiro
  • 3,409
  • 3
  • 30
  • 39
4
votes
2 answers

vlc-android-sdk - cannot view RTSP live video

I've been working on an Android application that shows live streaming video via RTSP. Assuming I have a well-functioning RTSP server that passes h264 packets, and to view the stream we should connect to rtsp://1.2.3.4:5555/stream So I tried to use…
DanielY
  • 1,141
  • 30
  • 58
3
votes
0 answers

vlc-android: Audio filter audio normalization (normvol) is not working

When trying to normalize the audio(mov file) using vlc-android, it seems to not work. Below is the command which was added to options:| options.add("--audio-filter=normvol") options.add("--norm-buff-size=20") options.add("--norm-max-level=4") After…
rajkris
  • 1,775
  • 1
  • 9
  • 16
3
votes
1 answer

Compile VLC Android fail "You must define ANDROID_NDK, ANDROID_SDK before starting."

I get lastest code and step by step from page $ sh compile.sh -a x84 You must define ANDROID_NDK, ANDROID_SDK before starting. They must point to your NDK and SDK directories. I pointed NDK and SDK on the terminal on Gnome CentOS 7
user1951211
3
votes
0 answers

You need the NDKr9 or later

I tried to build android-vlc and ijkPlayer using Git, and after following the steps and making the required sdk and ndk exports for each one, both lead me to the same error message through Git-Bash which is: You need NDKr9 or later I have NDKr9b…
Muhammed Refaat
  • 8,914
  • 14
  • 83
  • 118
2
votes
0 answers

Live streaming delay in playing around 10 to 15 sec in Android Mobile App

I have used StreamAxia SDK for broadcast live stream. They are giving "rtmp" url support and its works perfectly fine, within 1 or 2 sec it will start broadcast. Now, for CDN I have used free version Red5, When I play this URL in VLC player in…
vyas dipak
  • 109
  • 2
  • 15
2
votes
1 answer

How to play youtube videos in android app using libvlc-all:3.2.0?

I was creating an android player to play youtube live streams. My requirement is to play the stream in VLC org.videolan.libvlc.util.VLCVideoLayout. I followed the sample aplication https://code.videolan.org/videolan/libvlc-android-samples. When I…
Prince Francis
  • 2,995
  • 1
  • 14
  • 22
2
votes
1 answer

Getting current frame from android vlc media player

I'm using VLC-Android in order to play H264 RTSP live stream in my android application, the following code successfully renders the stream video onto the surface view: MediaPlayer mMediaPlayer = new MediaPlayer(VLCInstance.get()); SurfaceView…
peter bence
  • 782
  • 3
  • 14
  • 34
2
votes
3 answers

Using LibVLC compiled for android to display DVB subtitles from an MPEG2 stream

Using the following code I was able to play back a udp stream (mpeg2 ts) which has 3 tracks (video, audio and dvb subtitles), but I am trying to retrieve the subtitle track and display it, i couldn't find any clear documentation on how to do it. …
nadine87
  • 500
  • 5
  • 17
2
votes
1 answer

Unable to Set Subtitles with VLC for Android

I'm having trouble setting the subtitles location when starting the VideoPlayerActivity of VLC for Android. I am targeting API 27 and using a FileProvider to allow access to files. According to the documentation here, if you set the,…
masterwok
  • 4,868
  • 4
  • 34
  • 41
2
votes
1 answer

open vlc on android from shell with arguments

I followed this guide and successfully compiled vlc for android. I added my own codec "my_codec" and installed vlc with ./gradlew installVanillaX86Debug Now I want to force vlc to use my code. on pc the command is ./vlc --codec my_codec,none…
dafnahaktana
  • 837
  • 7
  • 21
2
votes
0 answers

libvlc for Android: video decryption 'on the fly'

In my Android app I have encrypted video files saved in the app's directory (in the filesystem). My goal is to play the video without its previous decryption and saving decrypted file in the filesystem. Is it possible to do it with libvcl library…
Michał
  • 655
  • 6
  • 19
1
vote
0 answers

how to display .mkv with subtitles using better player or chewie in flutter?

Currently, I have managed to display movies with the .mkv extension, but these movies have several languages ​​or subtitles, in other video players there is the ability to switch between audio and subtitles, but nothing is displayed in my video…
Mohammad
  • 36
  • 1
  • 8
1
2 3 4 5