-
Notifications
You must be signed in to change notification settings - Fork 623
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
FFmpegKit failed to start on brand: OnePlus #392
Comments
See #292. |
Thanks for the quick answer, but I was not compiling ffmpeg-kit. My NDK is Library/Android/sdk/ndk/21.4.7075529. I'm having admittedly native parts in my app, but not related to ffmpeg-kit What would be your suggestion? I quickly returned to this implementation |
#292 affects |
Ah thanks. Got it |
OK, no crash, but pipes not working either. Running FFmpegKit.executeAsync on a separate thread. The pipe doesn't start, instead the session callback calls "apply" and terminates it. Same works good with older lib |
I have no idea what you mean by pipes not starting. See #215 if you need help please. I also suggest having a look at the Migration Guide we have for |
No, how could you? I was not specific enough: Well, this code works based on the "old" abandoned lib:
The FFMPEG pipe starts and I'm able to write to it from Android. This other way does not work yet, since the callback immediately fires after start. Same "ffmpegCommand".
I just replaced the pipeline generation and the start of the pipeline, but the callback is immediately called back and the pipeline doesn't start:
|
If |
Please go to the README we have for the Android and see the examples we have under the Android API section. Item 3 shows how to get the details of a session. Use API methods explained there to find at least the |
OK, this change showed me, that
Did that and found myself confronted with really a lot of "this and that library are already available...". After having added the the 10th lib to the "pickFirst" list, I generously decided to
That at least compiled. At runtime now this instruction, which formerly returned a valid pipe string, returns NULL
and the entire app crashed again with
|
You have a |
OK, I was wrong. Not 10, but 25 collisions. Even if I mention it explicitly - ffmpegPipe is null.
Wondering, why this didn't happen with
Never mind. Returning to this solution. That worked for me. Thanks |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
Hi, how did you fix this specific issue? I seem to have two libraries that are trying to produce .so files and pickfirst is not working. |
At least this is what I find in my build.gradle. Diving deeper into the code I see, that I don't use the crashing functions anymore. I'm doing it using FFmpeg.executeAsync. |
Description
First and only order:
Expected behavior
Should print the version
Current behavior
Crashed the app
To Reproduce
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Environment
Android
adb shell getprop ro.product.cpu.abi says: arm64-v8a
Other
Add any other context about the problem here.
I just included this dependency to my project:
implementation 'com.arthenica:ffmpeg-kit-full:4.5.1'
Need to say, that something similar already worked with your abandoned predecessor project.
The text was updated successfully, but these errors were encountered: