Got it,it seems to work,thank you.
However,have you encountered the issue that playing fails on large(larger than 1GB) mp4 files,I've tried playing many large MP4 files on Android, but neither of them successes
The following code is the logcat dumped from eclipse,device is Samsung Nexus(Android 2.3),I'm not sure whether the subtile causes the problem,
Code: Select all
autodetected subtitle: /sdcard/123/The Rite ?曆誨撽雎?撣?srt with priority 3
is there any solution,thanks again.
Code: Select all
03-07 15:40:43.652: I/global(15836): Loaded time zone names for en_US in 500ms.
03-07 15:40:44.417: D/ITExplorer(16892): clickCommonFileProcess: fullPath = /sdcard/123/The.mp4
03-07 15:40:44.421: I/ActivityManager(109): Starting: Intent { act=android.intent.action.VIEW dat=file:///sdcard/123/The.mp4 typ=video/3gpp cmp=android/com.android.internal.app.ResolverActivity } from pid 16892
03-07 15:40:44.429: D/ITExplorer(16892): onPause: invoked
03-07 15:40:44.679: I/ActivityManager(109): Displayed android/com.android.internal.app.ResolverActivity: +251ms
03-07 15:40:45.152: I/ActivityManager(109): Start proc org.videolan.vlc for service org.videolan.vlc/.AudioService: pid=17102 uid=10109 gids={3003, 1007, 1015}
03-07 15:40:45.324: D/dalvikvm(17102): Trying to load lib /data/data/org.videolan.vlc/lib/libiomx-gingerbread.so 0x40513128
03-07 15:40:45.332: D/dalvikvm(17102): Added shared lib /data/data/org.videolan.vlc/lib/libiomx-gingerbread.so 0x40513128
03-07 15:40:45.332: D/dalvikvm(17102): No JNI_OnLoad found in /data/data/org.videolan.vlc/lib/libiomx-gingerbread.so 0x40513128, skipping init
03-07 15:40:45.332: D/dalvikvm(17102): Trying to load lib /data/data/org.videolan.vlc/lib/libvlcjni.so 0x40513128
03-07 15:40:45.363: D/dalvikvm(17102): Added shared lib /data/data/org.videolan.vlc/lib/libvlcjni.so 0x40513128
03-07 15:40:45.363: D/VLC/JNI/main(17102): JNI interface loaded.
03-07 15:40:45.371: V/VLC/LibVLC(17102): Initializing LibVLC
03-07 15:40:45.390: D/vlc(17102): using interface module "logger"
03-07 15:40:45.390: D/vlc(17102): looking for interface module: 0 candidates
03-07 15:40:45.390: D/vlc(17102): no interface module matched "hotkeys,none"
03-07 15:40:45.390: E/vlc(17102): no suitable interface module
03-07 15:40:45.390: I/VLC/JNI/main(17102): LibVLC initialized: 0xa7180
03-07 15:40:46.035: I/ActivityManager(109): Starting: Intent { act=android.intent.action.VIEW dat=file:///sdcard/123/The.mp4 typ=video/3gpp flg=0x3800000 cmp=org.videolan.vlc/.gui.video.VideoPlayerActivity } from pid 109
03-07 15:40:46.132: D/dalvikvm(17102): GC_EXTERNAL_ALLOC freed 79K, 49% free 2769K/5379K, external 2069K/2137K, paused 26ms
03-07 15:40:46.140: V/VLC/LibVLC(17102): Reading file:///sdcard/123/The.mp4
03-07 15:40:46.140: E/vlc(17102): option logo-x does not exist
03-07 15:40:46.140: E/vlc(17102): option logo-y does not exist
03-07 15:40:46.140: E/vlc(17102): option logo-delay does not exist
03-07 15:40:46.140: E/vlc(17102): option logo-repeat does not exist
03-07 15:40:46.144: E/vlc(17102): option logo-opacity does not exist
03-07 15:40:46.144: E/vlc(17102): option logo-position does not exist
03-07 15:40:46.144: I/VLC/JNI/main(17102): Got version: 10
03-07 15:40:46.144: D/vlc(17102): Creating an input for 'The.mp4'
03-07 15:40:46.152: D/vlc(17102): using timeshift granularity of 50 MiB, in path '/tmp'
03-07 15:40:46.152: D/vlc(17102): `file:///sdcard/123/The.mp4' gives access `file' demux `' path `/sdcard/123/The.mp4'
03-07 15:40:46.152: D/vlc(17102): creating demux: access='file' demux='' location='/sdcard/123/The.mp4' file='/sdcard/123/The.mp4'
03-07 15:40:46.152: D/vlc(17102): looking for access_demux module: 0 candidates
03-07 15:40:46.152: D/vlc(17102): no access_demux module matched "file"
03-07 15:40:46.152: D/vlc(17102): creating access 'file' location='/sdcard/123/The.mp4', path='/sdcard/123/The.mp4'
03-07 15:40:46.156: D/vlc(17102): looking for access module: 2 candidates
03-07 15:40:46.156: D/vlc(17102): opening file `/sdcard/123/The.mp4'
03-07 15:40:46.156: D/vlc(17102): using access module "filesystem"
03-07 15:40:46.156: D/vlc(17102): Using stream method for AStream*
03-07 15:40:46.156: D/vlc(17102): starting pre-buffering
03-07 15:40:46.156: D/vlc(17102): received first data after 0 ms
03-07 15:40:46.156: D/vlc(17102): pre-buffering done 1024 bytes in 0s - 7407 KiB/s
03-07 15:40:46.156: D/vlc(17102): looking for stream_filter module: 6 candidates
03-07 15:40:46.160: D/vlc(17102): no stream_filter module matching "any" could be loaded
03-07 15:40:46.160: D/vlc(17102): looking for stream_filter module: 0 candidates
03-07 15:40:46.160: D/vlc(17102): no stream_filter module matched "stream_filter_record"
03-07 15:40:46.160: D/vlc(17102): creating demux: access='file' demux='' location='/sdcard/123/The.mp4' file='/sdcard/123/The.mp4'
03-07 15:40:46.160: D/vlc(17102): looking for demux module: 46 candidates
03-07 15:40:46.160: D/vlc(17102): dumping root Box "root"
03-07 15:40:46.160: D/vlc(17102): file type box missing (assuming ISO Media file)
03-07 15:40:46.160: E/vlc(17102): MP4 plugin discarded (no moov,foov,moof box)
03-07 15:40:46.167: D/vlc(17102): TS module discarded (lost sync)
03-07 15:40:46.167: D/vlc(17102): trying url: /sdcard/123/The.mp4
03-07 15:40:46.175: D/vlc(17102): detected format: mov,mp4,m4a,3gp,3g2,mj2
03-07 15:40:46.503: D/dalvikvm(17102): GetFieldID: unable to find field Landroid/view/Surface;.mSurface:I
03-07 15:40:46.777: I/ActivityManager(109): Displayed org.videolan.vlc/.gui.video.VideoPlayerActivity: +738ms
03-07 15:40:46.894: D/dalvikvm(180): GC_EXTERNAL_ALLOC freed 208K, 68% free 4521K/13895K, external 4889K/4912K, paused 91ms
03-07 15:40:47.398: D/vlc(17102): selecting program id=0
03-07 15:40:47.402: D/vlc(17102): adding es: video codec = h264
03-07 15:40:47.402: D/vlc(17102): adding es: audio codec = mp4a
03-07 15:40:47.402: D/vlc(17102): AVFormat supported stream
03-07 15:40:47.402: D/vlc(17102): - format = mov,mp4,m4a,3gp,3g2,mj2 ((null))
03-07 15:40:47.402: D/vlc(17102): - start time = 0
03-07 15:40:47.402: D/vlc(17102): - duration = 6822314667
03-07 15:40:47.402: D/vlc(17102): using demux module "avformat"
03-07 15:40:47.406: D/vlc(17102): looking for a subtitle file in /sdcard/123
03-07 15:40:47.406: D/vlc(17102): autodetected subtitle: /sdcard/123/The Rite ?曆誨撽雎?撣?srt with priority 3
03-07 15:40:47.406: D/vlc(17102): `file:///sdcard/123/The%20Rite%20%E7%8F%BE%E4%BB%A3%E9%A9%85%E9%AD%94%E5%B8%AB.srt' gives access `file' demux `' path `/sdcard/123/The%20Rite%20%E7%8F%BE%E4%BB%A3%E9%A9%85%E9%AD%94%E5%B8%AB.srt'
03-07 15:40:47.406: D/vlc(17102): creating demux: access='file' demux='subtitle' location='/sdcard/123/The%20Rite%20%E7%8F%BE%E4%BB%A3%E9%A9%85%E9%AD%94%E5%B8%AB.srt' file='/sdcard/123/The Rite ?曆誨撽雎?撣?srt'
03-07 15:40:47.406: D/vlc(17102): looking for access_demux module: 0 candidates
03-07 15:40:47.406: D/vlc(17102): no access_demux module matched "file"
03-07 15:40:47.406: D/vlc(17102): creating access 'file' location='/sdcard/123/The%20Rite%20%E7%8F%BE%E4%BB%A3%E9%A9%85%E9%AD%94%E5%B8%AB.srt', path='/sdcard/123/The Rite ?曆誨撽雎?撣?srt'
03-07 15:40:47.406: D/vlc(17102): looking for access module: 2 candidates
03-07 15:40:47.406: D/vlc(17102): opening file `/sdcard/123/The Rite ?曆誨撽雎?撣?srt'
03-07 15:40:47.406: D/vlc(17102): using access module "filesystem"
03-07 15:40:47.406: D/vlc(17102): Using stream method for AStream*
03-07 15:40:47.406: D/vlc(17102): starting pre-buffering
03-07 15:40:47.410: D/vlc(17102): received first data after 1 ms
03-07 15:40:47.410: D/vlc(17102): pre-buffering done 1024 bytes in 0s - 504 KiB/s
03-07 15:40:47.410: D/vlc(17102): looking for stream_filter module: 6 candidates
03-07 15:40:47.410: D/vlc(17102): no stream_filter module matching "any" could be loaded
03-07 15:40:47.410: D/vlc(17102): looking for stream_filter module: 0 candidates
03-07 15:40:47.410: D/vlc(17102): no stream_filter module matched "stream_filter_record"
03-07 15:40:47.410: D/vlc(17102): creating demux: access='file' demux='subtitle' location='/sdcard/123/The%20Rite%20%E7%8F%BE%E4%BB%A3%E9%A9%85%E9%AD%94%E5%B8%AB.srt' file='/sdcard/123/The Rite ?曆誨撽雎?撣?srt'
03-07 15:40:47.410: D/vlc(17102): looking for demux module: 4 candidates
03-07 15:40:47.417: D/vlc(17102): UTF-16LE BOM detected
03-07 15:40:47.417: E/vlc(17102): iconv_open failed
03-07 15:40:47.421: I/DEBUG(16921): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-07 15:40:47.421: I/DEBUG(16921): Build fingerprint: 'google/soju/crespo:2.3.6/GRK39F/189904:user/release-keys'
03-07 15:40:47.421: I/DEBUG(16921): pid: 17102, tid: 17110 >>> org.videolan.vlc <<<
03-07 15:40:47.421: I/DEBUG(16921): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
03-07 15:40:47.421: I/DEBUG(16921): r0 00000027 r1 deadbaad r2 a0000000 r3 00000000
03-07 15:40:47.421: I/DEBUG(16921): r4 00000001 r5 00000000 r6 00332ec8 r7 003900a8
03-07 15:40:47.421: I/DEBUG(16921): r8 00000002 r9 466e5806 10 00000006 fp 00000002
03-07 15:40:47.421: I/DEBUG(16921): ip afd46668 sp 4496a788 lr afd191d9 pc afd15ca4 cpsr 60000030
03-07 15:40:47.421: I/DEBUG(16921): d0 676e69646f636e31 d1 002a7518002a8200
03-07 15:40:47.421: I/DEBUG(16921): d2 002ab5d8002abc0d d3 002aa600002aaf00
03-07 15:40:47.421: I/DEBUG(16921): d4 002a9780002a9f60 d5 002a8688002a90d8
03-07 15:40:47.421: I/DEBUG(16921): d6 002a8518002a85d8 d7 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d8 0000000000000000 d9 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d10 0000000000000000 d11 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d12 0000000000000000 d13 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d14 0000000000000000 d15 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d16 0000000000305ad0 d17 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d18 0000000000000000 d19 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d20 0000000000000000 d21 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d22 0000000000000000 d23 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d24 3f3452e53f340b7b d25 3f34e1653f349a33
03-07 15:40:47.421: I/DEBUG(16921): d26 0000000000000000 d27 0000000000000000
03-07 15:40:47.421: I/DEBUG(16921): d28 3f3504f3bf3504f3 d29 bf3504f33f3504f3
03-07 15:40:47.421: I/DEBUG(16921): d30 0000000000000000 d31 3f3504f33f3504f3
03-07 15:40:47.421: I/DEBUG(16921): scr 80000012
03-07 15:40:47.480: I/DEBUG(16921): #00 pc 00015ca4 /system/lib/libc.so
03-07 15:40:47.480: I/DEBUG(16921): #01 lr afd191d9 /system/lib/libc.so
03-07 15:40:47.480: I/DEBUG(16921): code around pc:
03-07 15:40:47.480: I/DEBUG(16921): afd15c84 2c006824 e028d1fb b13368db c064f8df
03-07 15:40:47.480: I/DEBUG(16921): afd15c94 44fc2401 4000f8cc 49124798 25002027
03-07 15:40:47.480: I/DEBUG(16921): afd15ca4 f7f57008 2106ec7c edd8f7f6 460aa901
03-07 15:40:47.484: I/DEBUG(16921): afd15cb4 f04f2006 95015380 95029303 e93ef7f6
03-07 15:40:47.484: I/DEBUG(16921): afd15cc4 462aa905 f7f62002 f7f5e94a 2106ec68
03-07 15:40:47.484: I/DEBUG(16921): code around lr:
03-07 15:40:47.484: I/DEBUG(16921): afd191b8 4a0e4b0d e92d447b 589c41f0 26004680
03-07 15:40:47.484: I/DEBUG(16921): afd191c8 686768a5 f9b5e006 b113300c 47c04628
03-07 15:40:47.484: I/DEBUG(16921): afd191d8 35544306 37fff117 6824d5f5 d1ef2c00
03-07 15:40:47.484: I/DEBUG(16921): afd191e8 e8bd4630 bf0081f0 00028344 ffffff88
03-07 15:40:47.484: I/DEBUG(16921): afd191f8 b086b570 f602fb01 9004460c a804a901
03-07 15:40:47.484: I/DEBUG(16921): stack:
03-07 15:40:47.484: I/DEBUG(16921): 4496a748 afd42664
03-07 15:40:47.484: I/DEBUG(16921): 4496a74c 000a7d18
03-07 15:40:47.484: I/DEBUG(16921): 4496a750 00000015
03-07 15:40:47.484: I/DEBUG(16921): 4496a754 afd182a1 /system/lib/libc.so
03-07 15:40:47.484: I/DEBUG(16921): 4496a758 afd4270c
03-07 15:40:47.484: I/DEBUG(16921): 4496a75c afd426b8
03-07 15:40:47.484: I/DEBUG(16921): 4496a760 00000000
03-07 15:40:47.484: I/DEBUG(16921): 4496a764 afd191d9 /system/lib/libc.so
03-07 15:40:47.484: I/DEBUG(16921): 4496a768 00000001
03-07 15:40:47.484: I/DEBUG(16921): 4496a76c 4496a79c
03-07 15:40:47.488: I/DEBUG(16921): 4496a770 00332ec8
03-07 15:40:47.488: I/DEBUG(16921): 4496a774 003900a8
03-07 15:40:47.488: I/DEBUG(16921): 4496a778 00000002
03-07 15:40:47.488: I/DEBUG(16921): 4496a77c afd184fb /system/lib/libc.so
03-07 15:40:47.488: I/DEBUG(16921): 4496a780 df002777
03-07 15:40:47.488: I/DEBUG(16921): 4496a784 e3a070ad
03-07 15:40:47.488: I/DEBUG(16921): #00 4496a788 00000002
03-07 15:40:47.488: I/DEBUG(16921): 4496a78c 466e5806
03-07 15:40:47.492: I/DEBUG(16921): 4496a790 00000006
03-07 15:40:47.492: I/DEBUG(16921): 4496a794 afd13ec7 /system/lib/libc.so
03-07 15:40:47.492: I/DEBUG(16921): 4496a798 00000006
03-07 15:40:47.492: I/DEBUG(16921): 4496a79c fffffbdf
03-07 15:40:47.492: I/DEBUG(16921): 4496a7a0 00332ec8
03-07 15:40:47.492: I/DEBUG(16921): 4496a7a4 00000006
03-07 15:40:47.492: I/DEBUG(16921): 4496a7a8 8177a1b4
03-07 15:40:47.492: I/DEBUG(16921): 4496a7ac 81275d54 /data/data/org.videolan.vlc/lib/libvlcjni.so
03-07 15:40:47.492: I/DEBUG(16921): 4496a7b0 00000006
03-07 15:40:47.492: I/DEBUG(16921): 4496a7b4 81237714 /data/data/org.videolan.vlc/lib/libvlcjni.so
03-07 15:40:47.492: I/DEBUG(16921): 4496a7b8 4496a800
03-07 15:40:47.492: I/DEBUG(16921): 4496a7bc 00000000
03-07 15:40:47.492: I/DEBUG(16921): 4496a7c0 00113e98
03-07 15:40:47.492: I/DEBUG(16921): 4496a7c4 00332a40
03-07 15:40:47.492: I/DEBUG(16921): 4496a7c8 00000001
03-07 15:40:47.496: I/DEBUG(16921): 4496a7cc 00000004
03-07 15:40:48.148: I/BootReceiver(109): Copying /data/tombstones/tombstone_03 to DropBox (SYSTEM_TOMBSTONE)
03-07 15:40:48.164: D/Zygote(74): Process 17102 terminated by signal (11)
03-07 15:40:48.187: E/InputDispatcher(109): channel '409c2848 org.videolan.vlc/org.videolan.vlc.gui.video.VideoPlayerActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
03-07 15:40:48.187: E/InputDispatcher(109): channel '409c2848 org.videolan.vlc/org.videolan.vlc.gui.video.VideoPlayerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
03-07 15:40:48.257: D/dalvikvm(109): GC_FOR_MALLOC freed 1207K, 39% free 7970K/13063K, external 5643K/6489K, paused 105ms
03-07 15:40:48.257: I/ActivityManager(109): Process org.videolan.vlc (pid 17102) has died.
03-07 15:40:48.261: I/WindowManager(109): WIN DEATH: Window{409f75e0 SurfaceView paused=false}
03-07 15:40:48.265: I/WindowManager(109): WIN DEATH: Window{409c2848 org.videolan.vlc/org.videolan.vlc.gui.video.VideoPlayerActivity paused=false}
03-07 15:40:48.269: W/ActivityManager(109): Scheduling restart of crashed service org.videolan.vlc/.AudioService in 20000ms
03-07 15:40:48.285: W/InputManagerService(109): Got RemoteException sending setActive(false) notification to pid 17102 uid 10109