Page 1 of 1
vlc-ports/android the problem of open MRL
Posted: 15 May 2012 15:05
by dapengwang
hello everyone,
i am an amateur,i compile the vlc media player for android, Firstly,thanks for their great work,
now i have one question, ask for your help:
i use my device to play RTSP streaming, but only audio without vedio, is this partial function under development or something wrong occured when i compile it?
thanks for your words~
Re: vlc-ports/android the problem of open MRL
Posted: 16 May 2012 01:51
by Jean-Baptiste Kempf
The feature is not finished.
Re: vlc-ports/android the problem of open MRL
Posted: 16 May 2012 07:27
by dapengwang
The feature is not finished.
thank you very much
i want to know that can the ‘libvlcjni.so’ deal with the rtsp streaming now?
in other words,what the unfinished part need is some other moudles or jni functions or just java code ?
forgive my poor english please
Re: vlc-ports/android the problem of open MRL
Posted: 16 May 2012 09:36
by Jean-Baptiste Kempf
The java code.
Re: vlc-ports/android the problem of open MRL
Posted: 16 May 2012 10:14
by dapengwang
The java code.
thank you very much,
i wonder if or not the function, within this project, that plays RTSP streamings enconded by H.264, could be run on Android 2.1.
what do u think? thanks.
Re: vlc-ports/android the problem of open MRL
Posted: 16 May 2012 12:53
by Jean-Baptiste Kempf
Yes.
Re: vlc-ports/android the problem of open MRL
Posted: 18 May 2012 17:25
by casper624
I can help on the Java code if needed. Just let me know what's missing there. Thanks for the great work!
Re: vlc-ports/android the problem of open MRL
Posted: 19 May 2012 19:23
by muscariello
I have tried the android VLC port and the only feature that does not work is the streaming.
I have tried on two tablets: galaxy 10.1(tegra2) and galaxy 8 (neon).
In both cases while the stream is delivered (video and audio flows through the network) the video is not displayed.
Audio is fine.
The message in the neon enabled device is "yuv_rgb_neon filter can't get output picture"
while for the tegra2 one is just "filter can't get output picture".
Any idea?
Thanks
Best.
Re: vlc-ports/android the problem of open MRL
Posted: 21 May 2012 03:04
by dapengwang
I have tried the android VLC port and the only feature that does not work is the streaming.
I have tried on two tablets: galaxy 10.1(tegra2) and galaxy 8 (neon).
In both cases while the stream is delivered (video and audio flows through the network) the video is not displayed.
Audio is fine.
The message in the neon enabled device is "yuv_rgb_neon filter can't get output picture"
while for the tegra2 one is just "filter can't get output picture".
Any idea?
Thanks
Best.
sorry,i get the same problem,and try to solve, but i can't quite understand why 'libvlc_media_get_tracks_info' returns 0 and 'LibVLC_hasVideoTrack' returns false?
My test stream is encoded by H.264 + AAC.
Re: vlc-ports/android the problem of open MRL
Posted: 21 May 2012 18:28
by Jean-Baptiste Kempf
because it uses the audio view.
Re: vlc-ports/android the problem of open MRL
Posted: 23 May 2012 08:26
by dapengwang
because it uses the audio view.
I see,thanks very much
the .so file can be directly used in android 2.1 project?
in Project.Properties, i change the "target=android-14" to "target=android-7" , and cut some features i dont't need, it seen OK in the IDE, but can't run in my device(andriod 2.1).
Re: vlc-ports/android the problem of open MRL
Posted: 23 May 2012 14:48
by Jean-Baptiste Kempf
worksforme
Re: vlc-ports/android the problem of open MRL
Posted: 24 May 2012 08:52
by dapengwang
worksforme
why can't load the iomx and vlcjni library for me
05-24 14:29:14.506: D/dalvikvm(2627): Trying to load lib /data/data/org.videolan.vlc/lib/libiomx-gingerbread.so 0x443f89e8
05-24 14:29:14.566: I/dalvikvm(2627): Unable to dlopen(/data/data/org.videolan.vlc/lib/libiomx-gingerbread.so): Cannot load library: reloc_library[1244]: 55 cannot locate '_ZN7android12MemoryDealerC1EjPKc'...
05-24 14:29:14.566: W/VLC/LibVLC(2627): Unable to load the iomx library: java.lang.UnsatisfiedLinkError: Library iomx-gingerbread not found
05-24 14:29:14.576: D/dalvikvm(2627): Trying to load lib /data/data/org.videolan.vlc/lib/libvlcjni.so 0x443f89e8
05-24 14:29:15.566: I/dalvikvm(2627): Unable to dlopen(/data/data/org.videolan.vlc/lib/libvlcjni.so): Cannot load library: reloc_library[1244]: 55 cannot locate 'eventfd'...
05-24 14:29:15.576: E/VLC/LibVLC(2627): Can't load vlcjni library: java.lang.UnsatisfiedLinkError: Library vlcjni not found
05-24 14:29:15.585: I/AndroidRuntime(2627): AndroidRuntime onExit calling exit(1)
Re: vlc-ports/android the problem of open MRL
Posted: 25 May 2012 04:59
by kick_2012
worksforme
hello,Jean-Baptiste Kempf.
what the version of the ndk to compile the libvlcjni.so that can work on android 2.1?
order to work on android 2.1
i change the file android/configure.h :
ANDROID_API=android-9 to ANDROID_API=android-5,
compiled again
configure:error:cannot find OpenSLES headers!
i find SLES just exists in platforms/android-9 or above
should i disable OpenSLES or do songthing others?
any suggestion?
thanks a lot.
Re: vlc-ports/android the problem of open MRL
Posted: 25 May 2012 12:29
by Jean-Baptiste Kempf
You cannot do that.
Re: vlc-ports/android the problem of open MRL
Posted: 25 May 2012 15:37
by XilasZ
worksforme
hello,Jean-Baptiste Kempf.
what the version of the ndk to compile the libvlcjni.so that can work on android 2.1?
order to work on android 2.1
i change the file android/configure.h :
ANDROID_API=android-9 to ANDROID_API=android-5,
compiled again
configure:error:cannot find OpenSLES headers!
i find SLES just exists in platforms/android-9 or above
should i disable OpenSLES or do songthing others?
any suggestion?
thanks a lot.
You shouldn't have to change anything to make it work.
OpenSLES headers are required to build, but OpenSLES is only used on devices that can use it.
Re: vlc-ports/android the problem of open MRL
Posted: 29 May 2012 09:29
by dapengwang
worksforme
hello,Jean-Baptiste Kempf.
what the version of the ndk to compile the libvlcjni.so that can work on android 2.1?
order to work on android 2.1
i change the file android/configure.h :
ANDROID_API=android-9 to ANDROID_API=android-5,
compiled again
configure:error:cannot find OpenSLES headers!
i find SLES just exists in platforms/android-9 or above
should i disable OpenSLES or do songthing others?
any suggestion?
thanks a lot.
You shouldn't have to change anything to make it work.
OpenSLES headers are required to build, but OpenSLES is only used on devices that can use it.
So you mean that vlc-ports/android cannot be compiled and then, run on Android 2.1?
Re: vlc-ports/android the problem of open MRL
Posted: 29 May 2012 10:53
by Jean-Baptiste Kempf
It can be compiled and it works fine.
Re: vlc-ports/android the problem of open MRL
Posted: 29 May 2012 15:32
by dapengwang
It can be compiled and it works fine.
i followed by the artical
http://wiki.videolan.org/AndroidCompile
and compiled successfully,but just works fine on android 2.2 and above.
what's wrong?
Nothing should be changed. right?
thanks for your great help.
Re: vlc-ports/android the problem of open MRL
Posted: 12 Jun 2012 22:36
by wilfred27
Hi Dapengwang,
I am also facing the same issues,
- Not able to stream video on phone (htc desire), but audio is working fine. and i have android 2.2+ aswell.
- But video and audio works fine from sdcard.
- Is it the problem only with RTP or also in HTTTP.?
- Is it a problem because of NEON?
please letme know, if you have sloved the issue. Thanks in advance.
Re: vlc-ports/android the problem of open MRL
Posted: 25 Jun 2012 01:00
by edwardw
Implemented in latest VLC Android git master.