-
-
Notifications
You must be signed in to change notification settings - Fork 795
Can build a ffmpeg bin executable file for android? #30
Comments
Current versions do not produce |
If you make the following three changes in 1. Delete |
@suncj518 do you still need help about this? |
Thanks very much. I did not config a environment to build ffmpeg executable bin file. Would you please help generate ffmpeg executable file and upload it for download if possible? If is it not easy for you to upload ffmpeg bin executable file, just ignore my comment, thanks again. |
Hi, I just built Please let me know if they don't work for you. |
Thanks a lot. |
oh, yes, you are right, I found I can not access dropbox in my side. Could you please upload it in the same place as the .so files? |
Can you access this link ffmpeg binaries for arm-v7a & arm-v7a-neon? |
Yes, I can download now via this new link. Thanks. adb push ffmpeg /sdcard |
Supply the error message I found here. $ ./ffmpeg |
You are right, it fails with this message. Let me build it with |
The error still existed. Could you please compile the ffmpeg using flags below? LOCAL_CFLAGS += -pie -fPIE Thanks a lot! |
@tanersener Sorry, my fault, I did not copy new ffmpeg. after copied new ffmpeg, the error is below. $ ./ffmpeg After I copied the libcpufeatures.so, it is working now. $ ./ffmpeg Thanks very much for your time to help!!! |
Anytime mate 👍 |
@tanersener ,thank you, just ask a further question , it is working well in adb shell. library "libc++_shared.so" not found May I know whether can build the libcpufeatures.so and libc++_shared.so into one single ffmpeg ? I tried for many times, put the libcpufeatures.so and libc++_shared.so into libs/armeabi-v7a, ffmpeg in app can not find them yet. Thanks. |
Well, they are But the case here is that I don't know why you to want to use If you want to stick with |
@tanersener Thanks a lot for your detailed response. The project you recommended is slower than yours when converting mp4 to mp3. Anyway, let me try all these, thanks again. |
I'm closing this issue, you can create a new one if you need help. |
Hi @tanersener, would it be possible to add it to automatic building of releases? I would also like to use static binary instead of shared libs. |
Nope. It's a design decision. There are other projects that provide |
I know but they don't provide Android camera support. This is very specific to your project. |
Can't you try to build it yourself using instructions in this thread? Besides, why do you want to use |
Ok, I had to install android studio and ndk (few hours of work :( ), compiled binaries and here they are for anyone interested: https://blog.danman.eu/wp-content/uploads/2019/05/ffmpeg-android.tar.gz I don't want to build a standard app. I want to capture camera and stream from shell. |
Hi @tanersener |
Do you have some error message? |
No @danielkucera |
@sourabhgupta811 I can't test your file, I don't have an
|
Hi @tanersener |
Sorry, my mistake. You don't need to push x265.a and x264.a. I think it is libc++_shared.so which is causing the trouble. Let me test a few things on my local environment. |
Yes, this issue arise particularly when compiling with x265. |
|
Thanks @tanersener for this detailed response. |
|
Okay Thanks @tanersener . I'll try it. |
Why? I don't want to support |
Okay. Thanks for all the help. |
i get that as well, tho i also get an undefined |
Is it pissible to build a ffmpeg bin executable file for android?
The text was updated successfully, but these errors were encountered: