-
Notifications
You must be signed in to change notification settings - Fork 20
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
Comments
good issue description according to #1 |
http playback with this wmv file is ok |
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. |
@zhouwg I changed to the so of ijk I used before and found that it can be played normally |
pls refer to b1a7918 it's a bug in original ijkplayer |
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. |
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. |
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 |
@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. 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. |
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:
The text was updated successfully, but these errors were encountered: