Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when playing .wmv video #24

Closed
wenwenwenzq opened this issue Jun 24, 2021 · 11 comments
Closed

Crash when playing .wmv video #24

wenwenwenzq opened this issue Jun 24, 2021 · 11 comments
Labels
enhancement New feature or request playback

Comments

@wenwenwenzq
Copy link

Required Info Descripttion
Host Operating System & Version {Ubuntu 20 }
Branch {kantv}
Android version {10}
Android Studio Version {4.2.1}
NDK Version {r14b}
Xcode Version {10.x/12.x}
Language {C}
Section {wmv}

Issue Description:
But the program crashes when I try to play a video in .wmv format

question:
why does it crash?

feature:
How to solve the crash problem and fix the can’t play wmv format?

How to reproduce the issue:
Steps:
1.This is the video link I tested and needs to be decompressed after downloading

2.Choose local download http://down1.5156edu.com/showzipdown_wap.php?id=33641

3.Then play the 黄河视频.wmv inside, you will find that the program crashes and the Android studio reports a jni error

logs:

|  Process Name: 'com.'
Thread Name: 'ff_read'
pid: 19781, tid: 20104 >>> com. <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0000000000000008
x0 0000000000000000 x1 0000007ad4d7a970 x2 000000000000066f x3 0000000000000002
x4 0000000000000000 x5 0000007ad4d7b000 x6 0000007ad33896b0 x7 ffffff80ffffffd8
x8 0000000000000007 x9 0000007ad510b668 x10 0101010101010101 x11 0000000000000000
x12 0000000000000000 x13 0000000000000004 x14 0000000000000008 x15 ffffffffffffffff
x16 0000007ad5171290 x17 0000007bb53fc46c x18 0000000000000009 x19 0000007b33819760
x20 0000007b18825000 x21 0000007a88f0f000 x22 0000000000000000 x23 0000007ad4d7a000
x24 0000007ad4d7a000 x25 0000007ad4d7ac00 x26 0000007ad4d7a970 x27 000000000000c350
x28 000000000000c350 x29 0000007ad3389b30 x30 0000007ad461b8cc
sp 0000007ad33896e0 pc 0000007ad461b92c pstate 00000000a0000000
v0 000000000000000017380dac60d358ec v1 012f2f2f2f2f2f2f2f2f2f2f2f2f2f2f
v2 656465746f6d65722e676f6c7768002f v3 00000000000000000000000000000000
v4 00000000000000000000000000000800 v5 00000000000000000000000000000000
v6 00000000000000004000000000000000 v7 80200802802008028020080280200802
v8 00000000000000003f40624dd2f1a9fc v9 00000000000000003eb0c6f7a0b5ed8d
v10 00000000000000003ff0000000000000 v11 00000000000000000000000000000000
v12 00000000000000000000000000000000 v13 00000000000000000000000000000000
v14 00000000000000000000000000000000 v15 00000000000000000000000000000000
v16 40100401401004014010040140100401 v17 00000000400000080000400800000000
v18 00000000000000004000000000000800 v19 0000000000000000bd2ef35793c76730
v20 00000000000000003ff0002b8b263fc3 v21 0000000000000000bfe62e42fefa3800
v22 0000000000000000ffffffffffffffff v23 ffffffffffffffffffffffffffffffff
v24 014a006a006a006a006a014a3fe0402a v25 40004000400040004000400040004000
v26 0149006900690069006901493fdf4029 v27 0000000000000000050101010105ffff
v28 0000000000000000050101010105ffff v29 0000000000000000050101010105ffff
v30 ffffffffffffffffffffffffffffffff v31 00000000000000000000000072dd270c
fpsr 08000012 fpcr 00000000
#0 pc 000000000028d92c /data/app/com.-Ujrj-Ub-Y4BDIXv-ZahrCA==/lib/arm64/libijkplayer.so
#1 pc 000000000028d8c8 /data/app/com.-Ujrj-Ub-Y4BDIXv-ZahrCA==/lib/arm64/libijkplayer.so

memory near x1:
0000007ad4d7a930 0804000e0f000000 ff73000500020000 ..............s.
0000007ad4d7a940 0009ff73ff730007 76206765706d4646 ..s.s...FFmpeg v
0000007ad4d7a950 6e206e6f69737265 672d38322d342e34 ersion n4.4-28-g
0000007ad4d7a960 3333346566653730 0000000000633937 07efe43379c.....
0000007ad4d7a970 6172665f64616572 7265746e695f656d read_frame_inter
0000007ad4d7a980 00000000006c616e 3736353433323130 nal.....01234567
0000007ad4d7a990 6665646362613938 3736353433323130 89abcdef01234567
0000007ad4d7a9a0 4645444342413938 28106e6701000000 89ABCDEF....gn.(
0000007ad4d7a9b0 18710c333220d4a6 8c38861919106288 .. 23.q..b....8.
0000007ad4d7a9c0 376f4e5602213044 de7cf36b81bff9cd D0!.VNo7....k.|.
0000007ad4d7a9d0 7e22a0053cd36c6e 048c13000c00fc5f nl.<.."_.......
0000007ad4d7a9e0 0001000300000504 0000008432000300 ...........2....
0000007ad4d7a9f0 1231ee6801000000 0000000000000011 ....h.1.........
0000007ad4d7aa00 29107a6701000000 63c619332220d4b6 ....gz.).. "3..c
0000007ad4d7aa10 1933ce9811012123 7e7d3db956022118 #!....3..!.V.=}
0000007ad4d7aa20 b8089ef1113fe34f e2270278c043548c O.?......TC.x.'.

memory near x5:
0000007ad4d7afc0 656c62616e652d2d 6b726f7774656e2d --enable-network
0000007ad4d7afd0 62617369642d2d20 32617678642d656c --disable-dxva2
0000007ad4d7afe0 62617369642d2d20 69706161762d656c --disable-vaapi
0000007ad4d7aff0 62617369642d2d20 75617064762d656c --disable-vdpau
0000007ad4d7b000 62617369642d2d20 646f636e652d656c --disable-encod
0000007ad4d7b010 69642d2d20737265 77682d656c626173 ers --disable-hw
0000007ad4d7b020 2d20736c65636361 656c62617369642d accels --disable
0000007ad4d7b030 2073726578756d2d 6c62617369642d2d -muxers --disabl
0000007ad4d7b040 6563697665642d65 617369642d2d2073 e-devices --disa
0000007ad4d7b050 6e6f63692d656c62 62616e652d2d2076 ble-iconv --enab
0000007ad4d7b060 6f746f72702d656c 6e7973613d6c6f63 le-protocol=asyn
0000007ad4d7b070 617369642d2d2063 756e696c2d656c62 c --disable-linu
0000007ad4d7b080 2d20667265702d78 2d656c62616e652d x-perf --enable-
0000007ad4d7b090 6c6f636f746f7270 206f74707972633d protocol=crypto
0000007ad4d7b0a0 656c62616e652d2d 726578756d65642d --enable-demuxer
0000007ad4d7b0b0 61645f6d6265773d 66696e616d5f6873 =webm_dash_manif

memory near x6:
0000007ad3389670 0000000000000800 0000000000000000 ................
0000007ad3389680 0000000000000000 0000000000000000 ................
0000007ad3389690 4000000000000000 0000000000000000 .......@........
0000007ad33896a0 8020080280200802 8020080280200802 .. ... ... ... .
0000007ad33896b0 0000007ad480d5c8 0000007ad4dabb7b ....z...{...z...
0000007ad33896c0 0000007ad46a8620 0000000000000080 .j.z...........
0000007ad33896d0 085d505a722b7a00 000000000003767c .z+rZP].|v......
0000007ad33896e0 0000000000000000 0000007a88d3bbe0 ............z...
0000007ad33896f0 000000000000c350 0000000000000000 P...............
0000007ad3389700 0000000000000002 0000000000000000 ................
0000007ad3389710 0000000000000000 0000000000000014 ................
0000007ad3389720 0000007a88f0f000 0000007a88f0f4c8 ....z.......z...
0000007ad3389730 000000000000c350 000000000000c350 P.......P.......
0000007ad3389740 0000007ad461f4b8 0000007b33819760 ..a.z...`..3{...
0000007ad3389750 0000007b18825200 0000007bb542e290 .R..{.....B.{...
0000007ad3389760 0000007ad338a020 0000000000000000 .8.z...........

memory near x9:
0000007ad510b628 0000000000000000 0000000000000000 ................
0000007ad510b638 0000000100015000 0000007ad4dabb69 .P......i...z...
0000007ad510b648 0000000000000000 0000000000000003 ................
0000007ad510b658 0000000000000000 0000000000000000 ................
0000007ad510b668 0000000100015001 0000007ad4d6c134 .P......4...z...
0000007ad510b678 0000000000000000 0000000000000003 ................
0000007ad510b688 0000000000000000 0000000000000000 ................
0000007ad510b698 0000000100015002 0000007ad4d7e4bf .P..........z...
0000007ad510b6a8 0000000000000000 0000000000000003 ................
0000007ad510b6b8 0000000000000000 0000000000000000 ................
0000007ad510b6c8 0000000100015003 0000007ad4d7c87a .P......z...z...
0000007ad510b6d8 0000000000000000 0000000000000003 ................
0000007ad510b6e8 0000000000000000 0000000000000000 ................
0000007ad510b6f8 0000000100015004 0000007ad4d70dee .P..........z...
0000007ad510b708 0000000000000000 0000000000000007 ................
0000007ad510b718 0000000000000000 0000000000000000 ................

memory near x10:
0101010101010100 ---------------- ---------------- ................

memory near x16:
0000007ad5171250 0000007b23caaf1c 0000007bb541fac0 ...#{.....A.{...
0000007ad5171260 0000007b23cb3c7c 0000007b23cac38c |<.#{......#{...
0000007ad5171270 0000007b23d4a088 0000007bb540d470 ...#{...p.@.{...
0000007ad5171280 0000007bb4679e38 0000007bb4662960 8.g.{...)f.{... 0000007ad5171290 0000007bb53fc46c 0000007bb4678ea4 l.?.{.....g.{... 0000007ad51712a0 0000007b23cb02c0 0000007bb540e0e0 ...#{.....@.{... 0000007ad51712b0 0000007bb540cc90 0000007b23cabb70 ..@.{...p..#{... 0000007ad51712c0 0000007bb53cef78 0000007b23cb0780 x.<.{......#{... 0000007ad51712d0 0000007b23cac6a8 0000007bb53fd2b8 ...#{.....?.{... 0000007ad51712e0 0000007bb540ca90 0000007bb53ca138 ..@.{...8.<.{... 0000007ad51712f0 0000007b23a1bb78 0000007b23cabfb0 x..#{......#{... 0000007ad5171300 0000007bb540c970 0000007bb540dddc p.@.{.....@.{... 0000007ad5171310 0000007bb5421180 0000007bb892926c ..B.{...l...{... 0000007ad5171320 0000007b23836090 0000007bb4679700 ..#{.....g.{...
0000007ad5171330 0000007b23cb3dd4 0000007bb53db3c0 .=.#{.....=.{...
0000007ad5171340 0000007b23cabb10 0000007b23cac3c4 ...#{......#{...

memory near x17:
0000007bb53fc428 f94012609400a026 9400a023b4000040 &....@.@...#... 0000007bb53fc438 b4000040f9401660 f9403e609400a020 .@.@... ...>@. 0000007bb53fc448 9400a01db4000040 aa1303e0a9417bfd @........{A..... 0000007bb53fc458 1400a019f84207f3 f84207f3a9417bfd ..B......{A...B. 0000007bb53fc468 a9bc5ff8d65f03c0 a9024ff4a90157f6 .......W...O.. 0000007bb53fc478 9100c3fda9037bfd aa0403f3b4000262 .{......b....... 0000007bb53fc488 aa0203f7aa0303f4 aa0003f6aa0103f5 ................ 0000007bb53fc498 9b145518d341fee8 aa1803e1aa1603e0 ..A..U.......... 0000007bb53fc4a8 34000120d63f0260 1a9fd7e87100001f .?. ..4...q....
0000007bb53fc4b8 cb0802e88b140309 9a95c135d341fd17 ..........A.5...
0000007bb53fc4c8 aa1f03f8b5fffe97 a9424ff4a9437bfd .........{C..OB.
0000007bb53fc4d8 aa1803e0a94157f6 d65f03c0a8c45ff8 .WA...........
0000007bb53fc4e8 910de000f0000140 fc1e0fe81400a518 @...............
0000007bb53fc4f8 a9017bfdf90007f3 aa0003f3910043fd .....{...C......
0000007bb53fc508 7d4002609400005a 7e61d800128005e0 Z....@}......a~ 0000007bb53fc518 4ea01c089400a512 321b6be07d400660 .......N.@}.k.2

memory near x19:
0000007b33819720 0000000000000000 0000000000000000 ................
0000007b33819730 0000000000000000 0000000000000000 ................
0000007b33819740 0000000000000000 ffffffffffffffff ................
0000007b33819750 0000000000000000 0000007d7d3b3165 ........e1;}}...
0000007b33819760 0000007a88eba680 8000000000000000 ....z...........
0000007b33819770 0000000000000000 0000007a88d3e000 ............z...
0000007b33819780 0000000000000280 0000000000000001 ................
0000007b33819790 0000000000000000 0000000000000000 ................
0000007b338197a0 0000000000000000 0000000000007b6c ........l{......
0000007b338197b0 0000000000000000 0000000000000000 ................
0000007b338197c0 0000007bb7d5c9a8 0000000000000002 ....{...........
0000007b338197d0 0000000000000000 0000000000000000 ................
0000007b338197e0 0000000000000000 0000000000000000 ................
0000007b338197f0 0000000000000000 0000000000000000 ................
0000007b33819800 0000000000000000 3df8f8fa00000000 ...............=
0000007b33819810 4080000000000000 0000000000000d01 .......@........

memory near x20:
0000007b18824fc0 0000000000000000 0000000000000000 ................
0000007b18824fd0 0000000000000000 0000000000000000 ................
0000007b18824fe0 0000000000000000 0000000000000000 ................
0000007b18824ff0 0000000000000000 0000000000000000 ................
0000007b18825000 0000000100000000 0000007a88c83700 .........7..z...
0000007b18825010 0000000000000000 000003e800000001 ................
0000007b18825020 8000000000000000 000000000001be18 ................
0000007b18825030 0000000000000000 0000000000000000 ................
0000007b18825040 0000000100000000 0000007a89296ab0 .........j).z...
0000007b18825050 0000000000000000 0000000000000000 ................
0000007b18825060 0000000000000000 0000000000000000 ................
0000007b18825070 0000000000000000 0000000000000000 ................
0000007b18825080 0000000000000000 0000000000000000 ................
0000007b18825090 0000000000000000 0000000000000000 ................
0000007b188250a0 0000000000000000 0000000000000000 ................
0000007b188250b0 0000000000000000 0000000200000000 ................

memory near x21:
0000007a88f0efc0 0000000000000000 0000000000000000 ................
0000007a88f0efd0 0000000000000000 0000000000000000 ................
0000007a88f0efe0 0000000000000000 0000000000000000 ................
0000007a88f0eff0 0000000000000000 0000000000000000 ................
0000007a88f0f000 0000007ad50fd030 0000007ad5177320 0...z... s..z...
0000007a88f0f010 0000000000000000 0000007ad317d000 ............z...
0000007a88f0f020 0000007b22b940c0 0000000200000000 .@."{...........
0000007a88f0f030 0000007a89296a70 656761726f74732f pj).z.../storage
0000007a88f0f040 6574616c756d652f 4d4943442f302f64 /emulated/0/DCIM
0000007a88f0f050 2f6172656d61432f a7e8b3b2e684bbe9 /Camera/........
0000007a88f0f060 6d772e3191a2e986 0000000000000076 ....1.wmv.......
0000007a88f0f070 0000000000000000 0000000000000000 ................
0000007a88f0f080 0000000000000000 0000000000000000 ................
0000007a88f0f090 0000000000000000 0000000000000000 ................
0000007a88f0f0a0 0000000000000000 0000000000000000 ................
0000007a88f0f0b0 0000000000000000 0000000000000000 ................

memory near x23:
0000007ad4d79fc0 0000000000000000 0000000000000000 ................
0000007ad4d79fd0 0000000000000000 0000000000000000 ................
0000007ad4d79fe0 0000000000000000 0000000000000000 ................
0000007ad4d79ff0 0000000000000000 0000000000000000 ................
0000007ad4d7a000 0000000000000000 0000000000000000 ................
0000007ad4d7a010 0000000000000000 0000000000000000 ................
0000007ad4d7a020 0000000000000000 0000000000000000 ................
0000007ad4d7a030 0000000000000000 0000000000000000 ................
0000007ad4d7a040 0000000000000000 0000000000000000 ................
0000007ad4d7a050 0000000000000000 0000000000000000 ................
0000007ad4d7a060 0000000000000000 0000000000000000 ................
0000007ad4d7a070 0000000000000000 0000000000000000 ................
0000007ad4d7a080 0000000000000000 0000000000000000 ................
0000007ad4d7a090 0000000000000000 0000000000000000 ................
0000007ad4d7a0a0 0000000000000000 0000000000000000 ................
0000007ad4d7a0b0 0000000000000000 0000000000000000 ................

memory near x24:
0000007ad4d79fc0 0000000000000000 0000000000000000 ................
0000007ad4d79fd0 0000000000000000 0000000000000000 ................
0000007ad4d79fe0 0000000000000000 0000000000000000 ................
0000007ad4d79ff0 0000000000000000 0000000000000000 ................
0000007ad4d7a000 0000000000000000 0000000000000000 ................
0000007ad4d7a010 0000000000000000 0000000000000000 ................
0000007ad4d7a020 0000000000000000 0000000000000000 ................
0000007ad4d7a030 0000000000000000 0000000000000000 ................
0000007ad4d7a040 0000000000000000 0000000000000000 ................
0000007ad4d7a050 0000000000000000 0000000000000000 ................
0000007ad4d7a060 0000000000000000 0000000000000000 ................
0000007ad4d7a070 0000000000000000 0000000000000000 ................
0000007ad4d7a080 0000000000000000 0000000000000000 ................
0000007ad4d7a090 0000000000000000 0000000000000000 ................
0000007ad4d7a0a0 0000000000000000 0000000000000000 ................
0000007ad4d7a0b0 0000000000000000 0000000000000000 ................

memory near x25:
0000007ad4d7abc0 030000282020603c 2094010300000800 <` (..........
0000007ad4d7abd0 4833ce6801000000 00000000000000d0 ....h.3H........
0000007ad4d7abe0 74616d726f667661 74735f646e69665f avformat_find_st
0000007ad4d7abf0 666e695f6d616572 000000000000006f ream_info.......
0000007ad4d7ac00 726f66766162696c 6c6974752f74616d libavformat/util
0000007ad4d7ac10 626f727000632e73 6572747320676e69 s.c.probing stre
0000007ad4d7ac20 7070206425206d61 696146000a64253a am %d pp:%d..Fai
0000007ad4d7ac30 72206f742064656c 7461636f6c6c6165 led to reallocat
0000007ad4d7ac40 2065626f72702065 6620726566667562 e probe buffer f
0000007ad4d7ac50 616572747320726f 6f6e000a6425206d or stream %d..no
0000007ad4d7ac60 6f7420676e696874 662065626f727020 thing to probe f
0000007ad4d7ac70 616572747320726f 7250000a6425206d or stream %d..Pr
0000007ad4d7ac80 687469772065626f 64253d657a697320 obe with size=%d
0000007ad4d7ac90 74656b636170202c 7465642064253d73 , packets=%d det
0000007ad4d7aca0 7325206465746365 6373206874697720 ected %s with sc
0000007ad4d7acb0 000a64253d65726f 73206465626f7270 ore=%d..probed s

memory near x26:
0000007ad4d7a930 0804000e0f000000 ff73000500020000 ..............s.
0000007ad4d7a940 0009ff73ff730007 76206765706d4646 ..s.s...FFmpeg v
0000007ad4d7a950 6e206e6f69737265 672d38322d342e34 ersion n4.4-28-g
0000007ad4d7a960 3333346566653730 0000000000633937 07efe43379c.....
0000007ad4d7a970 6172665f64616572 7265746e695f656d read_frame_inter
0000007ad4d7a980 00000000006c616e 3736353433323130 nal.....01234567
0000007ad4d7a990 6665646362613938 3736353433323130 89abcdef01234567
0000007ad4d7a9a0 4645444342413938 28106e6701000000 89ABCDEF....gn.(
0000007ad4d7a9b0 18710c333220d4a6 8c38861919106288 .. 23.q..b....8.
0000007ad4d7a9c0 376f4e5602213044 de7cf36b81bff9cd D0!.VNo7....k.|.
0000007ad4d7a9d0 7e22a0053cd36c6e 048c13000c00fc5f nl.<.."_.......
0000007ad4d7a9e0 0001000300000504 0000008432000300 ...........2....
0000007ad4d7a9f0 1231ee6801000000 0000000000000011 ....h.1.........
0000007ad4d7aa00 29107a6701000000 63c619332220d4b6 ....gz.).. "3..c
0000007ad4d7aa10 1933ce9811012123 7e7d3db956022118 #!....3..!.V.=}
0000007ad4d7aa20 b8089ef1113fe34f e2270278c043548c O.?......TC.x.'.

memory near x27:
000000000000c350 ---------------- ---------------- ................

memory near x28:
000000000000c350 ---------------- ---------------- ................

memory near x29:
0000007ad3389af0 0000007ad3389b30 0000007ad455d6cc 0.8.z.....U.z...
0000007ad3389b00 0000007ad310e000 0000007ad300d000 ....z.......z...
0000007ad3389b10 0000007a88c82478 0000007a88c82300 x$..z....#..z...
0000007ad3389b20 0000007a88c82310 0000007a96d86280 .#..z....b..z...
0000007ad3389b30 0000007ad3389ce0 0000007b23cabe10 ..8.z......#{...
0000007ad3389b40 0000007ad300d008 0000007ad300d020 ....z... ...z...
0000007ad3389b50 0000007ad3389d50 00004d4500004d45 P.8.z...EM..EM..
0000007ad3389b60 0000007ad3389dd8 0000007ad3389d50 ..8.z...P.8.z...
0000007ad3389b70 0000007ad3389d50 0000007ad338a020 P.8.z... .8.z...
0000007ad3389b80 0000007bb917d020 0000000000000001 ...{...........
0000007ad3389b90 7ff8000000000000 3eb0c6f7a0b5ed8d ...............>
0000007ad3389ba0 3ff0000000000000 0000000000000000 .......?........
0000007ad3389bb0 0000000000000000 0000000000000000 ................
0000007ad3389bc0 0000000000000000 0000000000000000 ................
0000007ad3389bd0 0000007bb917d020 0000000000000001 ...{...........
0000007ad3389be0 0000007b23cabdf8 0000000000000000 ...#{...........

code around pc:
0000007ad461b8e8 7100103f1400000a b940b80154000081 ....?..q...T..@.
0000007ad461b8f8 14000005321f0021 540000817100143f !..2....?..q...T
0000007ad461b908 32140021b940b801 f9408a80b900b801 ..@.!..2......@.
0000007ad461b918 aa1a03e190003b05 528000435280cde2 .;.........RC..R
0000007ad461b928 f9400406d2800004 aa1903e0913848a5 ......@..H8.....
0000007ad461b938 94110d46f94000c6 34000060b9410e80 ..@.F.....A...4 0000007ad461b948 b50003a0f9408a80 aa1503e0d2f00004 ..@............. 0000007ad461b958 d2800002aa1403e1 aa0403e5aa1303e3 ................ 0000007ad461b968 97fff3ac5280003b b9401000f94006a0 ;..R......@...@. 0000007ad461b978 b9402a60364005a0 f9400a6136000560 ..@6@.`..6a.@.
0000007ad461b988 eb00003fd2f00000 b9400281540004e0 ....?......T..@.
0000007ad461b998 97fff754aa1503e0 aa1403e0f9402661 ....T...a&@.....
0000007ad461b9a8 52800003f9400a62 2a1b03e552800004 [email protected]...
0000007ad461b9b8 1400001c97fff81d 7100bc1fb9403e80 .........>@....q
0000007ad461b9c8 b9402662540002cc aa1303e1aa1503e0 ...Tb&@.........
0000007ad461b9d8 97fff60052800003 37f81ad62a0003f6 ...R.......*...7

code around lr:
0000007ad461b888 f9406a8014000004 b9400400d2800001 .....j@.......@.
0000007ad461b898 f9008a8094061161 b5000180f9408a80 a.........@.....
0000007ad461b8a8 b9400400f9406a80 aa0003e39407c741 .j@[email protected].......
0000007ad461b8b8 aa1503e090003b02 9137444252800501 .;.........RBD7.
0000007ad461b8c8 b9010e9f94110c7b b9410e8114000011 {.............A.
0000007ad461b8d8 540000817100083f 32000021b940b801 ?..q...T..@.!..2
0000007ad461b8e8 7100103f1400000a b940b80154000081 ....?..q...T..@.
0000007ad461b8f8 14000005321f0021 540000817100143f !..2....?..q...T
0000007ad461b908 32140021b940b801 f9408a80b900b801 ..@.!..2......@.
0000007ad461b918 aa1a03e190003b05 528000435280cde2 .;.........RC..R
0000007ad461b928 f9400406d2800004 aa1903e0913848a5 [email protected].....
0000007ad461b938 94110d46f94000c6 34000060b9410e80 [email protected] 0000007ad461b948 b50003a0f9408a80 aa1503e0d2f00004 ..@............. 0000007ad461b958 d2800002aa1403e1 aa0403e5aa1303e3 ................ 0000007ad461b968 97fff3ac5280003b b9401000f94006a0 ;..R......@...@. 0000007ad461b978 b9402a60364005a0 f9400a6136000560 ..@6*@.`..6a.@.

stack:
0000007ad3389660: 0000000000000000 0000000000000000
0000007ad3389670: 0000000000000800 0000000000000000
0000007ad3389680: 0000000000000000 0000000000000000
0000007ad3389690: 4000000000000000 0000000000000000
0000007ad33896a0: 8020080280200802 8020080280200802
0000007ad33896b0: 0000007ad480d5c8 0000007ad4dabb7b
0000007ad33896c0: 0000007ad46a8620 0000000000000080
0000007ad33896d0: 085d505a722b7a00 000000000003767c
0000007ad33896e0: 0000000000000000 0000007a88d3bbe0 #sp
0000007ad33896f0: 000000000000c350 0000000000000000
0000007ad3389700: 0000000000000002 0000000000000000
0000007ad3389710: 0000000000000000 0000000000000014
0000007ad3389720: 0000007a88f0f000 0000007a88f0f4c8
0000007ad3389730: 000000000000c350 000000000000c350
0000007ad3389740: 0000007ad461f4b8 0000007b33819760
0000007ad3389750: 0000007b18825200 0000007bb542e290
0000007ad3389760: 0000007ad338a020 0000000000000000
0000007ad3389770: 0000007a88f23d80 0000007a88e84090
0000007ad3389780: 0000007ad33897f0 0000007bb53ad3cc
0000007ad3389790: 00000000000000f0 0000007b33819760
0000007ad33897a0: 0000000c0000003c 000000010000000f
0000007ad33897b0: 0000000000000000 2bc1bffb4f837b46
0000007ad33897c0: 0000007a96dc3b80 0000000000000010
0000007ad33897d0: 0000000000000010 0000007a88c84600
0000007ad33897e0: 0000007b33819760 0000007ad3389818
0000007ad33897f0: 0000007ad3389b30 0000007ad4a5356c
0000007ad3389800: 0000007b33819760 0000007ad465e954
0000007ad3389810: 0000007ad465e94c 0000000000000000
0000007ad3389820: 0000007ad461f220 0000007ad461fb78
0000007ad3389830: 0000007ad310e000 0000007ad300d000
0000007ad3389840: 0000007a88c82478 0000007a88c82300
0000007ad3389850: 0000007a88c82310 0000000000000000
0000007ad3389860: 0000000000000002 0000000000000001
0000007ad3389870: 0000007bb917d020 0000000000000001
0000007ad3389880: 0000007ad455d748 7ff8000000000000
0000007ad3389890: 3eb0c6f7a0b5ed8d 3ff0000000000000
0000007ad33898a0: 0000000000000000 0000000000000000
0000007ad33898b0: 0000000000000000 2bc1bffb4f837b46
0000007ad33898c0: 0000007b3382cfa0 0000007b33819760
0000007ad33898d0: 00000000004c4b40 00000011339421b0
0000007ad33898e0: 0000000000000010 0000007a88f23d80
0000007ad33898f0: 0000000000000020 0000007a89296820
0000007ad3389900: 0000007a88f23d88 0000000000000020
0000007ad3389910: 0000007ad33899a0 000f424000000001
0000007ad3389920: 0000007b33a00b68 0000000000006b2a
0000007ad3389930: 0000007a00000000 2bc1bffb4f837b46
0000007ad3389940: 0000000000000000 0000000100000002
0000007ad3389950: 0000000000000a9c 0000007ad4d7c442
0000007ad3389960: 0000007ad4d7c3f1 0000007ad4d7adbf
0000007ad3389970: 0000007a88c83c00 0000007a96dc3400
0000007ad3389980: 0000000000000028 0000000000000000
0000007ad3389990: 0000007a89296820 0000000000000020
0000007ad33899a0: 0000007ad33899c0 0000007bb5390504
0000007ad33899b0: 0000000000000000 0000007a89296820
0000007ad33899c0: 0000007ad3389a50 0000007ad4a60630
0000007ad33899d0: 0000007a89296bf0 0000007ad4a555f8
0000007ad33899e0: 0000007ad3389a50 0000000000000020
0000007ad33899f0: 0000007aac701ab0 0000007ad4fa3898
0000007ad3389a00: 0000000000000012 0000007a88f0f000
0000007ad3389a10: 0000007b339421b0 0000007b18825200
0000007ad3389a20: 0000007b339421b0 0000007ad5199f20
0000007ad3389a30: 0000000000000000 0000007ad4550ee4
0000007ad3389a40: 0000007a89296830 0000007b3382b468
0000007ad3389a50: 0000007ad3389af0 0000007ad45510a8
0000007ad3389a60: 0000000000000008 0000007a88f0f000
0000007ad3389a70: 0000000000000002 0000007b3382cfa0
0000007ad3389a80: 0000007b339421b0 0000000000000000
0000007ad3389a90: 0000007ad4d54000 0000000000000001
0000007ad3389aa0: 0000007bb917d020 0000000000000001
0000007ad3389ab0: 00000076d310e000 0000007ad4d53ae8
0000007ad3389ac0: 0000007ad3389ad8 0000007ad3389ae0
0000007ad3389ad0: 0000007ad310e000 0000007a89296bf0
0000007ad3389ae0: 0000007ad5112f00 2bc1bffb4f837b46
0000007ad3389af0: 0000007ad3389b30 0000007ad455d6cc
0000007ad3389b00: 0000007ad310e000 0000007ad300d000
0000007ad3389b10: 0000007a88c82478 0000007a88c82300
0000007ad3389b20: 0000007a88c82310 0000007a96d86280
0000007ad3389b30: 0000007ad3389ce0 0000007b23cabe10
0000007ad3389b40: 0000007ad300d008 0000007ad300d020
0000007ad3389b50: 0000007ad3389d50 00004d4500004d45
0000007ad3389b60: 0000007ad3389dd8 0000007ad3389d50
0000007ad3389b70: 0000007ad3389d50 0000007ad338a020
0000007ad3389b80: 0000007bb917d020 0000000000000001
0000007ad3389b90: 7ff8000000000000 3eb0c6f7a0b5ed8d
0000007ad3389ba0: 3ff0000000000000 0000000000000000
0000007ad3389bb0: 0000000000000000 0000000000000000
0000007ad3389bc0: 0000000000000000 0000000000000000
0000007ad3389bd0: 0000007bb917d020 0000000000000001
0000007ad3389be0: 0000007b23cabdf8 0000000000000000
0000007ad3389bf0: 0000007aac701fd0 0000002700000000
0000007ad3389c00: 0000007b23d4c610 0000007a88f0f000
0000007ad3389c10: ffffffffffffffff ffffffffffffffff
0000007ad3389c20: 0000007affffffff 0000007b3382cfa0
0000007ad3389c30: 0000007ad3389ce0 0000007ad3389ce0
0000007ad3389c40: 0000007ad3389cd0 ffffff80fffffff0
0000007ad3389c50: 0000007b00000000 0000007ad3291000
0000007ad3389c60: 0000000000000000 2bc1bffb4f837b46
0000007ad3389c70: 00000000000f8d50 0000000000001000
0000007ad3389c80: 0000000000000197 0000000000000000
0000007ad3389c90: 0000000000000000 0000000000000000
0000007ad3389ca0: 0000000000000000 0000007ad3389dd8
0000007ad3389cb0: 00004d4500004d45 0000007ad3389d50
0000007ad3389cc0: 0000007ad300d020 0000007ad300d008
0000007ad3389cd0: 0000007ad3389ce0 2bc1bffb4f837b46
0000007ad3389ce0: 0000007ad3389d10 0000007bb54206f4
0000007ad3389cf0: 0000007ad3389d50 0000007bb54206cc
0000007ad3389d00: 0000007ad3389d50 0000000000000000
0000007ad3389d10: 0000007ad3389d40 0000007bb53c30ec
0000007ad3389d20: 0000007bba5510d0 0000000000000000
0000007ad3389d30: 0000007bb917d020 0000007bba551388
0000007ad3389d40: 0000000000000000 0000000000000000
0000007ad3389d50: 0000007b23112d50 0000000000000000
0000007ad3389d60: 00004d4500004e88 0000007b00000000
0000007ad3389d70: 0000007ad3291000 00000000000f8d50
0000007ad3389d80: 0000000000001000 0000000000000000
0000007ad3389d90: 2bc1bffb4f837b46 0000007ad310ed28
0000007ad3389da0: 0000000000000000 0000000000000000
0000007ad3389db0: 0000007b23cabdb0 0000007ad300d008
0000007ad3389dc0: 0000000000000000 0000007bb6a32000
0000007ad3389dd0: 0000007a6e0b0000 0000000000000001
0000007ad3389de0: 0000007ad3291000 00000000000fd000
0000007ad3389df0: 0000000000000000 0000000000000000
0000007ad3389e00: 0000000000000000 0000000000000000
0000007ad3389e10: 0000000000000000 0000000000000000
0000007ad3389e20: 0000000000000000 0000000000000000
0000007ad3389e30: 0000000000000000 0000000000000000
0000007ad3389e40: 0000000000000000 0000000000000000
0000007ad3389e50: 0000000000000000 0000000000000000
0000007ad3389e60: 0000000000000000 0000000000000000
0000007ad3389e70: 0000000000000000 0000000000000000
0000007ad3389e80: 0000000000000000 0000000000000000
0000007ad3389e90: 0000000000000000 0000000000000000
0000007ad3389ea0: 0000000000000000 0000000000000000
0000007ad3389eb0: 0000000000000000 0000000000000000
0000007ad3389ec0: 0000000000000000 0000000000000000
0000007ad3389ed0: 0000000000000000 0000000000000000
0000007ad3389ee0: 0000000000000000 0000000000000000
0000007ad3389ef0: 0000000000000000 0000000000000000
0000007ad3389f00: 0000000000000000 0000000000000000
0000007ad3389f10: 0000000000000000 0000000000000000
0000007ad3389f20: 0000000000000000 0000000000000000
0000007ad3389f30: 0000000000000000 0000000000000000
0000007ad3389f40: 0000000000000000 0000000000000000
0000007ad3389f50: 0000000000000000 0000000000000000
0000007ad3389f60: 0000000000000000 0000000000000000	  |
@zhouwg
Copy link
Owner

zhouwg commented Jun 24, 2021

good issue description according to #1

@zhouwg
Copy link
Owner

zhouwg commented Jun 24, 2021

http playback with this wmv file is ok

@wenwenwenzq
Copy link
Author

I compiled the so and put it in my app for local playback. The result crashed back and the Android studio showed a jni error. I was also very confused.

@wenwenwenzq
Copy link
Author

@zhouwg I changed to the so of ijk I used before and found that it can be played normally

@zhouwg
Copy link
Owner

zhouwg commented Jun 24, 2021

543885439

pls refer to b1a7918

it's a bug in original ijkplayer

@zhouwg
Copy link
Owner

zhouwg commented Jun 24, 2021

@zhouwg I changed to the so of ijk I used before and found that it can be played normally

some ijkplayer-based "open source" project only contains Java codes or wrappered Java libraries or binary FFmpeg-relative libraries.

project kantv contains all source code of native&java layer( except source code of libdrmclient.so, because it contains proprietary IPR) and validated and detailed build script, that's mean you could built FFmpeg / ibijksdl.so /libijkplayer.so from project kantv's source code by README.md in this project.

anything I modified in FFmpeg-4.4 also could be found in completed open source project FFmpeg because I don't need to make money(via QQ group/Wechat group/......) from these so-called "open source" project, just for giving back to the Linux&Android open source community --- I got too much from open source community years before

essential sanity check and unit-test passed before submit the source code to Github.

@zhouwg
Copy link
Owner

zhouwg commented Jun 24, 2021

I compiled the so and put it in my app for local playback. The result crashed back and the Android studio showed a jni error. I was also very confused.

all source code of c&java could be found in project kantv(except libdrmclient.so), and this issue couldn't be reproduced in my Android phone, but I found another serious bug in original ijkplayer during troubleshooting your issue.

@wenwenwenzq
Copy link
Author

Yes, I did not change the three previous so, I copied a new ijkffmpeg.so and put it into my app and found that the wmv video can be played normally

@zhouwg
Copy link
Owner

zhouwg commented Jun 24, 2021

Yes, I did not change the three previous so, I copied a new ijkffmpeg.so and put it into my app and found that the wmv video can be played normally

libijkffmpeg.so not be used directly as normal in project kantv

https://github.com/zhouwg/kantv/blob/kantv/android/ijkplayer/ijkplayer-java/src/main/java/tv/danmaku/ijk/media/player/IjkMediaPlayer.java#L200

@wenwenwenzq
Copy link
Author

@zhouwg Thanks,This should be a bug in my app, but I just replaced ijk's so library successfully.

Then I also got this log to prove that it is indeed ffmpeg n4.4

logs:

 =========versions==========
ijkplayer :kantv-0.0.4-1-gcf66eda9
FFmpeg:n4.4-28-g07efe43379c
libavutil:56.70.100
libavcodec:58.134.100
libavformat:58.76.100
libswscale:5.9.100
libwresample:3.9.100

@zhouwg
Copy link
Owner

zhouwg commented Jun 24, 2021

@zhouwg Thanks,This should be a bug in my app, but I just replaced ijk's so library successfully.

Then I also got this log to prove that it is indeed ffmpeg n4.4

logs:

 =========versions==========
ijkplayer :kantv-0.0.4-1-gcf66eda9
FFmpeg:n4.4-28-g07efe43379c
libavutil:56.70.100
libavcodec:58.134.100
libavformat:58.76.100
libswscale:5.9.100
libwresample:3.9.100

I can't reproduce this issue in my Android phone although I found another serious bug in original ijkplayer during troubleshooting your issue.

1303211338

maybe you could built the entire source code of kantv in a stand-alone dev-env and then validate this issue again, it might be a AOSP image / device dependent problem if the issue still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request playback
Projects
None yet
Development

No branches or pull requests

2 participants