Custom VLC app on android - no video
Posted: 09 Oct 2013 17:46
I've almost got a successfully working code sample of vlc for android.
I've been using the VideoPlayerActivity as an example.
Currently I have the surface displayed through the surfacehandler and I see a black video image background box (SurfaceView). I also have working audio.
However for some reason I cannot get any video.
Logcat says the following continuously:
yuv_rgb_neon: can't get video picture.
I think it's a very small issue in my code. I've tried virtually anything I can think of but I can't get it to work.
Can anyone point me in the right direction perhaps?
this is the core libvlc code i use: I think something is wrong with the init context parameter, but I can't seem to find out what it is.
(I have the same surface handler as the original VideoPlayerActivity located in org.videloan.vlc.gui.video)
Thanks in advance.
Bram
I've been using the VideoPlayerActivity as an example.
Currently I have the surface displayed through the surfacehandler and I see a black video image background box (SurfaceView). I also have working audio.
However for some reason I cannot get any video.
Logcat says the following continuously:
yuv_rgb_neon: can't get video picture.
I think it's a very small issue in my code. I've tried virtually anything I can think of but I can't get it to work.
Can anyone point me in the right direction perhaps?
this is the core libvlc code i use: I think something is wrong with the init context parameter, but I can't seem to find out what it is.
(I have the same surface handler as the original VideoPlayerActivity located in org.videloan.vlc.gui.video)
Code: Select all
mLibVLC = LibVLC.getInstance();
mLibVLC.setIomx(false);
mLibVLC.setSubtitlesEncoding("");
mLibVLC.setTimeStretching(false);
mLibVLC.setFrameSkip(true);
mLibVLC.setChroma("RV16");
mLibVLC.setVerboseMode(true);
mLibVLC.setAout(-1);
mLibVLC.setDeblocking(0);
mLibVLC.setNetworkCaching(0);
mLibVLC.init(this.getApplicationContext());
Bram