Skip to content

Commit b5cbcd3

Browse files
committed
default to n for non-free, not as useful much these days...
1 parent 07d86ae commit b5cbcd3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cross_compile_ffmpeg.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ EOL
150150
if [[ $disable_nonfree = "n" ]]; then
151151
non_free="y"
152152
else
153-
yes_no_sel "Would you like to include non-free (non GPL compatible) libraries, like [libfdk_aac -- note that the internal AAC encoder is ruled almost as high quality as fdk-aac these days]
153+
yes_no_sel "Would you like to include non-free (non GPL compatible) libraries, like [libfdk_aac,decklink -- note that the internal AAC encoder is ruled almost as high a quality as fdk-aac these days]
154154
The resultant binary may not be distributable, but can be useful for in-house use. Include these non-free license libraries [y/N]?" "n"
155155
non_free="$user_input" # save it away
156156
fi
@@ -1874,7 +1874,6 @@ build_ffmpeg_dependencies() {
18741874
build_libsndfile "install-libgsm" # Needs libogg >= 1.1.3 and libvorbis >= 1.2.3 for external support [disabled]. Uses dlfcn. 'build_libsndfile "install-libgsm"' to install the included LibGSM 6.10.
18751875
build_lame # Uses dlfcn.
18761876
build_twolame # Uses libsndfile >= 1.0.0 and dlfcn.
1877-
build_fdk-aac # Uses dlfcn.
18781877
build_libopencore # Uses dlfcn.
18791878
build_libilbc # Uses dlfcn.
18801879
build_libmodplug # Uses dlfcn.
@@ -1893,6 +1892,7 @@ build_ffmpeg_dependencies() {
18931892
build_libmysofa # Needed for FFmpeg's SOFAlizer filter (https://ffmpeg.org/ffmpeg-filters.html#sofalizer). Uses dlfcn.
18941893
build_libcaca # Uses zlib and dlfcn.
18951894
if [[ "$non_free" = "y" ]]; then
1895+
build_fdk-aac # Uses dlfcn.
18961896
build_libdecklink
18971897
fi
18981898
build_zvbi # Uses iconv, libpng and dlfcn.
@@ -1983,7 +1983,7 @@ if [[ `uname` =~ "5.1" ]]; then # Disable when WinXP is detected, or you'll get
19831983
else
19841984
build_intel_qsv=y
19851985
fi
1986-
#disable_nonfree=n # have no value by default to force user selection
1986+
disable_nonfree=y # comment out to force user y/n selection
19871987
original_cflags='-mtune=generic -O3' # high compatible by default, see #219, some other good options are listed below, or you could use -march=native to target your local box:
19881988
# if you specify a march it needs to first so x264's configure will use it :| [ is that still the case ?]
19891989

@@ -2012,7 +2012,7 @@ while true; do
20122012
--build-ffmpeg-shared=n (ffmpeg.exe (with libavformat-x.dll, etc., ffplay.exe, ffprobe.exe and dll-files)
20132013
--ffmpeg-git-checkout-version=[master] if you want to build a particular version of FFmpeg, ex: n3.1.1 or a specific git hash
20142014
--gcc-cpu-count=[number of cpu cores set it higher than 1 if you have multiple cores and > 1GB RAM, this speeds up initial cross compiler build. FFmpeg build uses number of cores no matter what]
2015-
--disable-nonfree=y (set to n to include nonfree like libfdk-aac)
2015+
--disable-nonfree=y (set to n to include nonfree like libfdk-aac,decklink)
20162016
--build-intel-qsv=y (set to y to include the [non windows xp compat.] qsv library and ffmpeg module. NB this not not hevc_qsv...
20172017
--sandbox-ok=n [skip sandbox prompt if y]
20182018
-d [meaning \"defaults\" skip all prompts, just build ffmpeg static with some reasonable defaults like no git updates]

0 commit comments

Comments
 (0)