vlc-ports/android the problem of open MRL

VLC for Android and Chrome OS specific usage questions
dapengwang
Blank Cone
Blank Cone
Posts: 14
Joined: 24 Apr 2012 07:48

vlc-ports/android the problem of open MRL

Postby dapengwang » 15 May 2012 15:05

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~

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-ports/android the problem of open MRL

Postby Jean-Baptiste Kempf » 16 May 2012 01:51

The feature is not finished.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dapengwang
Blank Cone
Blank Cone
Posts: 14
Joined: 24 Apr 2012 07:48

Re: vlc-ports/android the problem of open MRL

Postby dapengwang » 16 May 2012 07:27

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-ports/android the problem of open MRL

Postby Jean-Baptiste Kempf » 16 May 2012 09:36

The java code.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dapengwang
Blank Cone
Blank Cone
Posts: 14
Joined: 24 Apr 2012 07:48

Re: vlc-ports/android the problem of open MRL

Postby dapengwang » 16 May 2012 10:14

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-ports/android the problem of open MRL

Postby Jean-Baptiste Kempf » 16 May 2012 12:53

Yes.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

casper624
New Cone
New Cone
Posts: 1
Joined: 18 May 2012 17:18

Re: vlc-ports/android the problem of open MRL

Postby casper624 » 18 May 2012 17:25

I can help on the Java code if needed. Just let me know what's missing there. Thanks for the great work!

muscariello
New Cone
New Cone
Posts: 6
Joined: 08 May 2012 12:51

Re: vlc-ports/android the problem of open MRL

Postby muscariello » 19 May 2012 19:23

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.

dapengwang
Blank Cone
Blank Cone
Posts: 14
Joined: 24 Apr 2012 07:48

Re: vlc-ports/android the problem of open MRL

Postby dapengwang » 21 May 2012 03:04

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-ports/android the problem of open MRL

Postby Jean-Baptiste Kempf » 21 May 2012 18:28

because it uses the audio view.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dapengwang
Blank Cone
Blank Cone
Posts: 14
Joined: 24 Apr 2012 07:48

Re: vlc-ports/android the problem of open MRL

Postby dapengwang » 23 May 2012 08:26

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).

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-ports/android the problem of open MRL

Postby Jean-Baptiste Kempf » 23 May 2012 14:48

worksforme
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dapengwang
Blank Cone
Blank Cone
Posts: 14
Joined: 24 Apr 2012 07:48

Re: vlc-ports/android the problem of open MRL

Postby dapengwang » 24 May 2012 08:52

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)

kick_2012
Blank Cone
Blank Cone
Posts: 13
Joined: 15 May 2012 14:42

Re: vlc-ports/android the problem of open MRL

Postby kick_2012 » 25 May 2012 04:59

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-ports/android the problem of open MRL

Postby Jean-Baptiste Kempf » 25 May 2012 12:29

You cannot do that.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: vlc-ports/android the problem of open MRL

Postby XilasZ » 25 May 2012 15:37

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.

dapengwang
Blank Cone
Blank Cone
Posts: 14
Joined: 24 Apr 2012 07:48

Re: vlc-ports/android the problem of open MRL

Postby dapengwang » 29 May 2012 09:29

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?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc-ports/android the problem of open MRL

Postby Jean-Baptiste Kempf » 29 May 2012 10:53

It can be compiled and it works fine.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

dapengwang
Blank Cone
Blank Cone
Posts: 14
Joined: 24 Apr 2012 07:48

Re: vlc-ports/android the problem of open MRL

Postby dapengwang » 29 May 2012 15:32

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.

wilfred27
New Cone
New Cone
Posts: 1
Joined: 12 Jun 2012 22:23

Re: vlc-ports/android the problem of open MRL

Postby wilfred27 » 12 Jun 2012 22:36

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.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: vlc-ports/android the problem of open MRL

Postby edwardw » 25 Jun 2012 01:00

Implemented in latest VLC Android git master.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 17 guests