Javernaut / ffmpeg-android-maker

Contains a script that assembles FFmpeg library for Android
MIT License
601 stars 176 forks source link

Problem with building external gnutls library #58

Open ZygusPatryk opened 2 years ago

ZygusPatryk commented 2 years ago

Hi, I am having problems with adding --enable-gnutls to the build. I cannot reconcile dependencies and have installed GnuTls subdependency Libnettle. Have any one succeeded in adding GnuTLS support to the ffmpeg?

Regards Patryk

Javernaut commented 2 years ago

Hello.

Will try to look into this thing. Don't have the ETA though.

Could you please share the scripts you use for the gnutls compilation. It would be better to see them as a part of the fork of this repo.

ZygusPatryk commented 2 years ago

Hi, thanks for your response. Please take a look at the following fork: https://github.com/move2edge/ffmpeg-android-maker/tree/feature/gnutls branch feature/gnutls.

I have added custom Dockerfile and scripts for building custom image build_docker_image.sh and running custom image compile_in_docker.sh.

bugparty commented 2 years ago

I had worked out mbedtls, I will make an pull request soon

gebonillacali commented 1 year ago

Hi All,

First of all thank @Javernaut for bringing this useful tool, I was able to make my builds successfully, and I've implemented a test I am doing using ffmpeg and the audio goes great. But when I tried using a file from a remote source (any link of audio in web), I've got an error from library which is https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.. Then I saw this issue and I've tried then @bugparty solution by adding the -mbedtls to generate the libs again, however I still receive the same issue. Then I've tried with the @ZygusPatryk branch, but that one is bringing a lot of error when running the this project to generate the build libs. Am I missing something?, I am probably not experience on this building stuff things, so a little of guidence could be great for me at this point. Thanks in advance and great work you've done so far.

gebonillacali commented 1 year ago

Hi All,

First of all thank @Javernaut for bringing this useful tool, I was able to make my builds successfully, and I've implemented a test I am doing using ffmpeg and the audio goes great. But when I tried using a file from a remote source (any link of audio in web), I've got an error from library which is https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.. Then I saw this issue and I've tried then @bugparty solution by adding the -mbedtls to generate the libs again, however I still receive the same issue. Then I've tried with the @ZygusPatryk branch, but that one is bringing a lot of error when running the this project to generate the build libs. Am I missing something?, I am probably not experience on this building stuff things, so a little of guidence could be great for me at this point. Thanks in advance and great work you've done so far.

Nevermind at the end I missed pulling the latest of this repository, now it is working great, thanks a lot. And dismiss my comment.