vlc-android how to play http video?

*nix specific usage questions
playing
Blank Cone
Blank Cone
Posts: 36
Joined: 16 Mar 2011 10:18

vlc-android how to play http video?

Postby playing » 20 Mar 2011 13:06

i build vlc-android, and it can't play http video,did i need live555?
how to compiling vlc-android whit rtsp surpported. how to add live555 to (extras/contrib)??

thank you ..

playing
Blank Cone
Blank Cone
Posts: 36
Joined: 16 Mar 2011 10:18

Re: vlc-android how to play http video?

Postby playing » 21 Mar 2011 05:48

i chanage mLibVlc.readMedia(filePath); to
mLibVlc.readMedia("http://forum.ea3w.com/coll_ea3w/attach/ ... 832415.3gp");
and the app crash,this is my error message:

03-21 04:44:23.812: DEBUG/dalvikvm(60): GC_EXPLICIT freed 1363 objects / 71080 bytes in 119ms
03-21 04:44:23.821: INFO/WindowManager(60): Setting rotation to 1, animFlags=1
03-21 04:44:23.851: INFO/ActivityManager(60): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=2 layout=34 uiMode=17 seq=6}
03-21 04:44:24.101: VERBOSE/LibVLC(309): Reading http://forum.ea3w.com/coll_ea3w/attach/ ... 832415.3gp
03-21 04:44:24.141: DEBUG/vlc(309): [0x3111fc] main input debug: Creating an input for 'http://forum.ea3w.com/coll_ea3w/attach/ ... 832415.3gp'
03-21 04:44:24.231: DEBUG/vlc(309): [0x3111fc] main input debug: thread started
03-21 04:44:24.231: DEBUG/vlc(309): [0x3111fc] main input debug: using timeshift granularity of 50 MiB
03-21 04:44:24.261: DEBUG/vlc(309): [0x3111fc] main input debug: using timeshift path '/tmp'
03-21 04:44:24.261: DEBUG/vlc(309): [0x3111fc] main input debug: `http://forum.ea3w.com/coll_ea3w/attach/ ... 832415.3gp' gives access `http' demux `' path `forum.ea3w.com/coll_ea3w/attach/2008_10/12237832415.3gp'
03-21 04:44:24.271: DEBUG/vlc(309): [0x3111fc] main input debug: creating demux: access='http' demux='' location='forum.ea3w.com/coll_ea3w/attach/2008_10/12237832415.3gp' file='(null)'
03-21 04:44:24.301: DEBUG/vlc(309): [0x318b84] main demux debug: looking for access_demux module: 0 candidates
03-21 04:44:24.311: DEBUG/vlc(309): [0x318b84] main demux debug: no access_demux module matched "http"
03-21 04:44:24.361: DEBUG/vlc(309): [0x318b84] main demux debug: TIMER module_need() : 20.637 ms - Total 20.637 ms / 1 intvls (Avg 20.637 ms)
03-21 04:44:24.361: DEBUG/vlc(309): [0x3111fc] main input debug: creating access 'http' location='forum.ea3w.com/coll_ea3w/attach/2008_10/12237832415.3gp', path='(null)'
03-21 04:44:24.401: DEBUG/vlc(309): [0x2f91bc] main access debug: looking for access module: 2 candidates
03-21 04:44:24.441: DEBUG/vlc(309): [0x2f91bc] access_http access debug: http: server='forum.ea3w.com' port=80 file='/coll_ea3w/attach/2008_10/12237832415.3gp'
03-21 04:44:24.481: DEBUG/vlc(309): [0x2f91bc] main access debug: net: connecting to forum.ea3w.com port 80
03-21 04:44:24.921: DEBUG/Zygote(33): Process 309 terminated by signal (11)
03-21 04:44:24.951: INFO/ActivityManager(60): Process vlc.android (pid 309) has died.
03-21 04:44:24.991: INFO/WindowManager(60): WIN DEATH: Window{4500dea0 SurfaceView paused=false}
03-21 04:44:25.001: INFO/WindowManager(60): WIN DEATH: Window{44fbae58 vlc.android/vlc.android.VLC paused=false}
03-21 04:44:25.221: DEBUG/dalvikvm(60): GC_EXPLICIT freed 379 objects / 17544 bytes in 136ms
03-21 04:44:25.251: INFO/WindowManager(60): Setting rotation to 0, animFlags=1
03-21 04:44:25.301: INFO/ActivityManager(60): Config changed: { scale=1.0 imsi=310/260 loc=en_US touch=3 keys=2/1/2 nav=3/1 orien=1 layout=34 uiMode=17 seq=7}
03-21 04:44:25.561: INFO/UsageStats(60): Unexpected resume of com.android.launcher while already resumed in vlc.android
03-21 04:44:26.021: WARN/InputManagerService(60): Got RemoteException sending setActive(false) notification to pid 309 uid 10036
03-21 04:44:28.101: DEBUG/dalvikvm(60): GC_EXPLICIT freed 300 objects / 12872 bytes in 91ms

playing
Blank Cone
Blank Cone
Posts: 36
Joined: 16 Mar 2011 10:18

Re: vlc-android how to play http video?

Postby playing » 21 Mar 2011 06:47

i download live555,put it in ~/code, and run ./genMakefiles linux make to build live555

then chanage extras/package/android/configure.sh enable live555

sh ../configure --host=arm-eabi-linux --build=x86_64-unknown-linux \
--enable-static-modules \
--enable-debug \
--disable-qt4 \
--disable-skins2 \
--disable-mad \
--disable-mkv \
--enable-live555 \
--with-live555-tree=/home/administrator/code/live \
--disable-libgcrypt \
--disable-lua \
--enable-swscale \
--enable-avcodec \
--enable-avformat \
--disable-xcb \
--disable-dbus \
--disable-vcd \
--disable-v4l2 \
--disable-atmo \
--disable-vlc

and rebuild libvlcjni
=== Building libvlcjni ===
make[1]: Entering directory `/home/administrator/code/vlc-android/extras/package/android/vlc-android'
Compile thumb : vlcjni <= libvlcjni.c
Compile thumb : vlcjni <= vout.c
Compile thumb : vlcjni <= aout.c
Compile thumb : vlcjni <= thumbnailer.c
SharedLibrary : libvlcjni.so

but vlc-android can't play http video , anyone know how to solve it ? thanks

playing
Blank Cone
Blank Cone
Posts: 36
Joined: 16 Mar 2011 10:18

Re: vlc-android how to play http video?

Postby playing » 29 Mar 2011 09:14

this problem is port to here : viewtopic.php?f=13&t=89166


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests