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-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2785,7 +2785,6 @@ if [ -z "$cpu_count" ]; then
2785
2785
cpu_count=1 # else default to just 1, instead of blank, which means infinite
2786
2786
fi
2787
2787
fi
2788
-
original_cpu_count=$cpu_count# save it away for some that revert it temporarily
2789
2788
2790
2789
set_box_memory_size_bytes
2791
2790
if [[ $box_memory_size_bytes-lt 600000000 ]];then
@@ -2851,7 +2850,8 @@ while true; do
2851
2850
--ffmpeg-source-dir=[default empty] specifiy the directory of ffmpeg source code. When specified, git will not be used.
2852
2851
--x265-git-checkout-version=[master] if you want to build a particular version of x265, ex: --x265-git-checkout-version=Release_3.2 or a specific git hash
2853
2852
--fdk-aac-git-checkout-version= if you want to build a particular version of fdk-aac, ex: --fdk-aac-git-checkout-version=v2.0.1 or another tag
2854
-
--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]
2853
+
--gcc-cpu-count=[cpu_cores_on_box if RAM > 1GB else 1] number of cpu cores this speeds up initial cross compiler build.
2854
+
--build-cpu-count=[cpu_cores_on_box] set to lower than your cpu cores if the background processes eating all your cpu bugs your desktop usage
2855
2855
--disable-nonfree=y (set to n to include nonfree like libfdk-aac,decklink)
2856
2856
--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...
0 commit comments