You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cross_compile_ffmpeg.sh
+4-4
Original file line number
Diff line number
Diff line change
@@ -150,7 +150,7 @@ EOL
150
150
if [[ $disable_nonfree="n" ]];then
151
151
non_free="y"
152
152
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]
154
154
The resultant binary may not be distributable, but can be useful for in-house use. Include these non-free license libraries [y/N]?""n"
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.
1875
1875
build_lame # Uses dlfcn.
1876
1876
build_twolame # Uses libsndfile >= 1.0.0 and dlfcn.
build_libmysofa # Needed for FFmpeg's SOFAlizer filter (https://ffmpeg.org/ffmpeg-filters.html#sofalizer). Uses dlfcn.
1894
1893
build_libcaca # Uses zlib and dlfcn.
1895
1894
if [[ "$non_free"="y" ]];then
1895
+
build_fdk-aac # Uses dlfcn.
1896
1896
build_libdecklink
1897
1897
fi
1898
1898
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
1983
1983
else
1984
1984
build_intel_qsv=y
1985
1985
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
1987
1987
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:
1988
1988
# if you specify a march it needs to first so x264's configure will use it :| [ is that still the case ?]
1989
1989
@@ -2012,7 +2012,7 @@ while true; do
2012
2012
--build-ffmpeg-shared=n (ffmpeg.exe (with libavformat-x.dll, etc., ffplay.exe, ffprobe.exe and dll-files)
2013
2013
--ffmpeg-git-checkout-version=[master] if you want to build a particular version of FFmpeg, ex: n3.1.1 or a specific git hash
2014
2014
--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)
2016
2016
--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...
2017
2017
--sandbox-ok=n [skip sandbox prompt if y]
2018
2018
-d [meaning \"defaults\" skip all prompts, just build ffmpeg static with some reasonable defaults like no git updates]
0 commit comments