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

Tiny patch to add tensorflow support #151

Open
bigntallmike opened this issue Jul 26, 2022 · 0 comments
Open

Tiny patch to add tensorflow support #151

bigntallmike opened this issue Jul 26, 2022 · 0 comments

Comments

@bigntallmike
Copy link

If necessary, I can submit a pull request, it just feels excessive for this tiny offering.
Basically, I wanted tensorflow support, so I edited the build script and added it as a configure option as seen below, and it worked. ymmv.

diff --git a/build-ffmpeg b/build-ffmpeg
index 326145f..0c731d0 100755
--- a/build-ffmpeg
+++ b/build-ffmpeg
@@ -231,6 +231,7 @@ while (($# > 0)); do
     if [[ "$1" == "--enable-gpl-and-non-free" ]]; then
       CONFIGURE_OPTIONS+=("--enable-nonfree")
       CONFIGURE_OPTIONS+=("--enable-gpl")
+      CONFIGURE_OPTIONS+=("--enable-libtensorflow")
       NONFREE_AND_GPL=true
     fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant